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

  1. #!/bin/sh
  2. touch messages.po
  3. xgettext --add-comments --from-code=utf-8 ka.php
  4. msgmerge locale/en_US/LC_MESSAGES/messages.po messages.po > new.po
  5. cp locale/en_US/LC_MESSAGES/messages.po locale/en_US/LC_MESSAGES/messages.po.bak
  6. mv new.po locale/en_US/LC_MESSAGES/messages.po
  7. rm locale/en_US/LC_MESSAGES/messages.mo
  8. msgfmt locale/en_US/LC_MESSAGES/messages.po -o locale/en_US/LC_MESSAGES/messages.mo