ci(crowdin): add config file, plural support

This commit is contained in:
Pun Butrach
2023-09-10 13:51:18 +07:00
parent 4fa78df4fd
commit 49a13ada59
2 changed files with 23 additions and 11 deletions

19
.github/crowdin.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
preserve_hierarchy: true
pull_request_title: 'chore(translation): sync translation with Crowdin'
commit_message: 'chore(translation): sync translation with Crowdin'
pull_request_labels: 'translation'
files: [
{
source: 'app/src/res/values/strings.xml',
translation: 'app/src/res/values-%android_code%/strings.xml'
}
{
source: 'app/src/res/values/plurals.xml',
translation: 'app/src/res/values-%android_code%/plurals.xml'
}
]