From: Daniel Albers Date: Mon, 25 Nov 2013 00:27:34 +0000 (+0100) Subject: i18n: add some statistics to commit messages X-Git-Tag: 0.10-rc1~25 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=96845023c5b4dc1402138b47a88b3dcdf07f40a8;hp=a28b9907d709b394c66d0f4740299efef3673fdf;ds=inline i18n: add some statistics to commit messages --- diff --git a/po/pull-from-transifex.sh b/po/pull-from-transifex.sh index 44b97666..a0fc017e 100755 --- a/po/pull-from-transifex.sh +++ b/po/pull-from-transifex.sh @@ -23,6 +23,13 @@ git add po/*.po po/LINGUAS && ( git commit -em "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}" )