Fix Crowdin Github Action (#2311)

This commit is contained in:
Claire 2023-07-19 08:36:25 +02:00 committed by GitHub
parent a04a30f852
commit 949f1fc343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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