Messages.sh 397 Bytes
Newer Older
1 2 3 4 5 6 7 8
#! /bin/sh
EXTRACTRC=`which extractrc`
XGETTEXT="`which xgettext` --kde -ki18n --no-location -s "
podir=`pwd`/po
kdenlive_subdirs="src src/widgets `pwd`"

$EXTRACTRC `find $kdenlive_subdirs -name \*.ui` >> rc.cpp || exit 11
$EXTRACTRC `find $kdenlive_subdirs -name \*.rc` >> rc.cpp || exit 11
9
$XGETTEXT `find $kdenlive_subdirs -name \*.cpp -o -name \*.h` *.cpp -o $podir/kdenlive.pot
10
rm -f rc.cpp