diff --git a/.github/workflows/crowdin-download.yml b/.github/workflows/crowdin-download.yml index f6b2579ce..de35c6f96 100644 --- a/.github/workflows/crowdin-download.yml +++ b/.github/workflows/crowdin-download.yml @@ -27,6 +27,7 @@ jobs: - name: crowdin action uses: crowdin/github-action@v1 with: + config: crowdin-glitch.yml upload_sources: false upload_translations: false download_translations: true diff --git a/.github/workflows/crowdin-upload.yml b/.github/workflows/crowdin-upload.yml index 8bc9f5193..f1b62d4da 100644 --- a/.github/workflows/crowdin-upload.yml +++ b/.github/workflows/crowdin-upload.yml @@ -25,6 +25,7 @@ jobs: - name: crowdin action uses: crowdin/github-action@v1 with: + config: crowdin-glitch.yml upload_sources: true upload_translations: false download_translations: false diff --git a/crowdin-glitch.yml b/crowdin-glitch.yml index 14b559c8f..7b150fffb 100644 --- a/crowdin-glitch.yml +++ b/crowdin-glitch.yml @@ -1,4 +1,10 @@ +# This is needed for the Github Action +project_id_env: CROWDIN_PROJECT_ID +api_token_env: CROWDIN_PERSONAL_TOKEN + +skip_untranslated_strings: 1 commit_message: '[ci skip]' +preserve_hierarchy: true files: - source: /app/javascript/flavours/glitch/locales/en.json translation: /app/javascript/flavours/glitch/locales/%two_letters_code%.json