lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev Re: Oui/Non (was: structured description of lynx.cfg settings)


From: Webmaster Jim
Subject: lynx-dev Re: Oui/Non (was: structured description of lynx.cfg settings)
Date: Tue, 4 May 1999 07:31:20 -0400

On Mon, May 03, 1999 at 10:50:17AM -0400, address@hidden wrote:
> > On Mon, May 03, 1999 at 08:14:49AM -0400, address@hidden wrote: 
> > it asks a French user (o/n) but accepts (y/n). 
> I may have missed an occurrence, but HTConfirmDefault does this now:
> PUBLIC BOOL HTConfirmDefault ARGS2(CONST char *, Msg, int, Dft)
> {
>     char *msg_yes = gettext("yes");
>     char *msg_no  = gettext("no");
>     int result = -1;
> (I know it won't work well if "yes" and "no" begin with the same character,
> but lacking an example, it works for the languages I know about).

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.

Btw, the exit question looks like:
Are you sure you want to quit? (n)

++++++++++++++++++++++++++++
Marvin the Paranoid Android.

reply via email to

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