inc/contrib -> inc/lib

This commit is contained in:
Michael Save 2012-04-09 20:52:26 +10:00
parent 69c9a9dd45
commit 874b8cbf00
186 changed files with 6 additions and 6 deletions

14
inc/lib/gettext/examples/update Executable file
View file

@ -0,0 +1,14 @@
#!/bin/sh
TEMPLATE=pigs.pot
xgettext -kT_ngettext:1,2 -kT_ -L PHP -o $TEMPLATE pigs_dropin.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