blob: 3ca7081aeff3ad2580a0e21b483355a0c87eec58 (
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=_ $f
done
for f in `ls *.po`
do
msgmerge -v -s -U $f `basename $f | cut -d'.' -f1`.pot
done
rm -f *~
|