Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NGKtB-0001L6-Om for mharc-grub-devel@gnu.org; Thu, 03 Dec 2009 18:15:09 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGKt9-0001Iq-Iz for grub-devel@gnu.org; Thu, 03 Dec 2009 18:15:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGKt4-0001Bk-N7 for grub-devel@gnu.org; Thu, 03 Dec 2009 18:15:06 -0500 Received: from [199.232.76.173] (port=47633 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGKt4-0001BX-AB for grub-devel@gnu.org; Thu, 03 Dec 2009 18:15:02 -0500 Received: from 197.red-80-32-81.staticip.rima-tde.net ([80.32.81.197]:51713 helo=mail.pina.cat) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGKt3-00073U-R6 for grub-devel@gnu.org; Thu, 03 Dec 2009 18:15:02 -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 6F0F328415525 for ; Fri, 4 Dec 2009 00:14:58 +0100 (CET) Received: by pinux (Postfix, from userid 1000) id 3ABD4FC44; Thu, 3 Dec 2009 23:15:06 +0000 (GMT) Date: Thu, 3 Dec 2009 23:15:06 +0000 From: Carles Pina i Estany To: The development of GNU GRUB Message-ID: <20091203231506.GA25552@pina.cat> References: <20091128111409.GA17183@pina.cat> <20091128190709.GC25683@thorin> <20091130231237.GB4778@nubol.oskuro.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091130231237.GB4778@nubol.oskuro.net> 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: new function: grub_printfnl 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: Thu, 03 Dec 2009 23:15:07 -0000 Hello, On Dec/01/2009, Jordi Mallach wrote: > On Sat, Nov 28, 2009 at 08:07:09PM +0100, Robert Millan wrote: > > > Gettextizzing files I have a very common situation: > > > grub_printf ("Bla bla bla\n"); > > Uhm I wonder what's the common approach to this. Maybe Jordi or someone > > else can tell? > > I think this is going too far. I don't think there's a need to remove all > trailing nl's if the string is not going to be repeated in other slightly > different ways, because adapting this means making the code a bit > less readable for what I'm seeing. grub_printf ("Bla bla bla\n"); VS grub_printfnl ("Bla bla bla"); I would say is quite similar to read. But the pros of changing is not maybe enough to change (and talking with translators they don't see problems to have \n...) I would like to do it on this weekend (after commiting other patches if possible). So, what I should do? I really don't mind, but I prefer to agree with everybody to not do it two times. I'm always talking and thinking about the endline new line. The beginning of lines that was looking like "\n\n " or similar will be out of the translation string. -- Carles Pina i Estany http://pinux.info