Messages.sh 589 Bytes
Newer Older
Stephan Kulow's avatar
Stephan Kulow committed
1
#! /bin/sh
2
rm -f schemas.cpp
Pino Toscano's avatar
Pino Toscano committed
3
#(cd ../desktop && $PREPARETIPS > ../src/tips.cpp)
4 5 6
for i in ../data/color-schemes/*.colorscheme; do
grep "^Description=" $i | sed -e 's#^Description=\(.*\)$#i18n(\"\1\")#' >> schemas.cpp
done
Stephan Kulow's avatar
Stephan Kulow committed
7
for i in ../data/keyboard-layouts/*.keytab; do
Stephan Kulow's avatar
Stephan Kulow committed
8
grep "^keyboard" $i | sed -e 's#^keyboard \"\(.*\)\"$#i18n(\"\1\")#' >> schemas.cpp
9
done
10
$EXTRACTRC `find . -name \*.ui`          >>  rc.cpp
11
$EXTRACTRC `find . -name \*.kcfg` >> rc.cpp
12
$EXTRACTRC `find ../desktop -name \*.rc` >> rc.cpp
13 14
$XGETTEXT *.cpp -o $podir/konsole.pot
rm -f schemas.cpp
Pino Toscano's avatar
Pino Toscano committed
15
#rm -f tips.cpp
Laurent Montel's avatar
Laurent Montel committed
16
rm -f rc.cpp