X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=po%2Fpull-from-transifex.sh;h=edc2b35c0fdea9ff0bb5e36ddca77a2ada277acf;hp=44b97666173598f2240482716cbd8c57c8ed0961;hb=3c984e549489eddc18dcbf1864e26ef32e3eb586;hpb=221b0a8e10afc3f2c9148caf3cb727760a205eb8 diff --git a/po/pull-from-transifex.sh b/po/pull-from-transifex.sh index 44b97666..edc2b35c 100755 --- a/po/pull-from-transifex.sh +++ b/po/pull-from-transifex.sh @@ -21,7 +21,14 @@ git add po/*.po po/LINGUAS && ( echo " - ${lang}: ${translator}" done < <(git status --porcelain po/*.po | egrep '^[AM] ')) - git commit -em "Update translations from Transifex + git commit -m "Update translations from Transifex + + $(for i in po/*.po; do + msgfmt --statistics $i + done |& + perl -ne '/([0-9]+) translated/ and $translated+=$1; + END { printf("%d translated messages", $translated); }' + ) Many thanks to: ${translators}"