summaryrefslogtreecommitdiffhomepage
path: root/gui/scripts
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-03-18 17:47:29 +0100
committerAndrej Mihajlov <and@mullvad.net>2019-03-18 17:47:29 +0100
commit59c0aa07d7208805fa46743e4d73b19cdd95ad1c (patch)
treed764c6af32ceb4cfb49dca6dcaf35a329aea9f85 /gui/scripts
parentb3df605be7965b264a5b3f7f49988f3e100dac84 (diff)
parentb1d6bba2fe8bbbb73233542a64d2c39180a9aced (diff)
downloadmullvadvpn-59c0aa07d7208805fa46743e4d73b19cdd95ad1c.tar.xz
mullvadvpn-59c0aa07d7208805fa46743e4d73b19cdd95ad1c.zip
Merge branch 'translation-fixes'
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
}