You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
399 B

#!/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