mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-21 14:23:04 +00:00
Fix Crowdin Github Action (#2311)
This commit is contained in:
parent
a04a30f852
commit
949f1fc343
1
.github/workflows/crowdin-download.yml
vendored
1
.github/workflows/crowdin-download.yml
vendored
|
@ -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
|
||||
|
|
1
.github/workflows/crowdin-upload.yml
vendored
1
.github/workflows/crowdin-upload.yml
vendored
|
@ -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…
Reference in a new issue