pilpil-client/locales/gen_mo.sh

7 lines
192 B
Bash
Raw Normal View History

2022-11-03 14:42:17 +01:00
#!/usr/bin/env bash
2022-11-25 14:36:09 +01:00
cd "$(dirname "$0")"
#pygettext -p en/LC_MESSAGES/ -o template.pot ../app.py
2022-11-03 14:42:17 +01:00
for locale in */LC_MESSAGES/template.pot; do
/usr/bin/msgfmt -o ${locale%.*}.mo $locale
done