[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: expr say "non integer argument"
From: |
Eric Blake |
Subject: |
Re: expr say "non integer argument" |
Date: |
Thu, 18 Feb 2010 13:16:21 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
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.
--
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
signature.asc
Description: OpenPGP digital signature
- Re: expr say "non integer argument", (continued)
- Re: expr say "non integer argument", jidanni, 2010/02/18
- Re: expr say "non integer argument", Eric Blake, 2010/02/18
- Re: expr say "non integer argument", jidanni, 2010/02/18
- Re: expr say "non integer argument", Eric Blake, 2010/02/18
- Re: expr say "non integer argument", jidanni, 2010/02/18
- diff "--git", jidanni, 2010/02/18
- Re: diff "--git", Alfred M. Szmidt, 2010/02/18
- Re: diff "--git", jidanni, 2010/02/18
- RE: expr say "non integer argument", Voelker, Bernhard, 2010/02/18
- Re: expr say "non integer argument",
Eric Blake <=
- RE: expr say "non integer argument", Voelker, Bernhard, 2010/02/19
- Re: expr say "non integer argument", Jim Meyering, 2010/02/19
- Re: expr say "non integer argument", Eric Blake, 2010/02/25
- Re: expr say "non integer argument", Eric Blake, 2010/02/25
- Re: expr say "non integer argument", Chris F.A. Johnson, 2010/02/18
- Re: expr say "non integer argument", jidanni, 2010/02/18