Skip to content

Commit

Permalink
Update Crowdin configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
XposedBot committed May 15, 2023
1 parent b03b5b9 commit 3c0200c
Showing 1 changed file with 15 additions and 33 deletions.
48 changes: 15 additions & 33 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,15 @@
#
# 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": "/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
}
]
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'
preserve_hierarchy: 1
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
- 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

0 comments on commit 3c0200c

Please sign in to comment.