X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Messages.sh;h=4cd557477100884f91490e7b8413b220e5f09da3;hb=56aee6aedeeed3efd10ada8fe3c229eddc01ef05;hp=0070b53923badee6770e43890d49284e5708465b;hpb=93e45d239c3f3a1a80b0a087100e9df0c76525ce;p=kdenlive diff --git a/Messages.sh b/Messages.sh index 0070b539..4cd55747 100755 --- a/Messages.sh +++ b/Messages.sh @@ -1,12 +1,9 @@ -#! /bin/sh -EXTRACTRC=`which extractrc` -XGETTEXT="`which xgettext` --kde -ki18n --no-location -s " -podir=`pwd`/po -kdenlive_subdirs="src src/widgets renderer `pwd`" +#!bin/sh +kdenlive_subdirs="plugins renderer src src/ui" + +$EXTRACTRC --tag=name --tag=description --tag=label --tag=comment --tag=paramlistdisplay effects/*.xml data/kdenliveeffectscategory.rc >> rc.cpp +$EXTRACTRC `find $kdenlive_subdirs -name \*.rc -a ! -name encodingprofiles.rc -o -name \*.ui` >> rc.cpp -$EXTRACTRC --tag=name --tag=description --tag=label effects/*.xml >> rc.cpp || exit 11 -$EXTRACTRC `find $kdenlive_subdirs -name \*.ui` >> rc.cpp || exit 11 -$EXTRACTRC `find $kdenlive_subdirs -name \*.rc` >> rc.cpp || exit 11 $XGETTEXT `find $kdenlive_subdirs -name \*.cpp -o -name \*.h` *.cpp -o $podir/kdenlive.pot rm -f rc.cpp