Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2006:
[Freeciv-Dev] Re: (PR#15967) gui-gtk-2.0: bad i18n lines in gui_main.c
Home

[Freeciv-Dev] Re: (PR#15967) gui-gtk-2.0: bad i18n lines in gui_main.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: evyscr@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#15967) gui-gtk-2.0: bad i18n lines in gui_main.c
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Mar 2006 00:16:24 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15967 >

Egor Vyscrebentsov wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=15967 >
> 
> Good daytime!
> 
> SVN trunk r11780
> 
> With GUI for client font options (#15530) we recieved several empty
>   N_("")
> lines. This is wrong, because gettext returns metainfo in this case
> (as msgfmt says).
> 
> So while there is no text inside, line shouldn't be marked for
> translation.
> 
> Quick fix is attached (but maybe it would be better to write
> descriptions for font options)

That fix isn't enough.  N_ just marks the text for translation it 
doesn't actually translate it.  So _("") will still be called somewhere 
down below and will mis-translate the text, I think.

Maybe changing the text to " " would be enough, though this is a hack.

-jason





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#15967) gui-gtk-2.0: bad i18n lines in gui_main.c, Jason Short <=