laipower/wp-content/plugins/wp-piwik/languages/update.sh

6 lines
204 B
Bash
Raw Normal View History

2020-04-07 13:03:04 +00:00
#!/bin/bash
echo "== Fetch updated language files ===="
tx pull -a
echo "== Convert po to po ================"
for file in `find . -name "*.po"` ; do echo $file; msgfmt -v -o ${file/.po/.mo} $file ; done