summaryrefslogtreecommitdiffhomepage
path: root/gui/scripts
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-03-15 16:48:44 +0100
committerAndrej Mihajlov <and@mullvad.net>2019-03-18 15:21:51 +0100
commit19b8d4bb50347a76c3bb422c736b772ac6e23902 (patch)
tree744452260e386b3d4498828ba9cb5323f4603462 /gui/scripts
parent9237be793f555b9795c2baeb04687c805ac21dfe (diff)
downloadmullvadvpn-19b8d4bb50347a76c3bb422c736b772ac6e23902.tar.xz
mullvadvpn-19b8d4bb50347a76c3bb422c736b772ac6e23902.zip
Remove msgmerge script since crowdin does this for us
Diffstat (limited to 'gui/scripts')
-rwxr-xr-xgui/scripts/update-translations.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/gui/scripts/update-translations.sh b/gui/scripts/update-translations.sh
deleted file mode 100755
index db9d5e7b74..0000000000
--- a/gui/scripts/update-translations.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env bash
-
-# This script creates or updates the existing gettext catalogues using the POT template located
-# under locales/messages.pot
-
-SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-ROOT_DIR=$( dirname $SCRIPT_DIR )
-POT_FILE="$ROOT_DIR/locales/messages.pot"
-
-for PO_FILE_DIR in $ROOT_DIR/locales/* ; do
- if [ -d $PO_FILE_DIR ] ; then
- LOCALE=$( basename $PO_FILE_DIR )
- PO_FILE="$PO_FILE_DIR/messages-$LOCALE.po"
-
- if [ -f $PO_FILE ] ; then
- echo "Update $PO_FILE"
- msgmerge --no-fuzzy-matching --update $PO_FILE $POT_FILE
- fi
- fi
-done