aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-08 14:25:18 -0300
committerEuAndreh <eu@euandre.org>2021-08-08 14:25:18 -0300
commit417393bac8196135053ba8f65593d4f4fd55618d (patch)
tree3547647ec5b10b0f9110f7febb50632e2f3970ae /aux/workflow
parentaux/workflow/public.sh: Remove symlink to toplevel CHANGELOG (diff)
downloadgit-permalink-417393bac8196135053ba8f65593d4f4fd55618d.tar.gz
git-permalink-417393bac8196135053ba8f65593d4f4fd55618d.tar.xz
aux/workflow/l10n.sh: Support .html files
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 \