Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/forms/widgets/webbrowser/Messages.sh
1 | #! /bin/sh | 1 | #! /bin/sh | ||
---|---|---|---|---|---|
2 | source ../../../../../kexi_xgettext.sh | 2 | source ../../../../../kundo2_aware_xgettext.sh | ||
3 | 3 | | |||
4 | potfile=kexiforms_webbrowserwidgetplugin.pot | 4 | potfile=kexiforms_webbrowserwidgetplugin.pot | ||
5 | find_exclude $potfile | 5 | find_exclude $potfile | ||
6 | 6 | | |||
7 | # Exclude files containing "#warning noi18n" | 7 | # Exclude files containing "#warning noi18n" | ||
8 | LIST=`find . \( $EXCLUDE \) -prune -o \( -name \*.h -o -name \*.cpp -o -name \*.cc -o -name \*.hxx -o -name \*.cxx \) -type f -print | sort | while read f ; do \ | 8 | LIST=`find . \( $EXCLUDE \) -prune -o \( -name \*.h -o -name \*.cpp -o -name \*.cc -o -name \*.hxx -o -name \*.cxx \) -type f -print | sort | while read f ; do \ | ||
9 | if ! grep -q '^#warning noi18n ' $f ; then echo $f; fi \ | 9 | if ! grep -q '^#warning noi18n ' $f ; then echo $f; fi \ | ||
10 | done \ | 10 | done \ | ||
11 | ` | 11 | ` | ||
12 | kexi_xgettext $potfile $LIST | 12 | kundo2_aware_xgettext $potfile $LIST | ||
13 | rm -f rc.cpp | 13 | rm -f rc.cpp |