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 ed5eb076b0
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)
2019-05-01 13:51:06 -07:00

18 lines
398 B
Bash

#!/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"