mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-27 20:25:37 +01:00
Fix Crowdin Github Action (#2311)
This commit is contained in:
parent
a04a30f852
commit
949f1fc343
3 changed files with 8 additions and 0 deletions
1
.github/workflows/crowdin-download.yml
vendored
1
.github/workflows/crowdin-download.yml
vendored
|
@ -27,6 +27,7 @@ jobs:
|
||||||
- name: crowdin action
|
- name: crowdin action
|
||||||
uses: crowdin/github-action@v1
|
uses: crowdin/github-action@v1
|
||||||
with:
|
with:
|
||||||
|
config: crowdin-glitch.yml
|
||||||
upload_sources: false
|
upload_sources: false
|
||||||
upload_translations: false
|
upload_translations: false
|
||||||
download_translations: true
|
download_translations: true
|
||||||
|
|
1
.github/workflows/crowdin-upload.yml
vendored
1
.github/workflows/crowdin-upload.yml
vendored
|
@ -25,6 +25,7 @@ jobs:
|
||||||
- name: crowdin action
|
- name: crowdin action
|
||||||
uses: crowdin/github-action@v1
|
uses: crowdin/github-action@v1
|
||||||
with:
|
with:
|
||||||
|
config: crowdin-glitch.yml
|
||||||
upload_sources: true
|
upload_sources: true
|
||||||
upload_translations: false
|
upload_translations: false
|
||||||
download_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]'
|
commit_message: '[ci skip]'
|
||||||
|
preserve_hierarchy: true
|
||||||
files:
|
files:
|
||||||
- source: /app/javascript/flavours/glitch/locales/en.json
|
- source: /app/javascript/flavours/glitch/locales/en.json
|
||||||
translation: /app/javascript/flavours/glitch/locales/%two_letters_code%.json
|
translation: /app/javascript/flavours/glitch/locales/%two_letters_code%.json
|
||||||
|
|
Loading…
Reference in a new issue