summaryrefslogtreecommitdiff
path: root/src/php-gettext/bin/gettexts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/php-gettext/bin/gettexts.sh')
-rwxr-xr-xsrc/php-gettext/bin/gettexts.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/php-gettext/bin/gettexts.sh b/src/php-gettext/bin/gettexts.sh
deleted file mode 100755
index 267f670..0000000
--- a/src/php-gettext/bin/gettexts.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-xgettext -kT_ngettext:1,2 -kT_ -L PHP -o ../../../locales/messages.po ../../../*.php ../../../services/*.php ../../../templates/*.php
-
-if [ -f "../../../locales/$1/LC_MESSAGES/messages.po" ]
-then
-msgmerge -o ../../../locales/$1/LC_MESSAGES/messages.po ../../../locales/$1/LC_MESSAGES/messages.po ../../../locales/messages.po
-
-msgfmt --statistics "../../../locales/$1/LC_MESSAGES/messages.po" -o "../../../locales/$1/LC_MESSAGES/messages.mo"
-else
-echo "gettexts.sh LANGUAGE_CODE"
-echo "example: 'gettexts fr_FR' to get text for French"
-fi