bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: expr say "non integer argument"


From: Voelker, Bernhard
Subject: RE: expr say "non integer argument"
Date: Fri, 19 Feb 2010 09:35:07 +0100

Eric Blake wrote:

>According to Voelker, Bernhard on 2/18/2010 8:31 AM:
>>> -            error (EXPR_INVALID, 0, _("non-numeric argument"));
>>> +            error (EXPR_INVALID, 0, _("non-integer argument"));
>> 
>> Maybe a dumb question:
>> Why's the error message hardcoded?
>
>It isn't.
>
>> Isn't there localization for this error message?
>
> Yep - _("...") is the localization.  It is a macro that calls gettext, and
> gettext does all the work of translating it according to your locale
> environment variables.

so the patch implies that there's already a translation for
"non-integer argument", right?

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]