From 417393bac8196135053ba8f65593d4f4fd55618d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 8 Aug 2021 14:25:18 -0300 Subject: aux/workflow/l10n.sh: Support .html files --- aux/workflow/l10n.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'aux/workflow') 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 \ -- cgit v1.2.3