diff options
author | Allan Wang <me@allanwang.ca> | 2017-12-03 13:41:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-03 13:41:19 -0500 |
commit | a441de590faa6c6f91376d426684765b646fe363 (patch) | |
tree | 4015327cc226de8672c6d90fc1a6c3f8b82c38fc /files | |
parent | 41d27aeb517eb8f9a870a7ae0292761e6c0dd92d (diff) | |
download | frost-a441de590faa6c6f91376d426684765b646fe363.tar.gz frost-a441de590faa6c6f91376d426684765b646fe363.tar.bz2 frost-a441de590faa6c6f91376d426684765b646fe363.zip |
Translations (#533)
* New translations strings_pref_networks.xml (Afrikaans)
* 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_pref_notifications.xml (Arabic)
* New translations strings_web_context.xml (Arabic)
* New translations strings_pref_notifications.xml (Chinese Simplified)
* New translations strings_web_context.xml (Catalan)
* New translations strings_pref_networks.xml (Chinese Simplified)
* New translations strings_pref_feed.xml (Chinese Simplified)
* New translations strings_pref_experimental.xml (Chinese Simplified)
* New translations strings_pref_debug.xml (Chinese Simplified)
* New translations strings_pref_behaviour.xml (Chinese Simplified)
* New translations strings_pref_appearance.xml (Chinese Simplified)
* New translations strings_play_store.xml (Chinese Simplified)
* New translations strings_intro.xml (Chinese Simplified)
* New translations strings_errors.xml (Chinese Simplified)
* New translations strings_download.xml (Chinese Simplified)
* New translations strings_preferences.xml (Catalan)
* New translations strings_download.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_intro.xml (Catalan)
* New translations strings_errors.xml (Catalan)
* New translations strings_pref_feed.xml (Dutch)
* New translations strings_pref_notifications.xml (Dutch)
* New translations strings_pref_behaviour.xml (Hungarian)
* New translations strings_pref_networks.xml (German)
* 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_web_context.xml (German)
* New translations strings_preferences.xml (German)
* New translations strings_pref_notifications.xml (German)
* New translations strings_pref_feed.xml (German)
* New translations strings_pref_experimental.xml (Greek)
* New translations strings_pref_experimental.xml (German)
* New translations strings_pref_debug.xml (German)
* New translations strings_pref_behaviour.xml (German)
* New translations strings_pref_appearance.xml (German)
* New translations strings_play_store.xml (German)
* New translations strings_intro.xml (German)
* New translations strings_errors.xml (German)
* New translations strings_download.xml (German)
* New translations strings_web_context.xml (Galician)
* New translations strings_preferences.xml (Galician)
* New translations strings_pref_debug.xml (Greek)
* New translations strings_pref_feed.xml (Greek)
* New translations strings_pref_networks.xml (Galician)
* New translations strings_pref_feed.xml (Hebrew)
* 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_notifications.xml (Hebrew)
* New translations strings_pref_networks.xml (Hebrew)
* New translations strings_pref_experimental.xml (Hebrew)
* 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_notifications.xml (Galician)
* New translations strings_pref_feed.xml (Galician)
* New translations strings_preferences.xml (Dutch)
* New translations strings_pref_notifications.xml (English)
* New translations strings_pref_debug.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_networks.xml (English)
* New translations strings_pref_feed.xml (Finnish)
* New translations strings_pref_feed.xml (English)
* New translations strings_pref_experimental.xml (English)
* New translations strings_pref_debug.xml (English)
* New translations strings_pref_behaviour.xml (English)
* New translations strings_pref_appearance.xml (English)
* New translations strings_play_store.xml (English)
* New translations strings_intro.xml (English)
* New translations strings_errors.xml (English)
* New translations strings_download.xml (English)
* New translations strings_web_context.xml (Dutch)
* New translations strings_pref_experimental.xml (Finnish)
* New translations strings_pref_networks.xml (Finnish)
* New translations strings_pref_experimental.xml (Galician)
* New translations strings_pref_networks.xml (French)
* New translations strings_pref_debug.xml (Galician)
* New translations strings_pref_behaviour.xml (Galician)
* New translations strings_pref_appearance.xml (Galician)
* New translations strings_play_store.xml (Galician)
* New translations strings_intro.xml (Galician)
* New translations strings_errors.xml (Galician)
* New translations strings_download.xml (Galician)
* New translations strings_web_context.xml (French)
* New translations strings_preferences.xml (French)
* New translations strings_pref_notifications.xml (French)
* New translations strings_pref_feed.xml (French)
* New translations strings_pref_notifications.xml (Finnish)
* New translations strings_pref_experimental.xml (French)
* New translations strings_pref_debug.xml (French)
* New translations strings_pref_behaviour.xml (French)
* New translations strings_pref_appearance.xml (French)
* New translations strings_play_store.xml (French)
* New translations strings_intro.xml (French)
* New translations strings_errors.xml (French)
* New translations strings_download.xml (French)
* New translations strings_web_context.xml (Finnish)
* New translations strings_preferences.xml (Finnish)
* New translations strings_web_context.xml (Vietnamese)
* New translations strings.xml (Hungarian)
* New translations strings.xml (Ukrainian)
* New translations strings.xml (Turkish)
* New translations strings.xml (Swedish)
* New translations strings.xml (Spanish)
* New translations strings.xml (Serbian (Cyrillic))
* New translations strings.xml (Russian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Portuguese, Brazilian)
* New translations strings.xml (Portuguese)
* New translations strings.xml (Polish)
* New translations strings.xml (Norwegian)
* New translations strings.xml (Korean)
* New translations strings.xml (Japanese)
* New translations strings.xml (Italian)
* New translations strings.xml (Hebrew)
* New translations strings.xml (Greek)
* New translations strings.xml (German)
* New translations strings.xml (Galician)
* New translations strings.xml (French)
* New translations strings.xml (Finnish)
* New translations strings.xml (English)
* New translations strings.xml (Dutch)
* New translations strings.xml (Danish)
* New translations strings.xml (Czech)
* New translations strings.xml (Chinese Traditional)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Catalan)
* New translations strings.xml (Arabic)
* New translations strings.xml (Afrikaans)
* New translations strings_pref_appearance.xml (Spanish)
* New translations strings_play_store.xml (Spanish)
* New translations strings.xml (Vietnamese)
* New translations strings_play_store.xml (Spanish)
* New translations strings_pref_appearance.xml (Spanish)
* New translations strings_pref_feed.xml (Spanish)
* New translations strings_download.xml (Galician)
* New translations strings_errors.xml (Galician)
* New translations strings_download.xml (German)
* New translations strings_pref_appearance.xml (German)
* New translations strings_pref_feed.xml (German)
* New translations strings_pref_notifications.xml (German)
* New translations strings_pref_feed.xml (Korean)
* New translations strings_pref_appearance.xml (Korean)
* New translations strings_play_store.xml (Korean)
* New translations strings_download.xml (Korean)
* New translations strings_pref_notifications.xml (Korean)
* New translations strings.xml (Korean)
* New translations strings_download.xml (Chinese Simplified)
* New translations strings_download.xml (Chinese Simplified)
* New translations strings_errors.xml (Chinese Simplified)
* New translations strings_intro.xml (Chinese Simplified)
* New translations strings_play_store.xml (Chinese Simplified)
* New translations strings_pref_notifications.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings_play_store.xml (Chinese Simplified)
* New translations strings_play_store.xml (Portuguese, Brazilian)
* New translations strings.xml (Chinese Simplified)
* New translations strings_web_context.xml (Portuguese, Brazilian)
* New translations strings_preferences.xml (Portuguese, Brazilian)
* New translations strings_pref_notifications.xml (Portuguese, Brazilian)
* New translations strings_pref_networks.xml (Portuguese, Brazilian)
* New translations strings_pref_feed.xml (Portuguese, Brazilian)
* New translations strings_pref_experimental.xml (Portuguese, Brazilian)
* New translations strings_pref_debug.xml (Portuguese, Brazilian)
* New translations strings_pref_behaviour.xml (Portuguese, Brazilian)
* New translations strings_pref_appearance.xml (Portuguese, Brazilian)
* New translations strings_intro.xml (Portuguese, Brazilian)
* New translations strings_pref_appearance.xml (Chinese Simplified)
* New translations strings_errors.xml (Portuguese, Brazilian)
* New translations strings_download.xml (Portuguese, Brazilian)
* New translations strings_web_context.xml (Chinese Simplified)
* New translations strings_preferences.xml (Chinese Simplified)
* New translations strings_pref_notifications.xml (Chinese Simplified)
* New translations strings_pref_networks.xml (Chinese Simplified)
* New translations strings_pref_feed.xml (Chinese Simplified)
* New translations strings_pref_experimental.xml (Chinese Simplified)
* New translations strings_pref_debug.xml (Chinese Simplified)
* New translations strings_pref_behaviour.xml (Chinese Simplified)
* New translations strings.xml (Portuguese, Brazilian)
* New translations strings.xml (Italian)
* New translations strings_pref_feed.xml (Portuguese, Brazilian)
* New translations strings_pref_feed.xml (Korean)
* New translations strings_pref_feed.xml (Polish)
* New translations strings_pref_feed.xml (Vietnamese)
* New translations strings_pref_feed.xml (Spanish)
* New translations strings_pref_feed.xml (Chinese Simplified)
* New translations strings_pref_feed.xml (German)
* New translations strings_pref_feed.xml (Galician)
* New translations strings_pref_feed.xml (French)
* New translations strings_pref_appearance.xml (Polish)
* New translations strings_errors.xml (Polish)
* New translations strings_download.xml (Polish)
* New translations strings_errors.xml (French)
* Remove comments and dups
* Remove blank translations
* New translations strings_errors.xml (Italian)
* New translations strings_download.xml (Italian)
* New translations strings_download.xml (Spanish)
* New translations strings_pref_notifications.xml (Italian)
* New translations strings_pref_feed.xml (Italian)
* New translations strings_play_store.xml (Vietnamese)
* New translations strings.xml (Italian)
* Update gradle
* New translations strings_pref_behaviour.xml (Portuguese, Brazilian)
* New translations strings_pref_notifications.xml (Spanish)
* Update crashlytics
Diffstat (limited to 'files')
-rw-r--r-- | files/translation_migration.sh | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/files/translation_migration.sh b/files/translation_migration.sh index bf5a33ca..0b4b2ccc 100644 --- a/files/translation_migration.sh +++ b/files/translation_migration.sh @@ -1,24 +1,20 @@ #!/usr/bin/env bash +MODULE=Frost-for-Facebook + cd .. current=${PWD##*/} -if [ "$current" != "Frost-for-Facebook" ]; then - echo "Not in Frost"; +if [ "$current" != "$MODULE" ]; then + echo "Not in $MODULE"; return; fi -declare -a folders=("es" "fr" "de") +# DANGEROUS! Removes all files matching regex + +egrep -lir --include="*.xml" "<resources.*></resources>" "./" | tr '\n' '\0' | xargs -0 -n1 rm -cd app/src/main/res +# Delete empty directories -for d in $(find ./values-* -type d) ; do - key=$(echo $d | cut -d '-' -f2) - - if ! [[ ${folders[*]} =~ "$key" ]]; then - rm -r "$d" - else - mv "$d" "./values-$key" - fi -done
\ No newline at end of file +find . -type d -empty -delete
\ No newline at end of file |