diff options
author | Allan Wang <me@allanwang.ca> | 2017-10-24 15:40:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-24 15:40:22 -0400 |
commit | 87c8c5394638b50e561a9ffd7165f40ef29d2302 (patch) | |
tree | 36ec0d44dfb38256fe0193a72bc321e72ca63dda /files | |
parent | 989b8c2c1e9d0b99e890625bbb1f7c9b86b374c2 (diff) | |
download | kau-87c8c5394638b50e561a9ffd7165f40ef29d2302.tar.gz kau-87c8c5394638b50e561a9ffd7165f40ef29d2302.tar.bz2 kau-87c8c5394638b50e561a9ffd7165f40ef29d2302.zip |
Add french translations (#94)
* Add french translations
* Add translatable tags to about
Diffstat (limited to 'files')
-rw-r--r-- | files/translation_migration.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/files/translation_migration.sh b/files/translation_migration.sh new file mode 100644 index 0000000..04f24c3 --- /dev/null +++ b/files/translation_migration.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash + +BASE_MODULE=kpref-activity +FOLDER=values-fr-rFR +OUTPUT=values-fr + +cd .. + +current=${PWD##*/} + +if [ "$current" != "KAU" ]; then + echo "Not in KAU"; + return; +fi + +mkdir -p about/src/main/res/${OUTPUT} +mv ${BASE_MODULE}/src/main/res/${FOLDER}/strings_about.xml about/src/main/res/${OUTPUT}/strings_about.xml + +mkdir -p colorpicker/src/main/res/${OUTPUT} +mv ${BASE_MODULE}/src/main/res/${FOLDER}/strings_colorpicker.xml colorpicker/src/main/res/${OUTPUT}/strings_colorpicker.xml + +mkdir -p core/src/main/res-public/${OUTPUT} +mv ${BASE_MODULE}/src/main/res/${FOLDER}/strings_commons.xml core/src/main/res-public/${OUTPUT}/strings_commons.xml + +mkdir -p mediapicker/src/main/res/${OUTPUT} +mv ${BASE_MODULE}/src/main/res/${FOLDER}/strings_mediapicker.xml mediapicker/src/main/res/${OUTPUT}/strings_mediapicker.xml
\ No newline at end of file |