Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
GitHub (workflows): keep path on Crowdin source
Browse files Browse the repository at this point in the history
Change-Id: I83444f72e2d23fd877b508e0b9aed7b10f2c1b74
  • Loading branch information
andi34 committed Jan 26, 2022
1 parent 9e1a2fe commit ffb6e1d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
upload_translations: false
push_translations: false
download_translations: false
source: 'resources/lang/en.json'
translation: 'resources/lang/%two_letters_code%.json'
config: "crowdin/config.yml"
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
11 changes: 11 additions & 0 deletions crowdin/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN

"preserve_hierarchy": true

"files": [
{
"source": "resources/lang/en.json",
"translation": "resources/lang/%two_letters_code%.json"
}
]

0 comments on commit ffb6e1d

Please sign in to comment.