From 9df0c1156a12d94c9d0f9a1af7f6aa7bd26c4742 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Wed, 6 Feb 2008 20:44:27 +0100 Subject: [PATCH 1/1] update_po: Output some useful statistics about the .po files --- cron.d/500update_po | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- 2.39.2