Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NCbnP-0002yx-QP for mharc-grub-devel@gnu.org; Mon, 23 Nov 2009 11:29:47 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCbnO-0002yJ-AN for grub-devel@gnu.org; Mon, 23 Nov 2009 11:29:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCbnJ-0002vQ-H1 for grub-devel@gnu.org; Mon, 23 Nov 2009 11:29:45 -0500 Received: from [199.232.76.173] (port=36014 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCbnJ-0002vL-B3 for grub-devel@gnu.org; Mon, 23 Nov 2009 11:29:41 -0500 Received: from flatline.sindominio.net ([82.144.4.26]:35935) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NCbnI-00067w-JJ for grub-devel@gnu.org; Mon, 23 Nov 2009 11:29:41 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by flatline.sindominio.net (Postfix) with ESMTP id AD55D2629F8; Mon, 23 Nov 2009 17:29:02 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at sindominio.net Received: from flatline.sindominio.net ([127.0.0.1]) by localhost (flatline.sindominio.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jwLpfXIvh4X0; Mon, 23 Nov 2009 17:28:56 +0100 (CET) Received: from nubol.oskuro.net (60.109.221.87.dynamic.jazztel.es [87.221.109.60]) by flatline.sindominio.net (Postfix) with ESMTPA id F0015262773; Mon, 23 Nov 2009 17:28:55 +0100 (CET) Received: by nubol.oskuro.net (Postfix, from userid 1000) id 02F9D3AE87A; Mon, 23 Nov 2009 17:28:51 +0100 (CET) Date: Mon, 23 Nov 2009 17:28:51 +0100 From: Jordi Mallach To: Robert Millan Message-ID: <20091123162851.GA4462@nubol.oskuro.net> References: <20091122222822.GB5440@pina.cat> <20091123115615.GB25009@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20091123115615.GB25009@thorin> Organization: SinDominio X-Operating-System: Debian GNU/Linux sid (Linux 2.6.31-1-686 i686) User-Agent: Mutt/1.5.20 (2009-06-14) Content-Transfer-Encoding: quoted-printable 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:29:46 -0000 On Mon, Nov 23, 2009 at 12:56:15PM +0100, Robert Millan wrote: > > + grub_printf (_("\ > > [ Minimal BASH-like line editing is supported. For the first word, = TAB\n\ > ^ > > lists possible command completions. Anywhere else TAB lists possi= ble\n\ > ^^ > > - device/file completions.%s ]\n\n", > > + device/file completions.%s ]\n\n"), > ^^ >=20 > Eliminating the newlines is not trivial, but it fixes another problem: = this > string doesn't render well on non-80x25 terminals. Right, this string is of the PAIN kind. > > - grub_printf (" Booting a command list\n\n"); > > + grub_printf (_(" Booting a command list\n\n")); > > [...] > > - grub_printf ("\nPress any key to continue..."); > > + grub_printf (_("\nPress any key to continue...")); >=20 > 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 the= se 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. --=20 Jordi Mallach P=E9rez -- Debian developer http://www.debian.org/ jordi@sindominio.net jordi@debian.org http://www.sindominio.net/ GnuPG public key information available at http://oskuro.net/