The branch, master has been updated via ee015566416517673a8c1a0fa2bb97f20a2073a9 (commit) from e9909a244126164605d1cfb35f6e483bdffc74db (commit)
- Log ----------------------------------------------------------------- commit ee015566416517673a8c1a0fa2bb97f20a2073a9 Author: Michal Čihař mcihar@novell.com Date: Tue Mar 30 11:23:00 2010 +0200
Add quiet mode.
-----------------------------------------------------------------------
Summary of changes: scripts/generate-mo | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/scripts/generate-mo b/scripts/generate-mo index 323ee74..e26575b 100755 --- a/scripts/generate-mo +++ b/scripts/generate-mo @@ -1,7 +1,15 @@ #!/bin/sh +if [ x$1 = x--quiet ] ; then + stats="" +else + stats="--statistics" +fi + for x in po/*.po ; do lang=`echo $x | sed 's@po/(.*).po@\1@'` - echo -n "$lang: " + if [ ! -z "$stas" ] ; then + echo -n "$lang: " + fi mkdir -p locale/$lang/LC_MESSAGES - msgfmt --statistics --check -o locale/$lang/LC_MESSAGES/phpmyadmin.mo $x + msgfmt $stats --check -o locale/$lang/LC_MESSAGES/phpmyadmin.mo $x done
hooks/post-receive