From koffice-devel Mon Aug 31 07:08:05 2009 From: Dag Andersen Date: Mon, 31 Aug 2009 07:08:05 +0000 To: koffice-devel Subject: koffice/kplato Message-Id: <1251702485.338836.22701.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=koffice-devel&m=125170249120115 SVN commit 1017666 by danders: Extract all subdirectories in libs and ui files in kplato/kplatowork. CCMAIL:koffice-devel@kde.org PS: I haven't been able to get xgettext to produce any output so it's not fully tested. M +2 -0 Messages.sh M +1 -1 libs/Messages.sh M +1 -0 workpackage/Messages.sh --- trunk/koffice/kplato/Messages.sh #1017665:1017666 @@ -1,3 +1,5 @@ #! /bin/sh +# Note: Don't extract sub-directories: specifically not libs, workpackage and plugins. +$EXTRACTRC *.ui >> rc.cpp $XGETTEXT *.cpp about/*.cpp kptaboutdata.h -o $podir/kplato.pot --- trunk/koffice/kplato/libs/Messages.sh #1017665:1017666 @@ -1,3 +1,3 @@ #! /bin/sh $EXTRACTRC `find . -name \*.ui` >> rc.cpp -$XGETTEXT *.cpp kernel/*.cpp kernel/*.h models/*.cpp models/*.h ui/*.cpp ui/*.h -o $podir/kplatolibs.pot +$XGETTEXT `find . -name \*.cpp -o -name \*.h` -o $podir/kplatolibs.pot --- trunk/koffice/kplato/workpackage/Messages.sh #1017665:1017666 @@ -1,3 +1,4 @@ #! /bin/sh +$EXTRACTRC `find . -name \*.ui` >> rc.cpp $XGETTEXT *.cpp aboutdata.h -o $podir/kplatowork.pot _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel