Update Crowdin configuration file

This commit is contained in:
XposedBot 2023-05-15 17:13:59 +08:00
parent b03b5b969c
commit 3c0200cecc
1 changed files with 15 additions and 33 deletions

View File

@ -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
}
]