Messages.sh 830 Bytes
Newer Older
Laurent Montel's avatar
Laurent Montel committed
1
#! /bin/sh
2 3
source ../calligra_xgettext.sh

4
$EXTRACTRC `find . -name \*.ui | grep -v '/tests/'` >> rc.cpp
5 6
RCFILES=`find . -name \*.rc                                                   \
	| grep -v plugins/extensions/metadataeditor/editors/dublincore.rc     \
7
	| grep -v plugins/extensions/metadataeditor/editors/exif.rc           \
Albert Astals Cid's avatar
Albert Astals Cid committed
8 9
	| grep -v sketch/KritaSketchWin.rc                                    \
	| grep -v gemini/KritaGeminiWin.rc
10 11
         `
$EXTRACTRC $RCFILES >> rc.cpp
Laurent Montel's avatar
Laurent Montel committed
12
perl extracti18n.pl > i18ndata
13
# ignore sdk/templates since it contains templates for use a future plugins, none of the strings there will ever be seen by any user
14 15
calligra_xgettext krita.pot i18ndata rc.cpp `find . -name \*.cc -o -name \*.h  -o -name \*.cpp | grep -v '/tests/' | grep -v './sdk/templates'` ui/kis_aboutdata.h
rm -f i18ndata rc.cpp