X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=cron.d%2F500update_po;h=754951d11589c53264ab063d123a5e81ae97bd0f;hb=875f263d940f4983589b1dca3d3ae67ddb963cdb;hp=05612a25543d942c32224092d5d7d99d972c1970;hpb=edad61f29db68f659a7ea9bf328139031146e3c6;p=deb%2Fpackages.git diff --git a/cron.d/500update_po b/cron.d/500update_po index 05612a2..754951d 100755 --- a/cron.d/500update_po +++ b/cron.d/500update_po @@ -31,7 +31,8 @@ templates/html/error.tmpl templates/html/filelist.tmpl templates/html/foot.tmpl templates/html/head.tmpl -templates/html/index.tmpl +templates/html/index_head.tmpl +templates/html/index_foot.tmpl templates/html/messages.tmpl templates/html/newpkg.tmpl templates/html/search.tmpl @@ -42,7 +43,8 @@ templates/html/tag_index.tmpl templates/html/util.inc templates/rfc822/search.tmpl templates/rss/newpkg.tmpl -templates/txt/index.tmpl +templates/txt/index_head.tmpl +templates/txt/index_foot.tmpl " podomains="pdo templates sections langs debtags" @@ -96,3 +98,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