aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow
diff options
context:
space:
mode:
Diffstat (limited to 'aux/workflow')
-rwxr-xr-xaux/workflow/l10n.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/aux/workflow/l10n.sh b/aux/workflow/l10n.sh
index 683758f..ff5181e 100755
--- a/aux/workflow/l10n.sh
+++ b/aux/workflow/l10n.sh
@@ -39,6 +39,11 @@ for from_f in "$@"; do
po4a-translate -f man -m "$from_f" \
-p "$pofile" -l "$to_f" -k 0 -v >&2
;;
+ *.en.html)
+ po4a-updatepo -f xhtml -m "$from_f" -p "$pofile"
+ po4a-translate -f xhtml -m "$from_f" \
+ -p "$pofile" -l "$to_f" -k 0 -v >&2
+ ;;
*.en.md)
touch "$pofile"
md2po --include-codeblocks --quiet --save \