bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] I18N problems revealed


From: Joern Thyssen
Subject: Re: [Bug-gnubg] I18N problems revealed
Date: Wed, 13 Aug 2003 17:45:40 +0000
User-agent: Mutt/1.4.1i

On Wed, Aug 13, 2003 at 07:19:30PM +0200, Jim Segrave wrote
> 
> Hmm - using the internationalisation code has unconvered soemthing
> interesting:
> 
> Try opening the market window when using a .mo file.
> 
> There's an array of column titles in gtktheory:
> 
>   static char *aszTitles[] = {
>     "",
>     N_("Dead cube"),
>     "" /* N_("Live cube") */,
>     N_("Fully live")
>   };
> 
> and these are run through gettext() for display:
> 
>   for ( i = 0; i < 4; ++i )
>     asz[ i ] = gettext( aszTitles[ i ] );
> 
> The translation of "" is the header from the .po file which is about
> as far from a blank string as you can get.

I've committed a fix.

Jørn

Attachment: pgpOz2UppbgTz.pgp
Description: PGP signature


reply via email to

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