Messages.sh 466 Bytes
Newer Older
1 2
#! /usr/bin/env bash
$EXTRACTRC *.rc *.ui *.kcfg > rc.cpp
3
rm -f schemas.cpp
4
(cd ../desktop && $PREPARETIPS > ../konsole/tips.cpp)
5
for i in ../other/*.schema; do
Stephan Kulow's avatar
Stephan Kulow committed
6
grep "^title" $i | cut -d':' -f2- | sed -e 's#^title \(.*\)$#i18n(\"\1\")#' >> schemas.cpp
7 8
done
for i in ../other/*.Keytab ../other/*.keytab; do
Stephan Kulow's avatar
Stephan Kulow committed
9
grep "^keyboard" $i | sed -e 's#^keyboard \"\(.*\)\"$#i18n(\"\1\")#' >> schemas.cpp
10 11 12 13
done
$XGETTEXT *.cpp -o $podir/konsole.pot
rm -f schemas.cpp
rm -f tips.cpp