diff --git a/scripts/check_po.sh b/scripts/check_po.sh new file mode 100755 index 0000000000000000000000000000000000000000..19278dc05951e59ff5d5e28d0b44d6ce928f3baa --- /dev/null +++ b/scripts/check_po.sh @@ -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