]> git.sesse.net Git - kdenlive/blobdiff - Messages.sh
Fix label
[kdenlive] / Messages.sh
index be252b7529214ff8a16bd23b3f9cc220b696f916..f69bd55238535007a9bedbeb71260dded0c8a12b 100755 (executable)
@@ -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"
+#!bin/sh
 
+kdenlive_subdirs="plugins renderer src src/widgets"
 
-$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 -C -kki18n -ki18n -ktr2i18n -kI18N_NOOP -ktr `find $kdenlive_subdirs -name \*.cpp -o -name \*.h` *.cpp -o $podir/kdenlive.pot
+$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