From 4e37571742da6a8ad087239fa5f7968a9e2fe465 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 2 Dec 2017 22:14:03 -0500 Subject: Translations (#109) * New translations strings_about.xml (Afrikaans) * New translations strings_mediapicker.xml (Norwegian) * New translations strings_mediapicker.xml (Portuguese, Brazilian) * New translations strings_commons.xml (Portuguese, Brazilian) * New translations strings_colorpicker.xml (Portuguese, Brazilian) * New translations strings_about.xml (Portuguese, Brazilian) * New translations strings_mediapicker.xml (Portuguese) * New translations strings_commons.xml (Portuguese) * New translations strings_colorpicker.xml (Portuguese) * New translations strings_about.xml (Portuguese) * New translations strings_mediapicker.xml (Polish) * New translations strings_commons.xml (Polish) * New translations strings_colorpicker.xml (Polish) * New translations strings_about.xml (Polish) * New translations strings_commons.xml (Norwegian) * New translations strings_colorpicker.xml (Romanian) * New translations strings_colorpicker.xml (Norwegian) * New translations strings_about.xml (Norwegian) * New translations strings_mediapicker.xml (Korean) * New translations strings_commons.xml (Korean) * New translations strings_colorpicker.xml (Korean) * New translations strings_about.xml (Korean) * New translations strings_mediapicker.xml (Japanese) * New translations strings_commons.xml (Japanese) * New translations strings_colorpicker.xml (Japanese) * New translations strings_about.xml (Japanese) * New translations strings_mediapicker.xml (Italian) * New translations strings_commons.xml (Italian) * New translations strings_colorpicker.xml (Italian) * New translations strings_about.xml (Romanian) * New translations strings_commons.xml (Romanian) * New translations strings_mediapicker.xml (Hungarian) * New translations strings_commons.xml (Swedish) * New translations strings_commons.xml (Vietnamese) * New translations strings_colorpicker.xml (Vietnamese) * New translations strings_about.xml (Vietnamese) * New translations strings_mediapicker.xml (Ukrainian) * New translations strings_commons.xml (Ukrainian) * New translations strings_colorpicker.xml (Ukrainian) * New translations strings_about.xml (Ukrainian) * New translations strings_mediapicker.xml (Turkish) * New translations strings_commons.xml (Turkish) * New translations strings_colorpicker.xml (Turkish) * New translations strings_about.xml (Turkish) * New translations strings_mediapicker.xml (Swedish) * New translations strings_colorpicker.xml (Swedish) * New translations strings_mediapicker.xml (Romanian) * New translations strings_about.xml (Swedish) * New translations strings_mediapicker.xml (Spanish) * New translations strings_commons.xml (Spanish) * New translations strings_colorpicker.xml (Spanish) * New translations strings_about.xml (Spanish) * New translations strings_mediapicker.xml (Serbian (Cyrillic)) * New translations strings_commons.xml (Serbian (Cyrillic)) * New translations strings_colorpicker.xml (Serbian (Cyrillic)) * New translations strings_about.xml (Serbian (Cyrillic)) * New translations strings_mediapicker.xml (Russian) * New translations strings_commons.xml (Russian) * New translations strings_colorpicker.xml (Russian) * New translations strings_about.xml (Russian) * New translations strings_about.xml (Italian) * New translations strings_commons.xml (Hungarian) * New translations strings_colorpicker.xml (Afrikaans) * New translations strings_about.xml (Chinese Traditional) * New translations strings_about.xml (Dutch) * New translations strings_mediapicker.xml (Danish) * New translations strings_commons.xml (Danish) * New translations strings_colorpicker.xml (Danish) * New translations strings_about.xml (Danish) * New translations strings_mediapicker.xml (Czech) * New translations strings_commons.xml (Czech) * New translations strings_colorpicker.xml (Czech) * New translations strings_about.xml (Czech) * New translations strings_mediapicker.xml (Chinese Traditional) * New translations strings_commons.xml (Chinese Traditional) * New translations strings_colorpicker.xml (Chinese Traditional) * New translations strings_mediapicker.xml (Chinese Simplified) * New translations strings_commons.xml (Dutch) * New translations strings_commons.xml (Chinese Simplified) * New translations strings_colorpicker.xml (Chinese Simplified) * New translations strings_about.xml (Chinese Simplified) * New translations strings_mediapicker.xml (Catalan) * New translations strings_commons.xml (Catalan) * New translations strings_colorpicker.xml (Catalan) * New translations strings_about.xml (Catalan) * New translations strings_mediapicker.xml (Arabic) * New translations strings_commons.xml (Arabic) * New translations strings_colorpicker.xml (Arabic) * New translations strings_about.xml (Arabic) * New translations strings_mediapicker.xml (Afrikaans) * New translations strings_commons.xml (Afrikaans) * New translations strings_colorpicker.xml (Dutch) * New translations strings_mediapicker.xml (Dutch) * New translations strings_colorpicker.xml (Hungarian) * New translations strings_mediapicker.xml (Galician) * New translations strings_about.xml (Hungarian) * New translations strings_mediapicker.xml (Hebrew) * New translations strings_commons.xml (Hebrew) * New translations strings_colorpicker.xml (Hebrew) * New translations strings_about.xml (Hebrew) * New translations strings_mediapicker.xml (Greek) * New translations strings_commons.xml (Greek) * New translations strings_colorpicker.xml (Greek) * New translations strings_about.xml (Greek) * New translations strings_mediapicker.xml (German) * New translations strings_commons.xml (German) * New translations strings_colorpicker.xml (German) * New translations strings_about.xml (German) * New translations strings_commons.xml (Galician) * New translations strings_about.xml (English) * New translations strings_colorpicker.xml (Galician) * New translations strings_about.xml (Galician) * New translations strings_mediapicker.xml (French) * New translations strings_commons.xml (French) * New translations strings_colorpicker.xml (French) * New translations strings_about.xml (French) * New translations strings_mediapicker.xml (Finnish) * New translations strings_commons.xml (Finnish) * New translations strings_colorpicker.xml (Finnish) * New translations strings_about.xml (Finnish) * New translations strings_mediapicker.xml (English) * New translations strings_commons.xml (English) * New translations strings_colorpicker.xml (English) * New translations strings_mediapicker.xml (Vietnamese) * New translations strings_mediapicker.xml (Chinese Simplified) * New translations strings_commons.xml (Dutch) * New translations strings_commons.xml (Chinese Simplified) * New translations strings_commons.xml (Portuguese, Brazilian) * New translations strings_colorpicker.xml (Portuguese, Brazilian) * New translations strings_about.xml (Portuguese, Brazilian) * New translations strings_mediapicker.xml (Chinese Simplified) * New translations strings_commons.xml (Dutch) * New translations strings_commons.xml (Chinese Simplified) * New translations strings_commons.xml (Portuguese, Brazilian) * New translations strings_mediapicker.xml (Portuguese, Brazilian) * Update gradle * New translations strings_commons.xml (Polish) * New translations strings_commons.xml (Japanese) * New translations strings_commons.xml (English) * New translations strings_commons.xml (Dutch) * New translations strings_commons.xml (Chinese Traditional) * New translations strings_mediapicker.xml (Japanese) * New translations strings_about.xml (Polish) * New translations strings_about.xml (Japanese) * New translations strings_about.xml (English) * New translations strings_about.xml (Dutch) * New translations strings_about.xml (Chinese Traditional) * New translations strings_colorpicker.xml (Polish) * New translations strings_colorpicker.xml (Japanese) * New translations strings_colorpicker.xml (English) * New translations strings_colorpicker.xml (Dutch) * New translations strings_colorpicker.xml (Chinese Traditional) * Remove unnecessary builds * Update readme, changelog, and travis * Update appcompat * Update readme --- files/translation_migration.sh | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'files') diff --git a/files/translation_migration.sh b/files/translation_migration.sh index cfdd470..0b26250 100644 --- a/files/translation_migration.sh +++ b/files/translation_migration.sh @@ -1,26 +1,20 @@ #!/usr/bin/env bash -BASE_MODULE=kpref-activity -FOLDER=values-de-rDE -OUTPUT=values-de +MODULE=KAU cd .. current=${PWD##*/} -if [ "$current" != "KAU" ]; then - echo "Not in KAU"; +if [ "$current" != "$MODULE" ]; then + echo "Not in $MODULE"; 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 +# DANGEROUS! Removes all files matching regex -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 +egrep -lir --include="*.xml" "" "./" | tr '\n' '\0' | xargs -0 -n1 rm -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 +# Delete empty directories -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 +find . -type d -empty -delete \ No newline at end of file -- cgit v1.2.3