diff options
author | EuAndreh <eu@euandre.org> | 2021-09-20 22:38:42 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-09-20 22:38:42 -0300 |
commit | 9f837232111a6661b3ac291809dc49f30c92a15c (patch) | |
tree | 3349eef573c3d9a6aa2c2614a9de52a2b01f948e /aux/workflow | |
parent | CHANGELOG.md: Fix link to TODOs task (diff) | |
download | git-permalink-9f837232111a6661b3ac291809dc49f30c92a15c.tar.gz git-permalink-9f837232111a6661b3ac291809dc49f30c92a15c.tar.xz |
aux/workflow/l10n.sh: Update - handle .msg files
Diffstat (limited to 'aux/workflow')
-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 cf687aa..1512c78 100755 --- a/aux/workflow/l10n.sh +++ b/aux/workflow/l10n.sh @@ -51,6 +51,11 @@ for from_f in "$@"; do po2md --pofiles "$pofile" --save "$to_f" \ --quiet --wrapwidth 999 < "$from_f" ;; + *.en.msg) + po4a-updatepo -f text -m "$from_f" -p "$pofile" + po4a-translate -f text -m "$from_f" \ + -p "$pofile" -l "$to_f" -k 0 -v >&2 + ;; *) echo "Unsupported file format: $from_f" >&2 exit 2 |