From 06a2753a8681330426b1057f72cabf46cd61e3ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matjaz=CC=8C=20Horvat?= <matjaz.horvat@gmail.com> Date: Wed, 29 Feb 2012 11:51:49 +0100 Subject: [PATCH] Adding script to check if all locales have committed to SVN --- scripts/check_po.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/check_po.sh diff --git a/scripts/check_po.sh b/scripts/check_po.sh new file mode 100755 index 000000000..19278dc05 --- /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 -- GitLab