[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [KDevelop-qmake] c5d1016: i18n: do not extract messages from sources
From:       Pino Toscano <pino () kde ! org>
Date:       2010-12-03 20:51:43
Message-ID: 20101203205143.3A82FA60A6 () git ! kde ! org
[Download RAW message or body]

commit c5d10162207daed72e503e2f9ce5cefe08a5ab4d
branch master
Author: Pino Toscano <pino@kde.org>
Date:   Fri Dec 3 21:51:01 2010 +0100

    i18n: do not extract messages from sources and ui files in the qmakebuilder and \
tests subdirectories

diff --git a/Messages.sh b/Messages.sh
index 9a8b3a6..b847e12 100644
--- a/Messages.sh
+++ b/Messages.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
-files=`find . -name \*.rc -o -name \*.ui`
+files=`find . -name \*.rc -o -name \*.ui | grep -v '/qmakebuilder/' | grep -v \
'/tests/'`  if [ "x$files" != "x" ]; then
        $EXTRACTRC $files >> rc.cpp
 fi
-$XGETTEXT `find . -name \*.cc -o -name \*.cpp -o -name \*.h` -o $podir/kdevqmake.pot
+$XGETTEXT `find . -name \*.cc -o -name \*.cpp -o -name \*.h | grep -v \
'/qmakebuilder/' | grep -v '/tests/'` -o $podir/kdevqmake.pot  rm -f rc.cpp


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic