diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-12-23 14:55:29 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-12-23 14:55:29 +0100 |
commit | a613fec2ff46abf5eb6827846e37efb88a4d5f4a (patch) | |
tree | 6d012fcfbab87c9e584a9e824d44a2f2a454a36f /sync-translations.sh | |
parent | UI: macOS: Group more than 10 tunnels into submenu (diff) | |
download | wireguard-apple-a613fec2ff46abf5eb6827846e37efb88a4d5f4a.tar.xz wireguard-apple-a613fec2ff46abf5eb6827846e37efb88a4d5f4a.zip |
project: sync translations and improve id generation again
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'sync-translations.sh')
-rwxr-xr-x | sync-translations.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sync-translations.sh b/sync-translations.sh index c855aab..968a446 100755 --- a/sync-translations.sh +++ b/sync-translations.sh @@ -23,7 +23,7 @@ done < Sources/WireGuardApp/Base.lproj/Localizable.strings git add Sources/WireGuardApp/*.lproj declare -A LOCALE_MAP -[[ $(< WireGuard.xcodeproj/project.pbxproj) =~ [[:space:]]([0-9A-F]{24})\ /\*\ Base\ \*/, ]] +[[ $(< WireGuard.xcodeproj/project.pbxproj) =~ [[:space:]]([0-9A-F]{24})\ /\*\ Base\ \*/\ =\ [^$'\n']*Base\.lproj/Localizable\.strings ]] base_id="${BASH_REMATCH[1]:0:16}" idx=$(( "0x${BASH_REMATCH[1]:16}" )) while read -r filename; do |