2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Updated translation grabber to search for TQ strings

Fixed typo's
This commit is contained in:
Adam Zammit
2015-09-07 11:53:59 +10:00
parent 92000359a8
commit b933a858b9
3 changed files with 1258 additions and 1032 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
#Source: http://stackoverflow.com/questions/7496156/gettext-how-to-update-po-and-pot-files-after-the-source-is-modified
echo '' > messages.po # xgettext needs that file, and we need it empty
cd ..
find . -type f -iname "*.php" | xgettext --keyword='T_' -o locale/messages.po -j -f -
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