aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-11-13 14:43:56 -0500
committerGitHub <noreply@github.com>2017-11-13 14:43:56 -0500
commit7038128dd14ca6cdde6f2fa84f34f75b3e457202 (patch)
tree147243b6b599290dc8af70b2c4e6ba4deb3e9b62
parent1bc48a6b4b43833321eaeb544ce324cf8ffcefa6 (diff)
downloadkau-7038128dd14ca6cdde6f2fa84f34f75b3e457202.tar.gz
kau-7038128dd14ca6cdde6f2fa84f34f75b3e457202.tar.bz2
kau-7038128dd14ca6cdde6f2fa84f34f75b3e457202.zip
Feature/translation integration (#104)
* Update for crowdin * Remove typo
-rw-r--r--.travis.yml1
-rw-r--r--android-lib.gradle3
-rw-r--r--crowdin.yaml21
3 files changed, 24 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index b991811..e8303d1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,6 +25,7 @@ script:
branches:
except:
- gh-pages
+ - l10n_dev
notifications:
email: false
slack:
diff --git a/android-lib.gradle b/android-lib.gradle
index ea134e8..30dafbd 100644
--- a/android-lib.gradle
+++ b/android-lib.gradle
@@ -41,7 +41,8 @@ android {
'RtlSymmetry',
'RtlHardcoded',
'RtlEnabled',
- 'Overdraw'
+ 'Overdraw',
+ 'MissingTranslation'
xmlReport false
textReport true
diff --git a/crowdin.yaml b/crowdin.yaml
new file mode 100644
index 0000000..9d8a460
--- /dev/null
+++ b/crowdin.yaml
@@ -0,0 +1,21 @@
+"project_identifier": "kotlin-android-utils"
+"base_path": "/"
+
+"files": [
+ {
+ "source" : "/about/src/main/res/values/strings_about.xml",
+ "translation" : "/about/src/main/res/values-%android_code%/strings_about.xml"
+ },
+ {
+ "source" : "/colorpicker/src/main/res/values/strings_colorpicker.xml",
+ "translation" : "/colorpicker/src/main/res/values-%android_code%/strings_colorpicker.xml"
+ },
+ {
+ "source" : "/core/src/main/res-public/values/strings_commons.xml",
+ "translation" : "/core/src/main/res-public/values-%android_code%/strings_commons.xml"
+ },
+ {
+ "source" : "/mediapicker/src/main/res/values/strings_mediapicker.xml",
+ "translation" : "/mediapicker/src/main/res/values-%android_code%/strings_mediapicker.xml"
+ }
+] \ No newline at end of file