forked from tohe/wmdeit_kaform
11 lines
399 B
Bash
11 lines
399 B
Bash
#!/bin/sh
|
|
|
|
touch messages.po
|
|
xgettext --add-comments --from-code=utf-8 ka.php
|
|
msgmerge locale/en_US/LC_MESSAGES/messages.po messages.po > new.po
|
|
cp locale/en_US/LC_MESSAGES/messages.po locale/en_US/LC_MESSAGES/messages.po.bak
|
|
mv new.po locale/en_US/LC_MESSAGES/messages.po
|
|
rm locale/en_US/LC_MESSAGES/messages.mo
|
|
msgfmt locale/en_US/LC_MESSAGES/messages.po -o locale/en_US/LC_MESSAGES/messages.mo
|
|
|