From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NCbz9-0008Tu-Lu for mharc-grub-devel@gnu.org; Mon, 23 Nov 2009 11:41:55 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCbz7-0008Rh-SC for grub-devel@gnu.org; Mon, 23 Nov 2009 11:41:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCbz2-0008J0-M5 for grub-devel@gnu.org; Mon, 23 Nov 2009 11:41:53 -0500 Received: from [199.232.76.173] (port=34610 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCbz2-0008IV-FL for grub-devel@gnu.org; Mon, 23 Nov 2009 11:41:48 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:48623 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NCbz0-0008Jk-D6; Mon, 23 Nov 2009 11:41:46 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NCbyw-0001wh-FT; Mon, 23 Nov 2009 17:41:42 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NCbyv-0000Mk-TG; Mon, 23 Nov 2009 17:41:41 +0100 Date: Mon, 23 Nov 2009 17:41:41 +0100 From: Robert Millan To: Jordi Mallach Message-ID: <20091123164141.GA1378@thorin> References: <20091122222822.GB5440@pina.cat> <20091123115615.GB25009@thorin> <20091123162851.GA4462@nubol.oskuro.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091123162851.GA4462@nubol.oskuro.net> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: The development of GNU GRUB Subject: Re: gettextizing 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, 23 Nov 2009 16:41:54 -0000 On Mon, Nov 23, 2009 at 05:28:51PM +0100, Jordi Mallach wrote: > > > - grub_printf ("\nPress any key to continue..."); > > > + grub_printf (_("\nPress any key to continue...")); > > > > I'm not sure if the spaces and newlines here would be a problem. Jordi, > > any comment? > > Not a big issue in this case. However, it makes it difficult to reuse these > strings, ie we can end up having 3 different strings: > - \nPress any key to continue... > - Press any key to continue... > - Press any key to continue...\n > > which makes it easy to make different translations for the same string if the > translator isn't careful. Thanks Jordi. This made me think, it also makes GCC allocate the string 3 times. So one more reason to handle those! -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."