From 6eec737ade63bd48e0cccd66c021dd5523100f06 Mon Sep 17 00:00:00 2001 From: Bo Borgerson Date: Fri, 4 Apr 2008 11:13:13 -0400 Subject: standardize some error messages * maint.mk: (sc_error_message_warn_fatal, sc_error_message_uppercase): (sc_error_message_period): Add automatic checks for non-standard error messages. * .x-sc_error_message_uppercase: explicit exclusion for this check * src/cp.c: Standardize some error messages. * src/date.c: Likewise. * src/dircolors.c: Likewise. * src/du.c: Likewise. * src/expr.c: Likewise. * src/install.c: Likewise. * src/join.c: Likewise. * src/ln.c: Likewise. * src/mv.c: Likewise. * src/od.c: Likewise. * src/pr.c: Likewise. * src/split.c: Likewise. * src/truncate.c: Likewise. * src/wc.c: Likewise. * tests/du/files0-from: Expect new error message. * tests/misc/join: Likewise. * tests/misc/split-a: Likewise. * tests/misc/wc-files0-from: Likewise. * tests/misc/xstrtol: Likewise. * lib/xmemxfrm.c: Likewise. --- lib/xmemxfrm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/xmemxfrm.c b/lib/xmemxfrm.c index 039f97818..84f51583b 100644 --- a/lib/xmemxfrm.c +++ b/lib/xmemxfrm.c @@ -52,9 +52,9 @@ xmemxfrm (char *restrict dest, size_t destsize, if (errno) { error (0, errno, _("string transformation failed")); - error (0, 0, _("Set LC_ALL='C' to work around the problem.")); + error (0, 0, _("set LC_ALL='C' to work around the problem")); error (exit_failure, 0, - _("The untransformed string was %s."), + _("the untransformed string was %s"), quotearg_n_style_mem (0, locale_quoting_style, src, srcsize)); } -- cgit v1.2.3-70-g09d2