From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N9pNF-0003lV-AU for mharc-grub-devel@gnu.org; Sun, 15 Nov 2009 19:23:17 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N9pND-0003l5-4H for grub-devel@gnu.org; Sun, 15 Nov 2009 19:23:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N9pN7-0003kB-C2 for grub-devel@gnu.org; Sun, 15 Nov 2009 19:23:13 -0500 Received: from [199.232.76.173] (port=54145 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9pN7-0003k8-8S for grub-devel@gnu.org; Sun, 15 Nov 2009 19:23:09 -0500 Received: from smarthost02.mail.zen.net.uk ([212.23.3.141]:33966) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N9pN6-0006A2-U0 for grub-devel@gnu.org; Sun, 15 Nov 2009 19:23:09 -0500 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost02.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1N9pN4-0008SG-NS; Mon, 16 Nov 2009 00:23:06 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) id 1N9pN2-0007rs-00; Mon, 16 Nov 2009 00:23:05 +0000 Date: Mon, 16 Nov 2009 00:23:04 +0000 From: Colin Watson To: The development of GNU GRUB Message-ID: <20091116002303.GV28534@riva.ucam.org> References: <20091115231355.GA11962@thorin> <20091115235909.GA12905@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091115235909.GA12905@thorin> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost02-IP: [82.69.40.219] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Jordi Mallach , Carles Pina i Estany Subject: Re: gettext in build system X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 00:23:15 -0000 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 [cjwatson@ubuntu.com]