Permalink
Browse files

Adding script to check if all locales have committed to SVN

  • Loading branch information...
1 parent e798054 commit 06a2753a8681330426b1057f72cabf46cd61e3ed @mathjazz mathjazz committed Feb 29, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 scripts/check_po.sh
View
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# syntax:
+# check-po.sh
+
+for lang in `find locale -type f -name "*.po"`; do
+ dir=`dirname $lang`
+ stem=`basename $lang .po`
+ printf "${lang}: "
+ msgfmt --statistics ${dir}/${stem}.po
+done
+rm messages.mo

0 comments on commit 06a2753

Please sign in to comment.