1
1
Fork 0

extract string can update existing po file

This commit is contained in:
fabrixxm 2011-03-11 00:40:26 +01:00
parent 9f7878057f
commit 90eab0fbc3

View file

@ -2,9 +2,16 @@
cd $(dirname $0) cd $(dirname $0)
OPTS=
if [ -e "$1" ]
then
OPTS="-j -o $1"
fi
KEYWORDS="-k -kt -ktt:1,2" KEYWORDS="-k -kt -ktt:1,2"
find .. -name "*.php" | xargs xgettext $KEYWORDS --from-code=UTF-8 find .. -name "*.php" | xargs xgettext $KEYWORDS $OPTS --from-code=UTF-8
F9KVERSION=$(sed -n "s/.*'FRIENDIKA_VERSION'.*'\([0-9.]*\)'.*/\1/p" ../boot.php); F9KVERSION=$(sed -n "s/.*'FRIENDIKA_VERSION'.*'\([0-9.]*\)'.*/\1/p" ../boot.php);