mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Fixed error with wildcards
This commit is contained in:
6692
locale/quexs.pot
6692
locale/quexs.pot
File diff suppressed because it is too large
Load Diff
@@ -2,5 +2,7 @@
|
||||
for f in `find ./ -iname *.po`; do
|
||||
BASE=`basename $f .po`
|
||||
DIR=`dirname $f`
|
||||
grep -v '#, php-format' $f > $DIR/tmpfile
|
||||
mv $DIR/tmpfile $f
|
||||
msgfmt $f -o $DIR/$BASE.mo
|
||||
done
|
||||
|
||||
@@ -5,5 +5,6 @@ cd ..
|
||||
find . -type f -iname "*.php" | xgettext --keyword='T_' --keyword='TQ_' -o locale/messages.po -j -f -
|
||||
cd locale
|
||||
msgmerge -N quexs.pot messages.po > new.po
|
||||
mv new.po quexs.pot
|
||||
grep -v '#, php-format' new.po > quexs.pot
|
||||
rm new.po
|
||||
rm messages.po
|
||||
|
||||
Reference in New Issue
Block a user