From 828bdb17716cffc77754f52e629c5f8e2bb1734c Mon Sep 17 00:00:00 2001 From: Hillary Nyakundi <63947040+larymak@users.noreply.github.com> Date: Tue, 13 Jun 2023 10:36:06 +0300 Subject: [PATCH] feat: swahili workflow update (#50677) --- .../workflows/crowdin-download.client-ui.yml | 29 ++++++++++++++++++ .../workflows/crowdin-download.curriculum.yml | 30 +++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/.github/workflows/crowdin-download.client-ui.yml b/.github/workflows/crowdin-download.client-ui.yml index 33208311afa..f2976e8a5d1 100644 --- a/.github/workflows/crowdin-download.client-ui.yml +++ b/.github/workflows/crowdin-download.client-ui.yml @@ -262,6 +262,35 @@ jobs: # Uncomment below to debug # dryrun_action: true + ##### Download Swahili ##### + - name: Crowdin Download Swahili Translations + uses: crowdin/github-action@master + # options: https://github.com/crowdin/github-action/blob/master/action.yml + with: + # uploads + upload_sources: false + upload_translations: false + auto_approve_imported: false + import_eq_suggestions: false + + # downloads + download_translations: true + download_language: sw + skip_untranslated_files: false + export_only_approved: true + + push_translations: false + + # pull-request + create_pull_request: false + + # global options + config: './crowdin-config.yml' + base_url: ${{ secrets.CROWDIN_BASE_URL_FCC }} + + # Uncomment below to debug + # dryrun_action: true + ###### Format JSON ##### # Crowdin gives the files read-only permissions, so we first have to allow # writes. diff --git a/.github/workflows/crowdin-download.curriculum.yml b/.github/workflows/crowdin-download.curriculum.yml index 2e20b1a499d..a0ff9d6e9a1 100644 --- a/.github/workflows/crowdin-download.curriculum.yml +++ b/.github/workflows/crowdin-download.curriculum.yml @@ -274,6 +274,36 @@ jobs: # Uncomment below to debug # dryrun_action: true + ##### Download Swahili ##### + - name: Crowdin Download Swahili Translations + uses: crowdin/github-action@master + # options: https://github.com/crowdin/github-action/blob/master/action.yml + with: + # uploads + upload_sources: false + upload_translations: false + auto_approve_imported: false + import_eq_suggestions: false + + # downloads + download_translations: true + download_language: sw + skip_untranslated_strings: false + skip_untranslated_files: false + export_only_approved: true + + push_translations: false + + # pull-request + create_pull_request: false + + # global options + config: './crowdin-config.yml' + base_url: ${{ secrets.CROWDIN_BASE_URL_FCC }} + + # Uncomment below to debug + # dryrun_action: true + # Validate the Download # # All languages should go ABOVE this. # - name: Setup pnpm