Update Crowdin configuration file
This commit is contained in:
parent
b03b5b969c
commit
3c0200cecc
48
crowdin.yml
48
crowdin.yml
|
|
@ -1,33 +1,15 @@
|
||||||
#
|
project_id_env: CROWDIN_PROJECT_ID
|
||||||
# Your Crowdin credentials
|
api_token_env: CROWDIN_API_TOKEN
|
||||||
#
|
base_path: .
|
||||||
"project_id_env": "CROWDIN_PROJECT_ID"
|
base_url: 'https://lsposed.crowdin.com/api/v2'
|
||||||
"api_token_env": "CROWDIN_API_TOKEN"
|
pull_request_title: '[translation] Update translation from Crowdin'
|
||||||
"base_path": "."
|
preserve_hierarchy: 1
|
||||||
"base_url": "https://lsposed.crowdin.com/api/v2"
|
files:
|
||||||
"pull_request_title": "[translation] Update translation from Crowdin"
|
- source: /app/src/main/res/values/strings.xml
|
||||||
#
|
translation: /app/src/main/res/values-%two_letters_code%/%original_file_name%
|
||||||
# Choose file structure in Crowdin
|
type: android
|
||||||
# e.g. true or false
|
dest: /app/strings.xml
|
||||||
#
|
- source: /daemon/src/main/res/values/strings.xml
|
||||||
"preserve_hierarchy": true
|
translation: /daemon/src/main/res/values-%two_letters_code%/%original_file_name%
|
||||||
|
type: android
|
||||||
#
|
dest: /daemon/strings.xml
|
||||||
# Files configuration
|
|
||||||
#
|
|
||||||
files: [
|
|
||||||
{
|
|
||||||
"source": "/app/src/main/res/values/strings.xml",
|
|
||||||
"translation": "/app/src/main/res/values-%two_letters_code%/%original_file_name%",
|
|
||||||
"type": "android",
|
|
||||||
"dest": "/app/strings.xml",
|
|
||||||
"skip_untranslated_strings": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"source": "/daemon/src/main/res/values/strings.xml",
|
|
||||||
"translation": "/daemon/src/main/res/values-%two_letters_code%/%original_file_name%",
|
|
||||||
"type": "android",
|
|
||||||
"dest": "/daemon/strings.xml",
|
|
||||||
"skip_untranslated_strings": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue