Switched to Crowdin CLI

Because: https://github.com/crowdin/android-studio-plugin/issues/115
This commit is contained in:
M66B 2023-11-09 14:18:18 +01:00
parent fa1d021b21
commit b4731e4c2a
2 changed files with 19 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,7 +3,6 @@ tools/config.sh
local.properties
keystore.properties
crowdin.properties
crowdin.yml
.gradle
.idea/caches
.idea/dictionaries

19
crowdin.yml Normal file
View File

@ -0,0 +1,19 @@
#https://crowdin.github.io/crowdin-cli/installation#debian
#https://developer.crowdin.com/configuration-file/
#crowdin download --branch=master
"project_id_env": "CROWDIN_PROJECT_ID"
"api_token_env": "CROWDIN_PERSONAL_TOKEN"
"base_path": "/home/marcel/email"
"base_url": "https://api.crowdin.com"
files: [
{
"source": "/SETUP.md",
"translation": "/app/src/main/assets/SETUP-%android_code%.md",
},
{
"source": "/app/src/main/res/values/strings.xml",
"translation": "/app/src/main/res/values-%android_code%/%original_file_name%",
}
]