Changeset View
Changeset View
Standalone View
Standalone View
Messages.sh
1 | #! /bin/sh | 1 | #! /bin/sh | ||
---|---|---|---|---|---|
2 | source krita_xgettext.sh | 2 | source kundo2_aware_xgettext.sh | ||
3 | 3 | | |||
4 | $EXTRACTRC `find . -name \*.ui | grep -v '/tests/'` >> rc.cpp | 4 | $EXTRACTRC `find . -name \*.ui | grep -v '/tests/'` >> rc.cpp | ||
5 | RCFILES=`find . -name \*.xmlgui \ | 5 | RCFILES=`find . -name \*.xmlgui \ | ||
6 | | grep -v plugins/extensions/metadataeditor/editors/dublincore.xmlgui \ | 6 | | grep -v plugins/extensions/metadataeditor/editors/dublincore.xmlgui \ | ||
7 | | grep -v plugins/extensions/metadataeditor/editors/exif.xmlgui \ | 7 | | grep -v plugins/extensions/metadataeditor/editors/exif.xmlgui \ | ||
8 | | grep -v krita/sketch/KritaSketchWin.xmlgui \ | 8 | | grep -v krita/sketch/KritaSketchWin.xmlgui \ | ||
9 | | grep -v krita/gemini/KritaGeminiWin.xmlgui | 9 | | grep -v krita/gemini/KritaGeminiWin.xmlgui | ||
10 | ` | 10 | ` | ||
11 | $EXTRACTRC $RCFILES >> rc.cpp | 11 | $EXTRACTRC $RCFILES >> rc.cpp | ||
12 | 12 | | |||
13 | ACTIONFILES=`find . -name \*.action` | 13 | ACTIONFILES=`find . -name \*.action` | ||
14 | ./action_i18n.pl --context=action $ACTIONFILES >> rc.cpp | 14 | ./action_i18n.pl --context=action $ACTIONFILES >> rc.cpp | ||
15 | 15 | | |||
16 | # extracti18n.pl extracts additional data from brushes, palettes etc. | 16 | # extracti18n.pl extracts additional data from brushes, palettes etc. | ||
17 | perl extracti18n.pl > i18ndata | 17 | perl extracti18n.pl > i18ndata | ||
18 | 18 | | |||
19 | # Ignore sdk/templates which contains templates for writing future plugins. | 19 | # Ignore sdk/templates which contains templates for writing future plugins. | ||
20 | # Also ignore crashreporter, it has it's own catalog | 20 | # Also ignore crashreporter, it has it's own catalog | ||
21 | # None of the placeholder strings inside will be seen by users. | 21 | # None of the placeholder strings inside will be seen by users. | ||
22 | krita_xgettext krita.pot i18ndata rc.cpp \ | 22 | kundo2_aware_xgettext krita.pot i18ndata rc.cpp \ | ||
23 | `find . -name \*.cc -o -name \*.h -o -name \*.cpp | \ | 23 | `find . -name \*.cc -o -name \*.h -o -name \*.cpp | \ | ||
24 | grep -v '/tests/' | grep -v './sdk/templates' | grep -v './krita/crashreporter/'` | 24 | grep -v '/tests/' | grep -v './sdk/templates' | grep -v './krita/crashreporter/'` | ||
25 | 25 | | |||
26 | # Clean up | 26 | # Clean up | ||
27 | rm -f i18ndata rc.cpp | 27 | rm -f i18ndata rc.cpp |