Merge pull request #635 from fabrixxm/addonlangs
fix bug in run_xgettext, update messages.po
This commit is contained in:
commit
570f67187d
6997
util/messages.po
6997
util/messages.po
File diff suppressed because it is too large
Load diff
|
@ -45,11 +45,12 @@ OPTS=
|
||||||
KEYWORDS="-k -kt -ktt:1,2"
|
KEYWORDS="-k -kt -ktt:1,2"
|
||||||
|
|
||||||
echo "extract strings to $OUTFILE.."
|
echo "extract strings to $OUTFILE.."
|
||||||
|
rm "$OUTFILE"; touch "$OUTFILE"
|
||||||
for f in $(find "$FINDSTARTDIR" $FINDOPTS -name "*.php" -type f)
|
for f in $(find "$FINDSTARTDIR" $FINDOPTS -name "*.php" -type f)
|
||||||
do
|
do
|
||||||
if [ ! -d "$f" ]
|
if [ ! -d "$f" ]
|
||||||
then
|
then
|
||||||
xgettext $KEYWORDS $OPTS -o "$OUTFILE" --from-code=UTF-8 "$f"
|
xgettext $KEYWORDS $OPTS -j -o "$OUTFILE" --from-code=UTF-8 "$f"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue