oont-contents/plugins/wp-piwik/languages/update.sh
2025-02-08 15:10:23 +01:00

5 lines
204 B
Bash

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