aboutsummaryrefslogtreecommitdiffstats
path: root/docs/docs/stable/mcc-help/makepot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docs/stable/mcc-help/makepot.sh')
-rwxr-xr-xdocs/docs/stable/mcc-help/makepot.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/docs/stable/mcc-help/makepot.sh b/docs/docs/stable/mcc-help/makepot.sh
new file mode 100755
index 00000000..d30921a4
--- /dev/null
+++ b/docs/docs/stable/mcc-help/makepot.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+ po4a-gettextize --format docbook -o doctype="book" \
+ -o nodefault="<imageobject> <caution> <note>" -o untranslated="<imageobject>" -o translated="<caution> <note>" \
+ --master-charset UTF-8 --po mcc-help.pot \
+ --msgid-bugs-address "doc-discuss@ml.mageia.org" --copyright-holder "Mageia" \
+ --package-name "Mageia Control Center Help" --package-version "6.0" \
+ $(
+for doc in en/*.xml; do
+ echo --master $doc
+done
+ )