grub-devel
[Top][All Lists]
Advanced

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

Re: gettext in build system


From: Colin Watson
Subject: Re: gettext in build system
Date: Mon, 16 Nov 2009 00:23:04 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

On Mon, Nov 16, 2009 at 12:59:09AM +0100, Robert Millan wrote:
> On Mon, Nov 16, 2009 at 12:13:55AM +0100, Robert Millan wrote:
> > +#define _(str) gettext(str)
> 
> And I'm not sure if this is the right place to define _.  Isn't there
> a system-wide definition?

It's traditional to define _ in each project, since it's rather
namespace-invasive.

> > +  textdomain ("grub");
> 
> What's the usual way to handle this?  TEXTDOMAIN macro?

I usually use textdomain (PACKAGE).

-- 
Colin Watson                                       address@hidden




reply via email to

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