aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-05-01 13:51:06 -0700
committerGitHub <noreply@github.com>2019-05-01 13:51:06 -0700
commited5eb076b07a5e85a744fdef34491a698d033048 (patch)
tree5ec2a1c9a8d4f140d3029ff8bed3ab864c836aa1 /files
parent58850fca392e458383d2546eeb83106bd54121e2 (diff)
downloadfrost-ed5eb076b07a5e85a744fdef34491a698d033048.tar.gz
frost-ed5eb076b07a5e85a744fdef34491a698d033048.tar.bz2
frost-ed5eb076b07a5e85a744fdef34491a698d033048.zip
Translations (#1415)
* New translations strings_pref_debug.xml (Japanese) * New translations strings_pref_behaviour.xml (Japanese) * New translations strings_pref_appearance.xml (Japanese) * New translations strings_play_store.xml (Japanese) * New translations strings_intro.xml (Japanese) * New translations strings_errors.xml (Japanese) * New translations strings_download.xml (Japanese) * New translations strings_intro.xml (Greek) * New translations strings_errors.xml (Greek) * New translations strings_download.xml (Greek) * New translations strings_pref_appearance.xml (Greek) * New translations strings_play_store.xml (Greek) * New translations strings_pref_behaviour.xml (Greek) * New translations strings_pref_debug.xml (Greek) * New translations strings_pref_debug.xml (Hebrew) * New translations strings_pref_behaviour.xml (Hebrew) * New translations strings_pref_appearance.xml (Hebrew) * New translations strings_play_store.xml (Hebrew) * New translations strings_intro.xml (Hebrew) * New translations strings_errors.xml (Hebrew) * New translations strings_download.xml (Hebrew) * New translations strings_pref_behaviour.xml (Spanish) * New translations strings_pref_debug.xml (Arabic) * New translations strings_pref_behaviour.xml (Arabic) * New translations strings_pref_appearance.xml (Arabic) * New translations strings_play_store.xml (Arabic) * New translations strings_intro.xml (Arabic) * New translations strings_errors.xml (Arabic) * New translations strings_pref_debug.xml (Afrikaans) * New translations strings_pref_behaviour.xml (Afrikaans) * New translations strings_pref_appearance.xml (Afrikaans) * New translations strings_play_store.xml (Afrikaans) * New translations strings_intro.xml (Afrikaans) * New translations strings_pref_debug.xml (Catalan) * New translations strings_pref_behaviour.xml (Catalan) * New translations strings_pref_appearance.xml (Catalan) * New translations strings_play_store.xml (Catalan) * New translations strings_intro.xml (Catalan) * New translations strings_errors.xml (Catalan) * New translations strings_download.xml (Catalan) * New translations strings_download.xml (Arabic) * New translations strings_errors.xml (Afrikaans) * New translations strings_pref_appearance.xml (Finnish) * New translations strings_pref_behaviour.xml (Finnish) * New translations strings_pref_debug.xml (Finnish) * New translations strings_play_store.xml (Finnish) * New translations strings_intro.xml (Finnish) * New translations strings_download.xml (Finnish) * New translations strings_download.xml (Afrikaans) * New translations strings_errors.xml (Finnish) * New translations strings_pref_notifications.xml (Arabic) * New translations strings_preferences.xml (Arabic) * New translations strings_web_context.xml (Arabic) * New translations strings.xml (Arabic) * New translations strings.xml (Ukrainian) * New translations strings.xml (Serbian (Cyrillic)) * New translations strings_pref_experimental.xml (Catalan) * New translations strings_web_context.xml (Catalan) * New translations strings.xml (Romanian) * New translations strings.xml (Catalan) * New translations strings_preferences.xml (Catalan) * New translations strings_pref_notifications.xml (Catalan) * New translations strings.xml (Russian) * New translations strings_pref_networks.xml (Catalan) * New translations strings_pref_feed.xml (Catalan) * New translations strings_pref_feed.xml (Spanish) * New translations strings.xml (Tagalog) * New translations strings_pref_networks.xml (Afrikaans) * New translations strings_pref_feed.xml (Afrikaans) * New translations strings_pref_experimental.xml (Afrikaans) * New translations strings_preferences.xml (Afrikaans) * New translations strings.xml (Turkish) * New translations strings.xml (Hungarian) * New translations strings.xml (Thai) * New translations strings_pref_notifications.xml (Afrikaans) * New translations strings_web_context.xml (Afrikaans) * New translations strings.xml (Spanish) * New translations strings_pref_networks.xml (Arabic) * New translations strings_pref_feed.xml (Arabic) * New translations strings_pref_experimental.xml (Arabic) * New translations strings.xml (Afrikaans) * New translations strings.xml (Swedish) * New translations strings_web_context.xml (Greek) * New translations strings.xml (Greek) * New translations strings_pref_experimental.xml (Greek) * New translations strings_pref_feed.xml (Greek) * New translations strings_pref_networks.xml (Greek) * New translations strings_pref_notifications.xml (Greek) * New translations strings_preferences.xml (Greek) * New translations strings.xml (Hebrew) * New translations strings_pref_experimental.xml (Hebrew) * New translations strings_pref_feed.xml (Hebrew) * New translations strings_pref_networks.xml (Hebrew) * New translations strings_pref_notifications.xml (Hebrew) * New translations strings_preferences.xml (Hebrew) * New translations strings_web_context.xml (Hebrew) * New translations strings_pref_feed.xml (French) * New translations strings.xml (Galician) * New translations strings.xml (German) * New translations strings_pref_feed.xml (Japanese) * New translations strings.xml (Japanese) * New translations strings_pref_experimental.xml (Japanese) * New translations strings_pref_networks.xml (Japanese) * New translations strings_pref_notifications.xml (Japanese) * New translations strings_preferences.xml (Japanese) * New translations strings_web_context.xml (Japanese) * New translations strings.xml (Korean) * New translations strings.xml (Indonesian) * New translations strings.xml (Italian) * New translations strings.xml (Chinese Simplified) * New translations strings.xml (Chinese Traditional) * New translations strings.xml (Polish) * New translations strings_pref_networks.xml (Finnish) * New translations strings_pref_notifications.xml (Finnish) * New translations strings_preferences.xml (Finnish) * New translations strings_web_context.xml (Finnish) * New translations strings.xml (French) * New translations strings.xml (Norwegian) * New translations strings_pref_experimental.xml (Finnish) * New translations strings.xml (Portuguese) * New translations strings.xml (Portuguese, Brazilian) * New translations strings_pref_feed.xml (Finnish) * New translations strings.xml (Czech) * New translations strings.xml (Finnish) * New translations strings.xml (Dutch) * New translations strings.xml (Danish) * New translations strings.xml (Vietnamese) * Fix migration script * Clean file * Add double brackets * New translations strings.xml (French) * New translations strings_pref_behaviour.xml (French) * New translations strings_pref_feed.xml (French) * New translations strings_pref_feed.xml (German) * New translations strings.xml (German) * New translations strings.xml (Spanish) * New translations strings.xml (Russian) * New translations strings_pref_feed.xml (Russian) * New translations strings.xml (Ukrainian) * New translations strings_pref_feed.xml (Ukrainian) * New translations strings_pref_feed.xml (Turkish) * New translations strings_pref_behaviour.xml (Turkish) * New translations strings.xml (Turkish) * New translations strings.xml (Hungarian) * New translations strings_pref_feed.xml (Hungarian) * New translations strings_pref_feed.xml (Portuguese, Brazilian) * New translations strings_pref_behaviour.xml (Portuguese, Brazilian) * New translations strings.xml (Portuguese, Brazilian)
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 174d568a..03e3592a 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" "app/src/main/res" | tr '\n' '\0' | xargs -0 -n1 rm
# Delete empty directories
find . -type d -empty -delete
fi