summaryrefslogtreecommitdiffhomepage
path: root/gui/scripts
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-03-18 16:53:26 +0100
committerAndrej Mihajlov <and@mullvad.net>2019-03-18 17:09:55 +0100
commitb1d6bba2fe8bbbb73233542a64d2c39180a9aced (patch)
treed764c6af32ceb4cfb49dca6dcaf35a329aea9f85 /gui/scripts
parentd5a747ef0d89a26985e808930fe20a0a87f6f35a (diff)
downloadmullvadvpn-b1d6bba2fe8bbbb73233542a64d2c39180a9aced.tar.xz
mullvadvpn-b1d6bba2fe8bbbb73233542a64d2c39180a9aced.zip
Update file mapping
Diffstat (limited to 'gui/scripts')
-rwxr-xr-xgui/scripts/crowdin.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/gui/scripts/crowdin.sh b/gui/scripts/crowdin.sh
index ce1bb75a42..914007ac87 100755
--- a/gui/scripts/crowdin.sh
+++ b/gui/scripts/crowdin.sh
@@ -34,18 +34,6 @@ function download_translations {
unzip -o all.zip -d $LOCALE_DIR
find $LOCALE_DIR -type d -exec chmod 755 {} \;
find $LOCALE_DIR -type f -exec chmod 644 {} \;
-
- # Rename some of the locales to align with the locale codes expected by Electron
- # [1] https://electronjs.org/docs/api/locales
- # [2] https://support.crowdin.com/api/language-codes/
- rm -rf "$LOCALE_DIR/es"
- mv "$LOCALE_DIR/es-ES" "$LOCALE_DIR/es"
- mv "$LOCALE_DIR/es/messages-es-ES.po" "$LOCALE_DIR/es/messages-es.po"
-
- rm -rf "$LOCALE_DIR/sv"
- mv "$LOCALE_DIR/sv-SE" "$LOCALE_DIR/sv"
- mv "$LOCALE_DIR/sv/messages-sv-SE.po" "$LOCALE_DIR/sv/messages-sv.po"
-
rm all.zip
}