aboutsummaryrefslogtreecommitdiff
path: root/files/translation_migration.sh
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-01-20 18:47:39 -0500
committerGitHub <noreply@github.com>2018-01-20 18:47:39 -0500
commite5040864e0c3b419509a79ee9bd920e9dfa62739 (patch)
treecf88a0cccf00d206253ad33cff631b86d73e8bd0 /files/translation_migration.sh
parentd766100c297bc094491de150f24c04719ffa8f4e (diff)
downloadfrost-e5040864e0c3b419509a79ee9bd920e9dfa62739.tar.gz
frost-e5040864e0c3b419509a79ee9bd920e9dfa62739.tar.bz2
frost-e5040864e0c3b419509a79ee9bd920e9dfa62739.zip
Translations (#663)
* New translations strings_pref_feed.xml (Afrikaans) * New translations strings_pref_experimental.xml (Afrikaans) * 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_web_context.xml (Arabic) * New translations strings_errors.xml (Catalan) * New translations strings_errors.xml (Chinese Traditional) * New translations strings_intro.xml (Chinese Simplified) * New translations strings_download.xml (Chinese Traditional) * New translations strings_intro.xml (Catalan) * New translations strings_web_context.xml (Catalan) * New translations strings_preferences.xml (Catalan) * New translations strings_pref_notifications.xml (Catalan) * New translations strings_pref_networks.xml (Catalan) * New translations strings_pref_feed.xml (Catalan) * New translations strings_pref_experimental.xml (Catalan) * 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_play_store.xml (English) * New translations strings_pref_behaviour.xml (English) * New translations strings_pref_networks.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_web_context.xml (Greek) * New translations strings_preferences.xml (Greek) * New translations strings_pref_notifications.xml (Greek) * New translations strings_pref_feed.xml (Greek) * New translations strings_pref_feed.xml (Hebrew) * New translations strings_pref_experimental.xml (Greek) * New translations strings_pref_debug.xml (Greek) * New translations strings_pref_behaviour.xml (Greek) * New translations strings_pref_appearance.xml (Greek) * New translations strings_play_store.xml (Greek) * New translations strings_intro.xml (Greek) * New translations strings_errors.xml (Greek) * New translations strings_download.xml (Greek) * New translations strings_pref_experimental.xml (Hebrew) * New translations strings_pref_networks.xml (Hebrew) * New translations strings_pref_notifications.xml (Hungarian) * New translations strings_web_context.xml (Hungarian) * New translations strings_preferences.xml (Hungarian) * New translations strings_pref_networks.xml (Hungarian) * New translations strings_pref_notifications.xml (Hebrew) * New translations strings_pref_feed.xml (Hungarian) * New translations strings_pref_experimental.xml (Hungarian) * New translations strings_pref_debug.xml (Hungarian) * New translations strings_pref_behaviour.xml (Hungarian) * New translations strings_pref_appearance.xml (Hungarian) * New translations strings_play_store.xml (Hungarian) * New translations strings_intro.xml (Hungarian) * New translations strings_errors.xml (Hungarian) * New translations strings_download.xml (Hungarian) * New translations strings_web_context.xml (Hebrew) * New translations strings_preferences.xml (Hebrew) * New translations strings_pref_debug.xml (English) * New translations strings_pref_debug.xml (Finnish) * New translations strings_web_context.xml (Finnish) * New translations strings_preferences.xml (Finnish) * New translations strings_pref_notifications.xml (Finnish) * New translations strings_pref_networks.xml (Finnish) * New translations strings_pref_feed.xml (Finnish) * New translations strings_pref_experimental.xml (Finnish) * New translations strings_pref_behaviour.xml (Finnish) * New translations strings_pref_appearance.xml (Finnish) * New translations strings_play_store.xml (Finnish) * New translations strings_intro.xml (Finnish) * New translations strings_errors.xml (Finnish) * New translations strings_download.xml (Finnish) * New translations strings_web_context.xml (English) * New translations strings_preferences.xml (English) * New translations strings_pref_notifications.xml (English) * New translations strings_pref_networks.xml (English) * New translations strings_pref_feed.xml (English) * New translations strings_pref_experimental.xml (English) * New translations strings.xml (Vietnamese) * New translations strings_download.xml (Indonesian) * New translations strings_errors.xml (Indonesian) * New translations strings_intro.xml (Indonesian) * New translations strings_play_store.xml (Indonesian) * New translations strings_pref_appearance.xml (Indonesian) * New translations strings_pref_behaviour.xml (Indonesian) * New translations strings_pref_debug.xml (Indonesian) * New translations strings_pref_experimental.xml (Indonesian) * New translations strings_pref_feed.xml (Indonesian) * New translations strings_pref_networks.xml (Indonesian) * New translations strings_pref_notifications.xml (Indonesian) * New translations strings_preferences.xml (Indonesian) * New translations strings_web_context.xml (Indonesian) * New translations strings.xml (Indonesian) * New translations strings_pref_notifications.xml (Portuguese, Brazilian) * New translations strings_pref_appearance.xml (Portuguese, Brazilian) * New translations strings_pref_notifications.xml (Korean) * New translations strings_pref_appearance.xml (Korean) * New translations strings_pref_notifications.xml (Polish) * New translations strings_pref_appearance.xml (Polish) * New translations strings_pref_notifications.xml (Vietnamese) * New translations strings_pref_appearance.xml (Vietnamese) * New translations strings_pref_notifications.xml (Spanish) * New translations strings_pref_appearance.xml (Spanish) * New translations strings_pref_notifications.xml (Chinese Simplified) * New translations strings_pref_appearance.xml (Chinese Simplified) * New translations strings_pref_notifications.xml (Italian) * New translations strings_pref_appearance.xml (Italian) * New translations strings_pref_appearance.xml (French) * New translations strings_pref_notifications.xml (French) * New translations strings_pref_notifications.xml (German) * New translations strings_pref_appearance.xml (German) * New translations strings_pref_notifications.xml (Galician) * New translations strings_pref_appearance.xml (Galician) * New translations strings_pref_appearance.xml (Spanish) * New translations strings_pref_appearance.xml (Portuguese, Brazilian) * New translations strings_download.xml (Galician) * New translations strings_pref_appearance.xml (Korean) * New translations strings_pref_appearance.xml (Polish) * New translations strings_pref_appearance.xml (Italian) * New translations strings_pref_appearance.xml (Vietnamese) * New translations strings_pref_appearance.xml (Chinese Simplified) * New translations strings.xml (Galician) * New translations strings_pref_notifications.xml (Galician) * New translations strings_pref_appearance.xml (Galician) * New translations strings_errors.xml (Galician) * New translations strings_pref_appearance.xml (German) * New translations strings_pref_appearance.xml (French) * New translations strings.xml (Galician) * New translations strings_pref_debug.xml (Galician) * New translations strings_pref_notifications.xml (Korean) * New translations strings_pref_notifications.xml (Polish) * New translations strings_pref_notifications.xml (Italian) * New translations strings_pref_notifications.xml (Vietnamese) * New translations strings_pref_notifications.xml (Chinese Simplified) * New translations strings_pref_notifications.xml (Galician) * New translations strings_pref_notifications.xml (Portuguese, Brazilian) * New translations strings_pref_notifications.xml (Spanish) * New translations strings_pref_notifications.xml (German) * New translations strings_pref_notifications.xml (French) * New translations strings_download.xml (Thai) * New translations strings_errors.xml (Thai) * New translations strings_intro.xml (Thai) * New translations strings_play_store.xml (Thai) * New translations strings_pref_appearance.xml (Thai) * New translations strings_pref_behaviour.xml (Thai) * New translations strings_pref_debug.xml (Thai) * New translations strings_pref_experimental.xml (Thai) * New translations strings_pref_feed.xml (Thai) * New translations strings_pref_networks.xml (Thai) * New translations strings_pref_notifications.xml (Thai) * New translations strings_preferences.xml (Thai) * New translations strings_web_context.xml (Thai) * New translations strings.xml (Thai) * New translations strings_play_store.xml (Spanish) * New translations strings.xml (Spanish) * New translations strings_errors.xml (Thai) * New translations strings_web_context.xml (Thai) * New translations strings_preferences.xml (Thai) * New translations strings_pref_notifications.xml (Thai) * New translations strings_pref_networks.xml (Thai) * New translations strings_pref_feed.xml (Thai) * New translations strings_pref_experimental.xml (Thai) * New translations strings_pref_debug.xml (Thai) * New translations strings_pref_behaviour.xml (Thai) * New translations strings_pref_appearance.xml (Thai) * New translations strings_play_store.xml (Thai) * New translations strings_intro.xml (Thai) * New translations strings_download.xml (Thai) * New translations strings.xml (Thai) * Update KAU * New translations strings_pref_notifications.xml (Thai) * New translations strings_download.xml (Thai) * New translations strings.xml (Thai) * Remove empty files * New translations strings_pref_appearance.xml (Polish) * New translations strings_errors.xml (Polish) * New translations strings_download.xml (Polish) * New translations strings_pref_notifications.xml (Polish) * New translations strings.xml (Polish) * New translations strings_download.xml (Vietnamese) * New translations strings_errors.xml (Vietnamese) * New translations strings.xml (Vietnamese) * New translations strings_pref_notifications.xml (Vietnamese) * New translations strings_pref_debug.xml (Vietnamese) * New translations strings_pref_appearance.xml (Vietnamese) * New translations strings.xml (Portuguese, Brazilian) * New translations strings_pref_notifications.xml (Portuguese, Brazilian) * New translations strings_pref_appearance.xml (Portuguese, Brazilian) * New translations strings_errors.xml (Portuguese, Brazilian) * New translations strings_download.xml (Portuguese, Brazilian) * New translations strings.xml (Spanish) * New translations strings_pref_notifications.xml (Spanish) * New translations strings_pref_appearance.xml (Spanish) * New translations strings_errors.xml (Spanish) * New translations strings_download.xml (Spanish) * New translations strings.xml (German) * New translations strings_pref_notifications.xml (German) * New translations strings_pref_appearance.xml (German) * New translations strings_errors.xml (German) * New translations strings.xml (French) * New translations strings_download.xml (French) * New translations strings_pref_notifications.xml (French) * New translations strings_pref_appearance.xml (French) * New translations strings_errors.xml (French) * New translations strings_pref_feed.xml (Indonesian) * New translations strings_pref_experimental.xml (Norwegian) * New translations strings.xml (Norwegian) * New translations strings_web_context.xml (Norwegian) * New translations strings_download.xml (Indonesian) * New translations strings_pref_behaviour.xml (Norwegian) * New translations strings_web_context.xml (Indonesian) * New translations strings_pref_appearance.xml (Indonesian) * New translations strings_pref_networks.xml (Indonesian) * New translations strings_intro.xml (Norwegian) * New translations strings_errors.xml (Norwegian) * New translations strings_preferences.xml (Indonesian) * New translations strings_preferences.xml (Norwegian) * New translations strings_pref_networks.xml (Norwegian) * New translations strings_pref_feed.xml (Norwegian) * New translations strings_pref_behaviour.xml (Indonesian) * New translations strings_play_store.xml (Norwegian) * New translations strings_pref_experimental.xml (Indonesian) * New translations strings_intro.xml (Indonesian) * New translations strings_errors.xml (Indonesian) * New translations strings_download.xml (Norwegian) * New translations strings_play_store.xml (Indonesian) * New translations strings_pref_appearance.xml (Norwegian) * New translations strings_pref_debug.xml (Indonesian) * New translations strings_pref_notifications.xml (Norwegian) * New translations strings_pref_debug.xml (Norwegian) * New translations strings.xml (Indonesian) * New translations strings_pref_notifications.xml (Indonesian) * New translations strings.xml (Turkish) * New translations strings_errors.xml (Turkish) * New translations strings_preferences.xml (Turkish) * New translations strings_download.xml (Turkish) * New translations strings_pref_behaviour.xml (Turkish) * New translations strings_intro.xml (Turkish) * Update script * Update changelog and kau
Diffstat (limited to 'files/translation_migration.sh')
-rw-r--r--files/translation_migration.sh13
1 files changed, 5 insertions, 8 deletions
diff --git a/files/translation_migration.sh b/files/translation_migration.sh
index 0b4b2ccc..9ff9887e 100644
--- a/files/translation_migration.sh
+++ b/files/translation_migration.sh
@@ -8,13 +8,10 @@ current=${PWD##*/}
if [ "$current" != "$MODULE" ]; then
echo "Not in $MODULE";
- return;
+else
+ # DANGEROUS! Removes all files matching regex
+ egrep -lir --include="*.xml" "<resources.*></resources>" "./" | tr '\n' '\0' | xargs -0 -n1 rm
+ # Delete empty directories
+ find . -type d -empty -delete
fi
-# DANGEROUS! Removes all files matching regex
-
-egrep -lir --include="*.xml" "<resources.*></resources>" "./" | tr '\n' '\0' | xargs -0 -n1 rm
-
-# Delete empty directories
-
-find . -type d -empty -delete \ No newline at end of file