Messages.sh 460 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
Stephan Kulow's avatar
Stephan Kulow committed
7
for i in ../data/keyboard-layouts/*.Keytab ../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 10 11 12
done
$XGETTEXT *.cpp -o $podir/konsole.pot
rm -f schemas.cpp
rm -f tips.cpp