pilpil-client/locales/gen_mo.sh

6 lines
159 B
Bash
Executable File

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