Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NveNG-0003c0-6g for mharc-grub-devel@gnu.org; Sat, 27 Mar 2010 18:20:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NveNE-0003bo-J9 for grub-devel@gnu.org; Sat, 27 Mar 2010 18:20:56 -0400 Received: from [140.186.70.92] (port=37773 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NveND-0003bU-4f for grub-devel@gnu.org; Sat, 27 Mar 2010 18:20:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NveNB-0008MK-Bp for grub-devel@gnu.org; Sat, 27 Mar 2010 18:20:55 -0400 Received: from smarthost03.mail.zen.net.uk ([212.23.3.142]:40692) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NveNB-0008MC-7P for grub-devel@gnu.org; Sat, 27 Mar 2010 18:20:53 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost03.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1NveN9-00035F-Cf for grub-devel@gnu.org; Sat, 27 Mar 2010 22:20:51 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1NveN8-0002qM-00; Sat, 27 Mar 2010 22:20:50 +0000 Date: Sat, 27 Mar 2010 22:20:50 +0000 From: Colin Watson To: The development of GNU GRUB Message-ID: <20100327222050.GL20468@riva.ucam.org> References: <20100319235656.GA1677@pina.cat> <4BACDA08.4050503@gmail.com> <20100327005416.GA14529@pina.cat> <20100327112954.GA2376@nubol.oskuro.net> <20100327214237.GA19079@pina.cat> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100327214237.GA19079@pina.cat> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost03-IP: [82.69.40.219] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: gettext util 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: Sat, 27 Mar 2010 22:20:57 -0000 On Sat, Mar 27, 2010 at 09:42:37PM +0000, Carles Pina i Estany wrote: > I have not seen any program (again, yet, maybe Grub will be the first > one) to split the messages in this way. man-db does this, and it's fantastic. It vastly reduces the number of translation changes I have to deal with. It wasn't practical until I switched to the argp option parsing library which deals with a lot of the presentation issues, so that may be why a lot of programs that just use simple help output functions don't do it, but certainly as a maintainer it's vastly easier once it's done, and I haven't heard any complaints from translators. > b) Makes the alignment more difficult argp deals with this, and it's in Gnulib. We could import it without too much difficulty. > c) Makes the code a bit less clear IME the code is actually rather clearer with argp. You can look at man-db if you'd like to compare. In fact, I'd encourage that - it would give us a common basis for discussion. > Comment: sadly our grub.po already has someo of these long messages. > Would you change it and "force" the translators to change? Well, such a change would be one-time and would be not much more painful than any addition of an option under the long-message system. -- Colin Watson [cjwatson@ubuntu.com]