]> git.sesse.net Git - kdenlive/blobdiff - Messages.sh
[PATCH by Ray Lehtiniemi] Do not return references to temporaries.
[kdenlive] / Messages.sh
index a54c7e016e8a99bbac033aaa983356ae38387788..20a6d09960ab001df37951695fcb658bd8f6a0b5 100755 (executable)
@@ -1,10 +1,13 @@
 #! /bin/sh
 EXTRACTRC=`which extractrc`
-XGETTEXT="`which xgettext` --kde -ki18n --no-location -s "
+# XGETTEXT="`which xgettext` --kde -ki18n --no-location -s "
+XGETTEXT="`which xgettext` --kde -ki18n -s "
 podir=`pwd`/po
-kdenlive_subdirs="src src/widgets `pwd`"
+kdenlive_subdirs="src src/widgets renderer"
 
+
+$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
+$XGETTEXT -C -kki18n -ki18n -ktr2i18n -kI18N_NOOP -ktr `find $kdenlive_subdirs -name \*.cpp -o -name \*.h` *.cpp -o $podir/kdenlive.pot
 rm -f rc.cpp