Add crowdin-cli config template (#827)

Add example crowdin Config

„crowdin.yml“ ändern

now able to upload new strings.xml file

add crowdin config (without API key)

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: 6543 <6543@noreply@gitea.io>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/827
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-Authored-By: 6543 <6543@noreply.codeberg.org>
Co-Committed-By: 6543 <6543@noreply.codeberg.org>
This commit is contained in:
6543 2021-02-12 10:30:02 +01:00 committed by M M Arif
parent fc49e29703
commit 44b8ad8d1c
2 changed files with 13 additions and 0 deletions

3
.gitignore vendored
View file

@ -195,3 +195,6 @@ crowdin.yml
!/gradle/wrapper/gradle-wrapper.jar
# End of https://www.gitignore.io/api/android,androidstudio
# Crowdin Config
crowdin.yml

10
crowdin.example.yml Normal file
View file

@ -0,0 +1,10 @@
"project_id": "375123"
"api_token": "-removed-"
"base_path" : ""
"preserve_hierarchy": false
files: [
{
"source" : "app/src/main/res/values/strings.xml",
"translation" : "app/src/main/res/values-%two_letters_code%/strings.xml",
}
]