summaryrefslogtreecommitdiffhomepage
path: root/scripts/localization
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/localization')
-rwxr-xr-xscripts/localization27
1 files changed, 0 insertions, 27 deletions
diff --git a/scripts/localization b/scripts/localization
index ac0bf99240..084f61661c 100755
--- a/scripts/localization
+++ b/scripts/localization
@@ -62,9 +62,6 @@ function prepare_localization_strings {
update_relay_locations_pot
commit_changes "Update relay-locations.pot"
-
- update_ios_strings export
- commit_changes "Update en.xliff"
}
function ensure_crowdin_api_key {
@@ -80,11 +77,6 @@ function upload_to_crowdin {
crowdin upload sources
crowdin upload translations
popd
-
- pushd ../ios/translation
- crowdin upload sources
- crowdin upload translations
- popd
}
function download_from_crowdin {
@@ -95,17 +87,9 @@ function download_from_crowdin {
crowdin download
popd
- pushd ../ios/translation
- crowdin download
- popd
-
# Add new translations to Android xml-files
log_header "Updating Android xml-files with new translations"
sync_localizations
-
- # Add new translations to iOS source code
- update_ios_strings import
-
commit_changes "Update translations"
}
@@ -126,17 +110,6 @@ function verify {
exit 1
fi
}
-function update_ios_strings {
- if [ $# -ne 1 ] || { [ "$1" != "export" ] && [ "$1" != "import" ]; }; then
- echo "Usage: update_ios_strings [export|import]" >&2
- return 2
- fi
- if [ "$1" = "export" ]; then
- log_header "Extracting strings from iOS app source code"
- else
- log_header "Updating strings into iOS app source code with new translations"
- fi
-}
main "$@"