Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NvUp7-0000qJ-4j for mharc-grub-devel@gnu.org; Sat, 27 Mar 2010 08:09:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NvUp4-0000p2-CK for grub-devel@gnu.org; Sat, 27 Mar 2010 08:09:02 -0400 Received: from [140.186.70.92] (port=50431 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvUp1-0000nS-Vp for grub-devel@gnu.org; Sat, 27 Mar 2010 08:09:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NvUoy-0007F7-13 for grub-devel@gnu.org; Sat, 27 Mar 2010 08:08:59 -0400 Received: from flatline.sindominio.net ([82.144.4.26]:55427) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvUox-0007Em-0T for grub-devel@gnu.org; Sat, 27 Mar 2010 08:08:55 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by flatline.sindominio.net (Postfix) with ESMTP id 3B9F334803C for ; Sat, 27 Mar 2010 13:08:53 +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 Dh2nc4VpGrpA for ; Sat, 27 Mar 2010 13:08:46 +0100 (CET) Received: from nubol.oskuro.net (59.41.19.95.dynamic.jazztel.es [95.19.41.59]) by flatline.sindominio.net (Postfix) with ESMTPA id BFDA434802A for ; Sat, 27 Mar 2010 13:08:45 +0100 (CET) Received: by nubol.oskuro.net (Postfix, from userid 1000) id 663B43AE41B; Sat, 27 Mar 2010 12:29:55 +0100 (CET) Date: Sat, 27 Mar 2010 12:29:54 +0100 From: Jordi Mallach To: grub-devel@gnu.org Message-ID: <20100327112954.GA2376@nubol.oskuro.net> References: <20100319235656.GA1677@pina.cat> <4BACDA08.4050503@gmail.com> <20100327005416.GA14529@pina.cat> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20100327005416.GA14529@pina.cat> Organization: SinDominio X-Operating-System: Debian GNU/Linux sid (Linux 2.6.32-3-686 i686) User-Agent: Mutt/1.5.20 (2009-06-14) Content-Transfer-Encoding: quoted-printable 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 12:09:02 -0000 Hi Carles, On Sat, Mar 27, 2010 at 12:54:16AM +0000, Carles Pina i Estany wrote: > > According to gettext manual usage messages must be internationalised = on > > per-option basis to allow reuse of e.g. --help desciption and to avoi= d > > the whole big message to be marked as fuzzy if only one option change= s. >=20 > I'm surprised, specially because if I get the gettext project as a > reference: > http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext-runtime/src/g= ettext.c?id=3Dc81a5234a673f6fbc0f8b7ea8f18ef73021b0a2e#n252 >=20 > They are not doing. Other projects that I can remember where my LUG has > done things (e.g. tar) is not done in this way. >=20 > I don't have any probem to change in Grub, I just wonder if people is > expecting it :-/ >=20 > I'm adding Jordi Mallach to the CC Whether gettext itself is doing it or not, I'll stick to my experience. As a translator, I am *really* fed up of trying to fish in a huge help output to find a tiny change that made the whole string fuzzy and so on. This is now less of a problem with the tools that support showing the "previous" string (#|), but it's a huge pain nevertheless. If you want to make translator's life easier, I'd totally go with per option messages. If alignment is a problem (how?), I guess translatio= n comments could be useful to describe how the translated string should loo= k like. I assume you mean: --help Show this help string. --eggs Get two eggs from the fridge, crack the= m and put them on hot olive oil. It'd be difficult to align "Show" with "Get". I'd say that this depends a lot on the editor you use. Emacs at least makes it easy to calculate if you got it right or wrong. Jordi --=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/