Messages.sh 670 Bytes
Newer Older
Stephan Kulow's avatar
Stephan Kulow committed
1
#! /bin/sh
2
rm -f schemas.cpp
Stephan Kulow's avatar
Stephan Kulow committed
3 4
(cd ../desktop && $PREPARETIPS > ../src/tips.cpp)
for i in ../data/color-schemes/*.schema; do
Stephan Kulow's avatar
Stephan Kulow committed
5
grep "^title" $i | cut -d':' -f2- | sed -e 's#^title \(.*\)$#i18n(\"\1\")#' >> schemas.cpp
6
done
7 8 9
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
10
for i in ../data/keyboard-layouts/*.keytab; do
Stephan Kulow's avatar
Stephan Kulow committed
11
grep "^keyboard" $i | sed -e 's#^keyboard \"\(.*\)\"$#i18n(\"\1\")#' >> schemas.cpp
12
done
13
$EXTRACTRC `find . -name \*.ui`          >>  rc.cpp
14
$EXTRACTRC `find ../desktop -name \*.rc` >> rc.cpp
15 16 17
$XGETTEXT *.cpp -o $podir/konsole.pot
rm -f schemas.cpp
rm -f tips.cpp