diff options
author | Allan Wang <me@allanwang.ca> | 2017-11-13 05:33:29 -0500 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-11-13 06:16:24 -0500 |
commit | 06f57db1bdd2837b6e7bae86d287fe84f52107de (patch) | |
tree | 9ef5a8f435649b7731b3da4a207bd02d825462d3 | |
parent | 63d8779ad4fab7d2eb762be34eeca04c7debc6f3 (diff) | |
download | frost-06f57db1bdd2837b6e7bae86d287fe84f52107de.tar.gz frost-06f57db1bdd2837b6e7bae86d287fe84f52107de.tar.bz2 frost-06f57db1bdd2837b6e7bae86d287fe84f52107de.zip |
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
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | crowdin.yaml | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 9a3d38de..7b2d4549 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" diff --git a/crowdin.yaml b/crowdin.yaml new file mode 100644 index 00000000..5053e211 --- /dev/null +++ b/crowdin.yaml @@ -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" + ] + } +]
\ No newline at end of file |