diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-12 00:59:39 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-12 00:59:39 (EDT) |
commit | 1f812448dfcc22a4eae00ee9e1f839e8cca759a2 (patch) | |
tree | b5b87375d64673eefe56248ee9b91de684acfbc9 /lib | |
parent | 5032fd43cfa0585e8b3f0fca94a7bc50832fc5bc (diff) |
ob_error(), ob_warn(), ob_info(): Internationalize
Diffstat (limited to 'lib')
-rw-r--r-- | lib/output.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/output.sh b/lib/output.sh index bd56715..cde8cef 100644 --- a/lib/output.sh +++ b/lib/output.sh @@ -34,7 +34,7 @@ ob_error() local format="${1}" shift 1 - printf '%s: Error: %s\n' "${0##*/}" "${@}" >&2 + printf "$(_get_msg 'output_error_format')\n" "${0##*/}" "${@}" >&2 exit 1 } @@ -54,7 +54,7 @@ ob_warn() local format="${1}" shift 1 - printf '%s: Warning: %s\n' "${0##*/}" "${@}" >&2 + printf "$(_get_msg 'output_warning_format')\n" "${0##*/}" "${@}" >&2 return 0 } @@ -74,7 +74,7 @@ ob_info() local format="${1}" shift 1 - printf '%s: %s\n' "${0##*/}" "${@}" >&2 + printf "$(_get_msg 'output_info_format')\n" "${0##*/}" "${@}" >&2 return 0 } |