diff options
| author | Emīls <emils@mullvad.net> | 2025-11-20 11:29:17 +0100 |
|---|---|---|
| committer | Emīls <emils@mullvad.net> | 2025-11-20 11:29:17 +0100 |
| commit | 0b7747f64607f8f65e862135acf58118c6b4d29b (patch) | |
| tree | 45cd158f9a083e9fe8d210664ae6f21be8a83464 /scripts/localization | |
| parent | 8beacc616749851c1e6d1fb18fc4a493f3c961f6 (diff) | |
| parent | 15ba64661b9ebb172c5baa3710b21105e611b805 (diff) | |
| download | mullvadvpn-bug-bash-2025-11-20.tar.xz mullvadvpn-bug-bash-2025-11-20.zip | |
Merge branch 'migrate-storekit2-calls-ios-1018' into bug-bash-2025-11-20bug-bash-2025-11-20
Diffstat (limited to 'scripts/localization')
| -rwxr-xr-x | scripts/localization | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/scripts/localization b/scripts/localization index 965ca0ff17..da05b455bc 100755 --- a/scripts/localization +++ b/scripts/localization @@ -8,6 +8,9 @@ cd "$SCRIPT_DIR" # shellcheck disable=SC1091 source utils/log +# shellcheck disable=SC1091 +source utils/localization_utils + function main { case ${1:-""} in prepare) prepare_localization_strings;; @@ -50,12 +53,6 @@ function update_relay_locations_pot { popd } -function commit_changes { - if ! git diff-index --quiet HEAD --; then - git commit -a -S -m "$1" - fi -} - function prepare_localization_strings { sync_localizations commit_changes "Update messages.pot" @@ -64,10 +61,6 @@ function prepare_localization_strings { commit_changes "Update relay-locations.pot" } -function ensure_crowdin_api_key { - test ! -z "$CROWDIN_API_KEY" -} - function upload_to_crowdin { ensure_crowdin_api_key |
