summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/output.sh6
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
}