Messages.sh 791 Bytes
Newer Older
Laurent Montel's avatar
Laurent Montel committed
1
#! /bin/sh
2
$EXTRACTRC `find . -name \*.ui | grep -v '/tests/'` >> rc.cpp
3 4
RCFILES=`find . -name \*.rc                                                   \
	| grep -v plugins/extensions/metadataeditor/editors/dublincore.rc     \
5 6 7
	| grep -v plugins/extensions/metadataeditor/editors/exif.rc           \
	| grep -v sketch/KritaSketch.rc                                       \
	| grep -v gemini/KritaGemini.rc
8 9
         `
$EXTRACTRC $RCFILES >> rc.cpp
Laurent Montel's avatar
Laurent Montel committed
10
perl extracti18n.pl > i18ndata
11
# ignore sdk/templates since it contains templates for use a future plugins, none of the strings there will ever be seen by any user
12
$XGETTEXT i18ndata rc.cpp `find . -name \*.cc -o -name \*.h  -o -name \*.cpp | grep -v '/tests/' | grep -v './sdk/templates'` ui/kis_aboutdata.h -o $podir/krita.pot
Laurent Montel's avatar
Laurent Montel committed
13 14
rm -f i18ndata