From 49a5b3b7dcec7a64ef467ad795d5af2e848d1c43 Mon Sep 17 00:00:00 2001 From: Marco Gittler Date: Tue, 25 Mar 2008 22:42:09 +0000 Subject: [PATCH] script to extract all messages to .pot file svn path=/branches/KDE4/; revision=2122 --- Messages.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 Messages.sh diff --git a/Messages.sh b/Messages.sh new file mode 100755 index 00000000..e9b89d47 --- /dev/null +++ b/Messages.sh @@ -0,0 +1,10 @@ +#! /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 +$XGETTEXT `find $kdenlive_subdirs -name \*.cpp -o -name \*.h` *.cpp *.h -o $podir/kdenlive.pot +rm -f rc.cpp -- 2.39.2