aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-11-13 05:33:29 -0500
committerAllan Wang <me@allanwang.ca>2017-11-13 06:16:24 -0500
commit06f57db1bdd2837b6e7bae86d287fe84f52107de (patch)
tree9ef5a8f435649b7731b3da4a207bd02d825462d3
parent63d8779ad4fab7d2eb762be34eeca04c7debc6f3 (diff)
downloadfrost-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.yml2
-rw-r--r--crowdin.yaml16
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