The branch, master has been updated
via 3289a49a6b1a2a6c04ab26100b286145c401717b (commit)
from e269e34a4fdd0b50af10a81d8646394ffe6905df (commit)
- Log -----------------------------------------------------------------
commit 3289a49a6b1a2a6c04ab26100b286145c401717b
Author: Michal Čihař <[email protected]>
Date: Tue Apr 5 15:31:15 2011 +0200
Threshold configurable by parameter
-----------------------------------------------------------------------
Summary of changes:
scripts/remove-incomplete-mo | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/scripts/remove-incomplete-mo b/scripts/remove-incomplete-mo
index ac82b60..65b5ad4 100755
--- a/scripts/remove-incomplete-mo
+++ b/scripts/remove-incomplete-mo
@@ -10,6 +10,10 @@ set -e
#
THRESHOLD=50
+if [ ! -z "$1" ] ; then
+ THRESHOLD=$1
+fi
+
check() {
lang=`echo $1 | sed 's@po/\(.*\)\.po@\1@'`
STATS=`LANG=C msgfmt --statistics -o /dev/null $1 2>&1`
@@ -36,11 +40,6 @@ check() {
fi
}
-if [ ! -z "$1" ] ; then
- check po/$1.po
- exit 0
-fi
-
for x in po/*.po ; do
check $x
done
hooks/post-receive
--
phpMyAdmin
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git