Re: Problem with hard-coded fonts in applications



On Fri, 16 Feb 2001 07:50:12 +0100
Pablo Saratxaga <pablo@mandrakesoft.com> wrote:

> Kaixo!
> 
> On Fri, Feb 16, 2001 at 10:20:38AM +0900, Yukihiro Nakai wrote:
> > O> > ===>
> > > > #define FIXED_12_FONT
> > > > "-b&h-lucidatypewriter-medium-r-normal-*-12-*-*-*-*-*-*-*"
> > 
> > I suggest to all developers that it should be gettextized such as:
> > 
> > #define FIXED_12_FONT
> >  N_("-b&h-lucidatypewriter-medium-r-normal-*-12-*-*-*-*-*-*-*")
> 
> Note that xgettext doesn't find N_() on #defines, so the string
> won't show to translators...

Oops, you're right.

gchar* fixed_12_font = N_("-b&h-lucidatypewriter-medium-r-normal-*-12-*-*-*-*-*-*-*");

works. Right?

--
Nakai




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