]> git.sesse.net Git - kdenlive/blob - Messages.sh
Remove wrong path in extractrc for .pot file
[kdenlive] / Messages.sh
1 #! /bin/sh
2 EXTRACTRC=`which extractrc`
3 XGETTEXT="`which xgettext` --kde -ki18n --no-location -s "
4 podir=`pwd`/po
5 kdenlive_subdirs="src src/widgets renderer"
6
7
8 $EXTRACTRC --tag=name --tag=description --tag=label effects/*.xml >> rc.cpp || exit 11
9 $EXTRACTRC `find $kdenlive_subdirs -name \*.ui` >> rc.cpp || exit 11
10 $EXTRACTRC `find $kdenlive_subdirs -name \*.rc` >> rc.cpp || exit 11
11 $XGETTEXT -C -kki18n -ki18n -ktr2i18n -kI18N_NOOP -ktr `find $kdenlive_subdirs -name \*.cpp -o -name \*.h` *.cpp -o $podir/kdenlive.pot
12 rm -f rc.cpp