You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
407 B
16 lines
407 B
13 years ago
|
#!/bin/sh
|
||
|
LANGS="de fr sv"
|
||
|
|
||
|
echo -n "update pot..."
|
||
|
xml2pot en/index.docbook > en/handbook.pot
|
||
|
echo " done."
|
||
|
|
||
|
for lang in $LANGS; do
|
||
|
echo -n "updating $lang..."
|
||
|
mv $lang/handbook.po $lang/handbook_old.po
|
||
|
msgmerge -o $lang/handbook.po $lang/handbook_old.po en/handbook.pot
|
||
|
rm $lang/handbook_old.po
|
||
|
po2xml en/index.docbook $lang/handbook.po > $lang/index.docbook
|
||
|
echo " done."
|
||
|
done
|