blob: 1f16ea961e9fa43342e78595e61cea3dc1758c66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
for f in `ls ../*.cpp`
do
BASE=`basename $f | cut -d'.' -f1`
xgettext -C -s -d $BASE -o $BASE.pot --from-code=utf-8 --keyword --keyword=_ $f
done
for f in `ls *.po`
do
msgmerge -v -s -U $f `basename $f | cut -d'.' -f1`.pot
done
rm -f *~
|