rhythm/generate_locale.sh

10 lines
388 B
Bash
Raw Normal View History

2020-03-05 20:46:08 +00:00
#!/usr/bin/env sh
xgettext --add-comments templates/*.php -o locale/rhythm.pot
msgmerge --update locale/de/LC_MESSAGES/rhythm.po locale/rhythm.pot
msgmerge --update locale/en/LC_MESSAGES/rhythm.po locale/rhythm.pot
msgfmt locale/de/LC_MESSAGES/rhythm.po --output-file=locale/de/LC_MESSAGES/rhythm.mo
msgfmt locale/en/LC_MESSAGES/rhythm.po --output-file=locale/en/LC_MESSAGES/rhythm.mo