2
(cd data && $PREPARETIPS > ../tips.cpp)
4
find . -type d | fgrep -v '.svn' | sed -e 's,$,/,' > dirs
5
msh=`find . -name Messages.sh`
8
if test "$dir" != "."; then
9
egrep -v "^$dir" dirs > dirs.new && mv dirs.new dirs
14
for fname in `find -iname '*.katetemplate'`; do
15
for compound in template@item:inmenu \
17
description@info:whatsthis \
20
field=`echo $compound | sed 's/\(.*\)@.*/\1/'`
21
ctxmark=`echo $compound | sed 's/.*\(@.*\)/\1/'`
22
grep -inH "^katetemplate:.*$field=" $fname \
23
| sed "s/\\([^:]*\\):\\([^:]*\\):.*$field= *\\([^=]*\\)\\( .*\\)\\?\$/\
24
\/\/i18n: file \1 line \2\n\
25
i18nc(\"$ctxmark\", \"\3\");\
32
find $dirs -maxdepth 1 -name "*.cpp" -print >> files
33
find $dirs -maxdepth 1 -name "*.cc" -print >> files
34
find $dirs -maxdepth 1 -name "*.h" -print >> files
35
$EXTRACTRC `find $dirs -maxdepth 1 \( -name \*.rc -o -name \*.ui -o -name \*.kcfg \) ` >> rc.cpp || exit 11
36
$XGETTEXT --files-from=files -o $podir/kate.pot
37
rm -f tips.cpp dirs files rc.cpp