1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-11-08 20:12:39 +01:00
Frost-for-Facebook/files/translation_migration.sh
Allan Wang c49a8e0e98
Translations (#1445)
* New translations strings.xml (Galician)

* New translations strings_pref_experimental.xml (Catalan)

* New translations strings_pref_experimental.xml (Arabic)

* New translations strings_pref_experimental.xml (Afrikaans)

* New translations strings_pref_experimental.xml (Finnish)

* New translations strings_pref_experimental.xml (Japanese)

* New translations strings_pref_experimental.xml (Hebrew)

* New translations strings_pref_experimental.xml (Greek)

* New translations strings_pref_debug.xml (Japanese)

* New translations strings_pref_feed.xml (Arabic)

* New translations strings_pref_behaviour.xml (Finnish)

* New translations strings_pref_behaviour.xml (Japanese)

* New translations strings_pref_behaviour.xml (Hebrew)

* New translations strings_pref_behaviour.xml (Greek)

* New translations strings_pref_behaviour.xml (Catalan)

* New translations strings_pref_behaviour.xml (Arabic)

* New translations strings_pref_behaviour.xml (Afrikaans)

* New translations strings_pref_debug.xml (Hebrew)

* New translations strings_pref_debug.xml (Greek)

* New translations strings_pref_debug.xml (Finnish)

* New translations strings.xml (Tamil)

* New translations strings_pref_debug.xml (Catalan)

* New translations strings_pref_debug.xml (Arabic)

* New translations strings_pref_debug.xml (Afrikaans)

* New translations strings_pref_feed.xml (Afrikaans)

* New translations strings_pref_feed.xml (Catalan)

* New translations strings_pref_notifications.xml (Hebrew)

* New translations strings_pref_notifications.xml (Greek)

* New translations strings_pref_notifications.xml (Finnish)

* New translations strings_pref_notifications.xml (Catalan)

* New translations strings_pref_notifications.xml (Arabic)

* New translations strings_pref_notifications.xml (Afrikaans)

* New translations strings_preferences.xml (Catalan)

* New translations strings_preferences.xml (Arabic)

* New translations strings_preferences.xml (Afrikaans)

* New translations strings_pref_notifications.xml (Japanese)

* New translations strings_pref_feed.xml (Japanese)

* New translations strings_pref_feed.xml (Hebrew)

* New translations strings_pref_feed.xml (Greek)

* New translations strings_pref_feed.xml (Finnish)

* New translations strings_pref_feed.xml (Chinese Traditional)

* New translations strings_pref_networks.xml (Japanese)

* New translations strings_pref_networks.xml (Hebrew)

* New translations strings_pref_networks.xml (Greek)

* New translations strings_pref_feed.xml (Turkish)

* New translations strings_pref_networks.xml (Finnish)

* New translations strings_pref_networks.xml (Catalan)

* New translations strings_pref_networks.xml (Arabic)

* New translations strings_pref_networks.xml (Afrikaans)

* New translations strings_download.xml (Japanese)

* New translations strings_download.xml (Hebrew)

* New translations strings_download.xml (Greek)

* New translations strings_download.xml (Finnish)

* New translations strings_errors.xml (Japanese)

* New translations strings_errors.xml (Hebrew)

* New translations strings_errors.xml (Greek)

* New translations strings_errors.xml (Finnish)

* New translations strings_errors.xml (Catalan)

* New translations strings_errors.xml (Arabic)

* New translations strings_errors.xml (Afrikaans)

* 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.xml (Serbian (Cyrillic))

* New translations strings_pref_notifications.xml (Tamil)

* New translations strings.xml (French)

* New translations strings_pref_networks.xml (Tamil)

* New translations strings_pref_feed.xml (Tamil)

* New translations strings_pref_experimental.xml (Tamil)

* New translations strings_pref_debug.xml (Tamil)

* New translations strings_pref_behaviour.xml (Tamil)

* New translations strings_pref_appearance.xml (Tamil)

* New translations strings_play_store.xml (Tamil)

* New translations strings_intro.xml (Tamil)

* New translations strings_errors.xml (Tamil)

* New translations strings_download.xml (Tamil)

* New translations strings.xml (Finnish)

* New translations strings.xml (German)

* New translations strings.xml (Russian)

* New translations strings_download.xml (Catalan)

* New translations strings_download.xml (Arabic)

* New translations strings_download.xml (Afrikaans)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Ukrainian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Thai)

* New translations strings.xml (Tagalog)

* New translations strings.xml (Swedish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Romanian)

* New translations strings.xml (Greek)

* 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 (Indonesian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hebrew)

* New translations strings_pref_appearance.xml (Arabic)

* New translations strings_play_store.xml (Japanese)

* New translations strings_play_store.xml (Hebrew)

* New translations strings_play_store.xml (Greek)

* New translations strings_pref_appearance.xml (Afrikaans)

* New translations strings_pref_appearance.xml (Catalan)

* New translations strings_pref_appearance.xml (Hebrew)

* New translations strings_pref_appearance.xml (Greek)

* New translations strings_pref_appearance.xml (Finnish)

* New translations strings_pref_appearance.xml (Japanese)

* New translations strings_play_store.xml (Finnish)

* New translations strings_intro.xml (Hebrew)

* New translations strings_intro.xml (Greek)

* New translations strings_intro.xml (Finnish)

* New translations strings_intro.xml (Catalan)

* New translations strings_intro.xml (Arabic)

* New translations strings_intro.xml (Afrikaans)

* New translations strings_intro.xml (Japanese)

* New translations strings_play_store.xml (Catalan)

* New translations strings_play_store.xml (Arabic)

* New translations strings_play_store.xml (Afrikaans)

* New translations strings_pref_security.xml (Chinese Simplified)

* New translations strings_pref_security.xml (Chinese Traditional)

* New translations strings_pref_security.xml (Czech)

* New translations strings_pref_security.xml (Danish)

* New translations strings_pref_security.xml (Dutch)

* New translations strings_pref_security.xml (Catalan)

* New translations strings_pref_security.xml (Arabic)

* New translations strings_pref_security.xml (Afrikaans)

* New translations strings_pref_security.xml (Finnish)

* New translations strings_pref_security.xml (Polish)

* New translations strings_pref_security.xml (French)

* New translations strings_pref_security.xml (Romanian)

* New translations strings_pref_security.xml (Ukrainian)

* New translations strings_pref_security.xml (Turkish)

* New translations strings_pref_security.xml (Thai)

* New translations strings_pref_security.xml (Tagalog)

* New translations strings_pref_security.xml (Swedish)

* New translations strings_pref_security.xml (Spanish)

* New translations strings_pref_security.xml (Serbian (Cyrillic))

* New translations strings_pref_security.xml (Russian)

* New translations strings_pref_security.xml (Portuguese, Brazilian)

* New translations strings_pref_security.xml (German)

* New translations strings_pref_security.xml (Portuguese)

* New translations strings_pref_security.xml (Norwegian)

* New translations strings_pref_security.xml (Korean)

* New translations strings_pref_security.xml (Japanese)

* New translations strings_pref_security.xml (Italian)

* New translations strings_pref_security.xml (Indonesian)

* New translations strings_pref_security.xml (Hungarian)

* New translations strings_pref_security.xml (Hebrew)

* New translations strings_pref_security.xml (Greek)

* New translations strings_preferences.xml (Spanish)

* New translations strings_web_context.xml (Japanese)

* New translations strings_preferences.xml (Japanese)

* New translations strings_preferences.xml (Hebrew)

* New translations strings_preferences.xml (Greek)

* New translations strings_preferences.xml (Finnish)

* New translations strings_preferences.xml (Tamil)

* New translations strings_web_context.xml (Tamil)

* New translations strings_pref_security.xml (Tamil)

* New translations strings_pref_security.xml (Galician)

* New translations strings_web_context.xml (Hebrew)

* New translations strings_web_context.xml (Greek)

* New translations strings_web_context.xml (Finnish)

* New translations strings_web_context.xml (Catalan)

* New translations strings_web_context.xml (Arabic)

* New translations strings_web_context.xml (Afrikaans)

* New translations strings_pref_security.xml (Vietnamese)

* Update kau

* Update crowdin credits

* New translations strings_pref_appearance.xml (Arabic)

* New translations strings_play_store.xml (Arabic)

* New translations strings_pref_behaviour.xml (Turkish)

* New translations strings_pref_behaviour.xml (Ukrainian)

* New translations strings_pref_debug.xml (Arabic)

* New translations strings_pref_behaviour.xml (Arabic)

* New translations strings_pref_behaviour.xml (Chinese Traditional)

* New translations strings_pref_behaviour.xml (Dutch)

* New translations strings.xml (Spanish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Ukrainian)

* New translations strings_download.xml (Arabic)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings_pref_behaviour.xml (Galician)

* New translations strings.xml (Arabic)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (French)

* New translations strings_intro.xml (Arabic)

* New translations strings_errors.xml (Arabic)

* New translations strings_preferences.xml (Chinese Traditional)

* New translations strings_preferences.xml (Portuguese, Brazilian)

* New translations strings_preferences.xml (Spanish)

* New translations strings_preferences.xml (Arabic)

* Encrypt slack channel so forks don't use them

* New translations strings_preferences.xml (Ukrainian)

* New translations strings_pref_security.xml (Chinese Traditional)

* New translations strings_pref_notifications.xml (Arabic)

* New translations strings_pref_security.xml (Portuguese, Brazilian)

* New translations strings_pref_security.xml (Spanish)

* New translations strings_pref_security.xml (Ukrainian)

* New translations strings_pref_security.xml (Arabic)

* New translations strings_pref_experimental.xml (Arabic)

* New translations strings_pref_security.xml (Galician)

* New translations strings_preferences.xml (Galician)

* New translations strings_pref_feed.xml (Galician)

* New translations strings_pref_networks.xml (Arabic)

* New translations strings_pref_feed.xml (Arabic)

* New translations strings_pref_feed.xml (Dutch)

* New translations strings_pref_feed.xml (Turkish)

* Delete blank translations
2019-06-13 21:37:03 -07:00

18 lines
398 B
Bash
Executable File

#!/usr/bin/env bash
MODULE=Frost-for-Facebook
cd ..
current=${PWD##*/}
if [[ "$current" != "$MODULE" ]]; then
echo "Not in $MODULE";
else
# DANGEROUS! Removes all files matching regex
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
echo "Finished cleaning files"