From 9f837232111a6661b3ac291809dc49f30c92a15c Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 20 Sep 2021 22:38:42 -0300 Subject: aux/workflow/l10n.sh: Update - handle .msg 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 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 -- cgit v1.2.3