Messages.sh 687 Bytes
Newer Older
Laurent Montel's avatar
Laurent Montel committed
1 2 3
#! /bin/sh
$EXTRACTRC `find . -name \*.ui` >> rc.cpp 
$EXTRACTRC `find . -name \*.rc` >> rc.cpp
4
$EXTRACTATTR --attr=collection,text --attr=collection,comment --attr=script,text --attr=script,comment plugins/extensions/scripting/scripts/*.rc >> rc.cpp || exit 12
5
$EXTRACTATTR --attr=info,name plugins/colorspaces/ctlcs/ctlcolorspaces/*.ctlcs >> rc.cpp || exit 12
Laurent Montel's avatar
Laurent Montel committed
6
perl extracti18n.pl > i18ndata
7
# ignore sdk/templates since it contains templates for use a future plugins, none of the strings there will ever be seen by any user
8
$XGETTEXT i18ndata rc.cpp `find . -name \*.cc -o -name \*.h  -o -name \*.cpp | grep -v './sdk/templates'` ui/kis_aboutdata.h -o $podir/krita.pot
Laurent Montel's avatar
Laurent Montel committed
9 10
rm -f i18ndata