X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Messages.sh;h=31768f642bc4aeef80cf1b61da596326715a5308;hb=9be4b6094fd3091c20f399a4e70e1f9ac2568f56;hp=a54c7e016e8a99bbac033aaa983356ae38387788;hpb=88a4da87fafd5950703dcfef162fefcc139636da;p=kdenlive diff --git a/Messages.sh b/Messages.sh index a54c7e01..31768f64 100755 --- a/Messages.sh +++ b/Messages.sh @@ -1,10 +1,8 @@ -#! /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 -o $podir/kdenlive.pot -rm -f rc.cpp +kdenlive_subdirs="plugins renderer src src/widgets" + +$EXTRACTRC --tag=name --tag=description --tag=label --tag=comment --tag=paramlistdisplay data/*.rc effects/*.xml >> rc.cpp +$EXTRACTRC `find $kdenlive_subdirs -name \*.rc -o -name \*.ui` >> rc.cpp + +$XGETTEXT `find $kdenlive_subdirs -name \*.cpp -o -name \*.h` -o $podir/kdenlive.pot