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

Updated translation file

Added PO update script to avoid using poedit
This commit is contained in:
Adam Zammit
2015-02-09 12:25:40 +11:00
parent 38d59dd4b7
commit bf59fb04d0
2 changed files with 2267 additions and 2352 deletions

File diff suppressed because it is too large Load Diff

9
locale/updatepo.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
#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 -
cd locale
msgmerge -N quexs.pot messages.po > new.po
mv new.po quexs.pot
rm messages.po