Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JGtwq-0004tA-5L for mharc-grub-devel@gnu.org; Mon, 21 Jan 2008 05:32:12 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGtwo-0004rt-Em for grub-devel@gnu.org; Mon, 21 Jan 2008 05:32:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGtwl-0004qK-WE for grub-devel@gnu.org; Mon, 21 Jan 2008 05:32:09 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGtwl-0004py-MB for grub-devel@gnu.org; Mon, 21 Jan 2008 05:32:07 -0500 Received: from smtp-vbr12.xs4all.nl ([194.109.24.32]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JGtwl-0002aD-D6 for grub-devel@gnu.org; Mon, 21 Jan 2008 05:32:07 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0LAW5Jt074233 for ; Mon, 21 Jan 2008 11:32:06 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <20080114141015.GA27293@thorin> <20080114203225.GA21792@nubol.oskuro.net> <20080114231855.GA18277@thorin> <20080115225435.GA21928@nubol.oskuro.net> Mail-Copies-To: mgerards@xs4all.nl Date: Mon, 21 Jan 2008 11:33:17 +0100 In-Reply-To: <20080115225435.GA21928@nubol.oskuro.net> (Jordi Mallach's message of "Tue, 15 Jan 2008 23:54:35 +0100") Message-ID: <878x2jxyc2.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 10:32:10 -0000 Jordi Mallach writes: > On Tue, Jan 15, 2008 at 12:18:55AM +0100, Robert Millan wrote: >> Is this better? >> + char *msg = " The highlighted entry will be booted automatically in %ds. "; >> + char *msg_end = grub_strchr (msg, '%'); >> + >> + grub_printf (second_stage ? msg_end : msg, timeout); > > Yes; however as discussed on IRC we'll eventually have to take into > account plural form handling. I need to discuss this with Danilo Segan > or Christian Perrier for this particular case. Is gettext capable of this? -- Marco