Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NH4yw-0004oC-Oj for mharc-grub-devel@gnu.org; Sat, 05 Dec 2009 19:28:10 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NH4yv-0004nF-GH for grub-devel@gnu.org; Sat, 05 Dec 2009 19:28:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NH4yr-0004jl-3T for grub-devel@gnu.org; Sat, 05 Dec 2009 19:28:09 -0500 Received: from [199.232.76.173] (port=56085 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NH4yq-0004jh-T7 for grub-devel@gnu.org; Sat, 05 Dec 2009 19:28:04 -0500 Received: from 197.red-80-32-81.staticip.rima-tde.net ([80.32.81.197]:34822 helo=mail.pina.cat) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NH4yq-0006y9-Lw for grub-devel@gnu.org; Sat, 05 Dec 2009 19:28:05 -0500 Received: from pinux (82-45-164-87.cable.ubr06.hari.blueyonder.co.uk [82.45.164.87]) by mail.pina.cat (Postfix) with ESMTP id 4F77A288F2FE5 for ; Sun, 6 Dec 2009 01:28:02 +0100 (CET) Received: by pinux (Postfix, from userid 1000) id 248EE15C; Sun, 6 Dec 2009 00:28:11 +0000 (GMT) Date: Sun, 6 Dec 2009 00:28:11 +0000 From: Carles Pina i Estany To: The development of GNU GRUB Message-ID: <20091206002810.GA12045@pina.cat> References: <20091205193102.GA25867@pina.cat> <20091205202423.GB32638@thorin> <20091205204324.GA7066@pina.cat> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091205204324.GA7066@pina.cat> User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: gettext: normal/* 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: Sun, 06 Dec 2009 00:28:09 -0000 Hello, I think that my patch is fine. I only want to ask for two particular things: > === modified file 'include/grub/normal.h' > --- include/grub/normal.h 2009-08-24 23:55:06 +0000 > +++ include/grub/normal.h 2009-12-05 20:14:56 +0000 > @@ -73,6 +73,7 @@ void grub_parse_color_name_pair (grub_ui > > /* Defined in `menu_text.c'. */ > void grub_wait_after_message (void); > +void print_message_indented (const char *msg); Is it fine to add the declaration of print_message_indented in normal.h to be used from menu_text.c and main.c ? Or you would prefer some other place and declare the function in other .c file? > - if (!grub_cmdline_get ("Enter username: ", login, sizeof (login) - 1, > + if (!grub_cmdline_get (_("Enter username: "), login, sizeof (login) - 1, Is it fine to have a translatable string ended with a space? I think that it's fine (same case than \n, even thought in this case msgfmt is not warning). (there are other 2 strings that ends with a space, but that ones are easier to replace with a grub_putchar after it) When these two things are confirmed I will commit (ok?) and then hopefully add i18n support to the grub modules or util. Thanks, -- Carles Pina i Estany http://pinux.info