templates/html/filelist.tmpl
templates/html/foot.tmpl
templates/html/head.tmpl
-templates/html/index.tmpl
-templates/html/menu.inc
+templates/html/index_head.tmpl
+templates/html/index_foot.tmpl
templates/html/messages.tmpl
templates/html/newpkg.tmpl
templates/html/search.tmpl
templates/html/show.tmpl
templates/html/suite_index.tmpl
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"
for domain in ${podomains}
do
perl -p -i -e "s,^#:\s*\Q${topdir}\E,#: .,go" ${domain}.pot.new
- if [ ! -f ${domain}.pot.new ] || diff -I"POT-Creation-Date" -q ${domain}.pot.new ${domain}.pot >/dev/null 2>&1
+ if [ ! -f ${domain}.pot.new ] || diff -I"POT-Creation-Date" -I"^#: " -q ${domain}.pot.new ${domain}.pot >/dev/null 2>&1
then
echo "${domain}.pot unchanged"
rm ${domain}.pot.new
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