1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-09-19 15:11:42 +02:00

Add crowdin yaml

Remove fake api key

Use android language code

Ignore translation branch

Disable publishing on translation branch

Move path to file

Revert

Add strings xml

Add comma
This commit is contained in:
Allan Wang 2017-11-13 05:33:29 -05:00
parent 63d8779ad4
commit 06f57db1bd
2 changed files with 17 additions and 1 deletions

View File

@ -13,7 +13,7 @@ android:
licenses:
- ".+"
after_success:
- chmod +x ./generate-apk-release.sh; ./generate-apk-release.sh
- if [ "$TRAVIS_BRANCH" != "l10n_dev" ]; then chmod +x ./generate-apk-release.sh; ./generate-apk-release.sh; fi
script:
- cd $TRAVIS_BUILD_DIR/
- printf "Starting script\n"

16
crowdin.yaml Normal file
View File

@ -0,0 +1,16 @@
"project_identifier": "frost-for-facebook"
"base_path": "/app/src/main/res"
"files": [
{
"source" : "/values/strings.xml",
"translation" : "/values-%android_code%/%original_file_name%"
},
{
"source" : "/values/strings_*.xml",
"translation" : "/values-%android_code%/%original_file_name%",
"ignore" : [
"/values/strings_no_translate.xml"
]
}
]