Fix Crowdin Github Action (#2311)

local
Claire 10 months ago committed by GitHub
parent a04a30f852
commit 949f1fc343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .github/workflows/crowdin-download.yml
  2. 1
      .github/workflows/crowdin-upload.yml
  3. 6
      crowdin-glitch.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

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

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

Loading…
Cancel
Save