]> git.deb.at Git - deb/packages.git/blobdiff - cron.d/500update_po
Split the creation of the suite index pages out of create_index_pages
[deb/packages.git] / cron.d / 500update_po
index 89f5452b68013e2ace9c8e192ffa1e2260b7198e..a76f321ceb62cfba8a17efcba397b0b9ec3947e0 100755 (executable)
@@ -32,7 +32,6 @@ templates/html/filelist.tmpl
 templates/html/foot.tmpl
 templates/html/head.tmpl
 templates/html/index.tmpl
-templates/html/menu.inc
 templates/html/messages.tmpl
 templates/html/newpkg.tmpl
 templates/html/search.tmpl
@@ -40,6 +39,7 @@ templates/html/search_contents.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
@@ -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