aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-05-01 13:14:53 -0700
committerGitHub <noreply@github.com>2019-05-01 13:14:53 -0700
commitd63fe715d8c9bebed4c0712b241978e342294048 (patch)
tree3626ba3c35d2e5d951c2055a73be6eb1264ef79c /files
parent0995a6780a77fea3eded0bcdcbbaea0062da17dc (diff)
downloadkau-d63fe715d8c9bebed4c0712b241978e342294048.tar.gz
kau-d63fe715d8c9bebed4c0712b241978e342294048.tar.bz2
kau-d63fe715d8c9bebed4c0712b241978e342294048.zip
Translations (#192)
* New translations strings_about.xml (Afrikaans) * New translations strings_commons.xml (Japanese) * New translations strings_commons.xml (Tagalog) * New translations strings_commons.xml (Russian) * New translations strings_commons.xml (Romanian) * New translations strings_mediapicker.xml (Afrikaans) * New translations strings_commons.xml (Hebrew) * New translations strings_commons.xml (Greek) * New translations strings_commons.xml (Finnish) * New translations strings_commons.xml (English) * New translations strings_commons.xml (Czech) * New translations strings_mediapicker.xml (Arabic) * New translations strings_commons.xml (Arabic) * New translations strings_mediapicker.xml (Japanese) * New translations strings_mediapicker.xml (Tagalog) * New translations strings_mediapicker.xml (Russian) * New translations strings_mediapicker.xml (Romanian) * New translations strings_mediapicker.xml (Catalan) * New translations strings_mediapicker.xml (Hebrew) * New translations strings_mediapicker.xml (Greek) * New translations strings_mediapicker.xml (Finnish) * New translations strings_mediapicker.xml (English) * New translations strings_mediapicker.xml (Czech) * New translations strings_commons.xml (Catalan) * New translations strings_commons.xml (Afrikaans) * New translations strings_about.xml (Arabic) * New translations strings_about.xml (Tagalog) * New translations strings_about.xml (Russian) * New translations strings_about.xml (Romanian) * New translations strings_about.xml (Japanese) * New translations strings_about.xml (Hebrew) * New translations strings_about.xml (Greek) * New translations strings_about.xml (Finnish) * New translations strings_about.xml (English) * New translations strings_about.xml (Czech) * Update translation script * New translations strings_about.xml (Catalan) * New translations strings_colorpicker.xml (Afrikaans) * New translations strings_colorpicker.xml (Japanese) * New translations strings_colorpicker.xml (Tagalog) * New translations strings_colorpicker.xml (Russian) * New translations strings_colorpicker.xml (Romanian) * New translations strings_colorpicker.xml (Arabic) * New translations strings_colorpicker.xml (English) * New translations strings_colorpicker.xml (Catalan) * New translations strings_colorpicker.xml (Czech) * New translations strings_colorpicker.xml (Finnish) * New translations strings_colorpicker.xml (Greek) * New translations strings_colorpicker.xml (Hebrew) * Delete extra files
Diffstat (limited to 'files')
-rw-r--r--files/translation_migration.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/translation_migration.sh b/files/translation_migration.sh
index 0def30f..aabd2f8 100644
--- a/files/translation_migration.sh
+++ b/files/translation_migration.sh
@@ -6,11 +6,11 @@ cd ..
current=${PWD##*/}
-if [ "$current" != "$MODULE" ]; then
+if [[ "$current" != "$MODULE" ]]; then
echo "Not in $MODULE";
else
# DANGEROUS! Removes all files matching regex
- egrep -lir --include="*.xml" "<resources.*></resources>" "./" | tr '\n' '\0' | xargs -0 -n1 rm
+ grep -Lir "</string>" --include="strings*.xml" "." | tr '\n' '\0' | xargs -0 -n1 rm
# Delete empty directories
find . -type d -empty -delete
fi