X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Messages.sh;h=f69bd55238535007a9bedbeb71260dded0c8a12b;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=e9b89d473d9f4067b51890aa23f52ae1cc11abd9;hpb=49a5b3b7dcec7a64ef467ad795d5af2e848d1c43;p=kdenlive diff --git a/Messages.sh b/Messages.sh index e9b89d47..f69bd552 100755 --- a/Messages.sh +++ b/Messages.sh @@ -1,10 +1,9 @@ -#! /bin/sh -EXTRACTRC=`which extractrc` -XGETTEXT="`which xgettext` --kde -ki18n --no-location -s " -podir=`pwd`/po -kdenlive_subdirs="src src/widgets `pwd`" +#!bin/sh -$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 *.h -o $podir/kdenlive.pot +kdenlive_subdirs="plugins renderer src src/widgets" + +$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 + +$XGETTEXT `find $kdenlive_subdirs -name \*.cpp -o -name \*.h` *.cpp -o $podir/kdenlive.pot rm -f rc.cpp