From 96845023c5b4dc1402138b47a88b3dcdf07f40a8 Mon Sep 17 00:00:00 2001 From: Daniel Albers Date: Mon, 25 Nov 2013 01:27:34 +0100 Subject: [PATCH 1/1] i18n: add some statistics to commit messages --- po/pull-from-transifex.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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}" ) -- 2.20.1