From 130634d0adb8ebba95fc681b7a1de47bb838e248 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Wed, 19 Oct 2022 23:51:18 +0200 Subject: [PATCH] feat(crowdin): add arabic language to download workflow (#48127) Co-authored-by: Naomi Carrigan --- .../workflows/crowdin-download.client-ui.yml | 24 ++++++++++++++++++ .../workflows/crowdin-download.curriculum.yml | 25 +++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/.github/workflows/crowdin-download.client-ui.yml b/.github/workflows/crowdin-download.client-ui.yml index 8653b4f5500..6a03a3f108f 100644 --- a/.github/workflows/crowdin-download.client-ui.yml +++ b/.github/workflows/crowdin-download.client-ui.yml @@ -238,6 +238,30 @@ jobs: # Uncomment below to debug # dryrun_action: true + ##### Download Arabic ##### + - name: Crowdin Download Arabic 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: ar + 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 2c48b6c25c8..d44a55a0deb 100644 --- a/.github/workflows/crowdin-download.curriculum.yml +++ b/.github/workflows/crowdin-download.curriculum.yml @@ -249,6 +249,31 @@ jobs: # Uncomment below to debug # dryrun_action: true + ##### Download Arabic ##### + - name: Crowdin Download Arabic 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: ar + 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. #