diff options
author | EuAndreh <eu@euandre.org> | 2021-08-08 14:25:18 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-08-08 14:25:18 -0300 |
commit | 417393bac8196135053ba8f65593d4f4fd55618d (patch) | |
tree | 3547647ec5b10b0f9110f7febb50632e2f3970ae /aux | |
parent | aux/workflow/public.sh: Remove symlink to toplevel CHANGELOG (diff) | |
download | git-permalink-417393bac8196135053ba8f65593d4f4fd55618d.tar.gz git-permalink-417393bac8196135053ba8f65593d4f4fd55618d.tar.xz |
aux/workflow/l10n.sh: Support .html files
Diffstat (limited to 'aux')
-rwxr-xr-x | aux/workflow/l10n.sh | 5 |
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 \ |