[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Re: Oui/Non (was: structured description of lynx.cfg settin
From: |
dickey |
Subject: |
Re: lynx-dev Re: Oui/Non (was: structured description of lynx.cfg settings) |
Date: |
Tue, 4 May 1999 16:56:48 -0400 (EDT) |
> On Tue, May 04, 1999 at 07:21:50AM -0500, Klaus Weide wrote:
> > On Tue, 4 May 1999, Webmaster Jim wrote:
> > > > char *msg_yes = gettext("yes");
> > > > char *msg_no = gettext("no");
> > > Now I'm not sure if this works with NLS properly. I originally tested
> > > without changing QUIT_DEFAULT_YES to FALSE. Now trying this with
> > > LANG=de, QUIT_DEFAULT_YES=FALSE, and Klaus' de.po file, the german
> > > question to quit comes up, but "j" is not accepted while "y" is. So the
> > > behaviour of char *msg_yes = gettext("yes") must not be consistent.
> > I don't think the file has 'msgid "yes"' and 'msgid "no"' entries, it is
> > older than that.
>
> So if the message string is unavailable, shouldn't Lynx display the
> proper choices that do work?
Not necessarily - the TOUPPER may not work properly (if your locale support
is broken). But I didn't see a better way to implement it.
(TOLOWER is almost guaranteed to not work ;-)
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
- Re: lynx-dev Re: Oui/Non (was: structured description of lynx.cfg settings),
dickey <=