summaryrefslogtreecommitdiffstats
path: root/doc/update_handbook.sh
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 12:36:58 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 12:36:58 -0600
commitd08a0ede1d2cb15bb14b0ff75eacf5c682b1fa0a (patch)
treee5ce4701bac540038a279b4e208c86390a24ba11 /doc/update_handbook.sh
downloadkvpnc-d08a0ede1d2cb15bb14b0ff75eacf5c682b1fa0a.tar.gz
kvpnc-d08a0ede1d2cb15bb14b0ff75eacf5c682b1fa0a.zip
Initial import of year-and-a-half-old upstream version 0.9.6a
Diffstat (limited to 'doc/update_handbook.sh')
-rwxr-xr-xdoc/update_handbook.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/update_handbook.sh b/doc/update_handbook.sh
new file mode 100755
index 0000000..24210e6
--- /dev/null
+++ b/doc/update_handbook.sh
@@ -0,0 +1,15 @@
+#!/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