From: Frank Lichtenheld Date: Wed, 6 Feb 2008 19:44:27 +0000 (+0100) Subject: update_po: Output some useful statistics about the .po files X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=9df0c1156a12d94c9d0f9a1af7f6aa7bd26c4742;p=deb%2Fpackages.git update_po: Output some useful statistics about the .po files --- diff --git a/cron.d/500update_po b/cron.d/500update_po index 05612a2..a76f321 100755 --- a/cron.d/500update_po +++ b/cron.d/500update_po @@ -96,3 +96,15 @@ do done fi done + +# print statistics +for lang in ${polangs} +do + echo + echo "Statistics about $lang:" + for po in *.${lang}.po + do + echo $po: + LANG=C msgfmt --statistics --check-format -o- $po >/dev/null + done +done