diff options
Diffstat (limited to 'includes/php-gettext/examples/update')
-rw-r--r-- | includes/php-gettext/examples/update | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/includes/php-gettext/examples/update b/includes/php-gettext/examples/update deleted file mode 100644 index c8d8b61..0000000 --- a/includes/php-gettext/examples/update +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -TEMPLATE=pigs.pot -xgettext -kT_ngettext:1,2 -kT_ -L PHP -o $TEMPLATE pigs.php -if [ x$1 == 'x-p' ]; then - msgfmt --statistics $TEMPLATE -else - if [ -f $1.po ]; then - msgmerge -o .tmp$1.po $1.po $TEMPLATE - mv .tmp$1.po $1.po - msgfmt --statistics $1.po - else - echo "Usage: $0 [-p|<basename>]" - fi -fi |