Merge pull request #635 from fabrixxm/addonlangs

fix bug in run_xgettext, update messages.po
This commit is contained in:
fabrixxm 2013-02-28 07:16:18 -08:00
commit 570f67187d
2 changed files with 6998 additions and 2 deletions

File diff suppressed because it is too large Load diff

View file

@ -45,11 +45,12 @@ OPTS=
KEYWORDS="-k -kt -ktt:1,2"
echo "extract strings to $OUTFILE.."
rm "$OUTFILE"; touch "$OUTFILE"
for f in $(find "$FINDSTARTDIR" $FINDOPTS -name "*.php" -type f)
do
if [ ! -d "$f" ]
then
xgettext $KEYWORDS $OPTS -o "$OUTFILE" --from-code=UTF-8 "$f"
xgettext $KEYWORDS $OPTS -j -o "$OUTFILE" --from-code=UTF-8 "$f"
fi
done