diff options
| author | Jon Petersson <jon.petersson@mullvad.net> | 2025-09-15 14:54:21 +0200 |
|---|---|---|
| committer | Jon Petersson <jon.petersson@mullvad.net> | 2025-09-16 09:08:20 +0200 |
| commit | 302f3a850d2f2b8b6307677a0f9ab93e3bdf3146 (patch) | |
| tree | f168435d31a25e9bf58453b88e2dd59a911caff2 /scripts | |
| parent | 61b39ec0eb2fa6a4059640e3e646442f78e8236f (diff) | |
| download | mullvadvpn-302f3a850d2f2b8b6307677a0f9ab93e3bdf3146.tar.xz mullvadvpn-302f3a850d2f2b8b6307677a0f9ab93e3bdf3146.zip | |
Revert "Add iOS localization to the pipeline"
This reverts commit 32a2024a1d3c4a593e9f134f38babc881b49e7cb.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/localization | 27 |
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 "$@" |
