From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NN7vx-0006B2-AE for mharc-grub-devel@gnu.org; Tue, 22 Dec 2009 11:50:05 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NN7vv-00069U-Kh for grub-devel@gnu.org; Tue, 22 Dec 2009 11:50:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NN7vs-00064u-22 for grub-devel@gnu.org; Tue, 22 Dec 2009 11:50:03 -0500 Received: from [199.232.76.173] (port=56142 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NN7vr-00064k-OD for grub-devel@gnu.org; Tue, 22 Dec 2009 11:49:59 -0500 Received: from mail-fx0-f213.google.com ([209.85.220.213]:64472) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NN7vr-0004gT-B9 for grub-devel@gnu.org; Tue, 22 Dec 2009 11:49:59 -0500 Received: by fxm5 with SMTP id 5so6455306fxm.8 for ; Tue, 22 Dec 2009 08:49:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=85o1oJ7J51Knx+7Vsau1A+DTtFT6CJwzs/T79lYJoyU=; b=jQgJxt3W+5UTWgllcFVjietLA4cPeOcuw4g7sbIAjKLaXhfK2+QylcUIoVX969Yqim hAnyz9ZPHLfM6JlkPwA4+8AjGJIBxTPTwWwGY8POPDnf9oW87IuKo71usSCTsgHX4PTJ Vm+XIrKekPDIoiNbYbgzx8w49huB+C71ZXdE8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=OxZ4WRINRVcvwz0nQkgXl9+fEGjz74x1tEeXeeUOfCZrAornvQ+ukWVTiyZyDaNk7F qbgEfj4ZCB4SO9XzA2EWCssAeuho06W/47DZtiNiYqYmVYNwG0X82iHSVjAsawdCmPjc x85s9auQ4ZdJ/nODhWDtrwRcblAGR2YKFI2Gg= Received: by 10.87.64.15 with SMTP id r15mr9073117fgk.35.1261500598231; Tue, 22 Dec 2009 08:49:58 -0800 (PST) Received: from debian.bg45.phnet (27.65.202.62.cust.bluewin.ch [62.202.65.27]) by mx.google.com with ESMTPS id e3sm24008940fga.26.2009.12.22.08.49.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 22 Dec 2009 08:49:57 -0800 (PST) Message-ID: <4B30F8A3.9040109@gmail.com> Date: Tue, 22 Dec 2009 17:49:39 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <20091221221916.GA26517@pina.cat> <20091222162931.GA26979@nubol.oskuro.net> In-Reply-To: <20091222162931.GA26979@nubol.oskuro.net> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigF46D28B77F44DF02F531E9D2" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: grub_error messages 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: Tue, 22 Dec 2009 16:50:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF46D28B77F44DF02F531E9D2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Jordi Mallach wrote: > On Mon, Dec 21, 2009 at 10:19:16PM +0000, Carles Pina i Estany wrote: > =20 >> b) At beginning I thought that we would not gettext error messages, bu= t >> I see that lot of these messages appears to the end user. Do we gettex= t >> using N_(" ") and then where it's printed I use _(" ") ? I would say >> yes. >> =20 > > No! Don't use any of N_() or _() if the message isn't meant to be trans= lated. > If it's extracted into the pot file but then it's not used by GRUB (not= > being marked with the necessary gettext call), it's a waste of time for= > translators, of course. > > =20 Jordi, I think you misunderstand. What Carles propose is to do real gettext call in grub_error and not before calling it. We already use N_ for this purpose. --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigF46D28B77F44DF02F531E9D2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAksw+KkACgkQNak7dOguQglnUwD/f/kDSNuvC5lseHsUSJzkD3Jr WbXJkdruaR/XMGDQbEwA/1omzUYrZXoDsYjMvEzu+f3yEMyoylqQOZzqGgy2OFVW =hn38 -----END PGP SIGNATURE----- --------------enigF46D28B77F44DF02F531E9D2--