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:
4610
locale/quexs.pot
4610
locale/quexs.pot
File diff suppressed because it is too large
Load Diff
9
locale/updatepo.sh
Executable file
9
locale/updatepo.sh
Executable 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
|
||||
Reference in New Issue
Block a user