pilpil-client/locales/gen_mo.sh

6 lines
159 B
Bash
Raw Normal View History

2022-11-03 14:42:17 +01:00
#!/usr/bin/env bash
# pygettext ../../../app.py -o template.pot
for locale in */LC_MESSAGES/template.pot; do
/usr/bin/msgfmt -o ${locale%.*}.mo $locale
done