Create crowdin.yml

This commit is contained in:
LoveSy 2022-03-08 10:54:31 +08:00 committed by GitHub
parent e3048988c5
commit f4071b8af1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

26
crowdin.yml Normal file
View File

@ -0,0 +1,26 @@
#
# Your Crowdin credentials
#
"project_id_env": "CROWDIN_PROJECT_ID"
"api_token_env": "CROWDIN_API_TOKEN"
"base_path": "."
"base_url": "https://lsposed.crowdin.com/api/v2"
"pull_request_title": "[translation] Update translation from Crowdin"
#
# Choose file structure in Crowdin
# e.g. true or false
#
"preserve_hierarchy": true
#
# Files configuration
#
files: [
{
"source": "/manager/src/main/res/values/strings.xml",
"translation": "/manager/src/main/res/values-%two_letters_code%/%original_file_name%",
"type": "android",
"dest": "/manager/strings.xml",
"skip_untranslated_strings": true
}
]