From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1S6UjR-0000mB-EH for mharc-grub-devel@gnu.org; Sat, 10 Mar 2012 17:25:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6UjP-0000lz-3P for grub-devel@gnu.org; Sat, 10 Mar 2012 17:25:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6Uj4-00064Q-ID for grub-devel@gnu.org; Sat, 10 Mar 2012 17:25:42 -0500 Received: from mail-wi0-f171.google.com ([209.85.212.171]:49636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6Uj4-000648-8z for grub-devel@gnu.org; Sat, 10 Mar 2012 17:25:22 -0500 Received: by wibhj13 with SMTP id hj13so1604796wib.12 for ; Sat, 10 Mar 2012 14:25:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=4VdXdn3UMHjubx+jlrQ/aACyfYyFPN0eMPd3E0vlcxk=; b=NIqedehk19YeayfaNbaUWy3/u94MKehKZaLSLtYP0p8Ru6JQnLoXAYnr+s183og9Be adG5cMWZNESXtuRVl2GDAHL/AtsPgR7JZFd/1tG1Q5Tnq5zgTLLtQAHlc4iuqN+3C1Kj LFxXqoT0UfaTfhanHayNP3USaiYujN1o/rQdoh0MYxR/TW/zkaURRnRJQlhuMRX5O4gR ZS7keBEdCmpSpSptAYSnRqbOGrJXQL2uugFncVHjKfNSQ+jK5ANznH66j7fyPhFoF9cH KW+oH2syDKN8fBmhRBN+UWBWczvAatgMhTZnSaCnwM0zTTqCTxYcqy8BIQVRieVrDODF XFoA== Received: by 10.216.139.78 with SMTP id b56mr4160221wej.21.1331418320253; Sat, 10 Mar 2012 14:25:20 -0800 (PST) Received: from fedora.x201.phnet (207-116.62-81.cust.bluewin.ch. [81.62.116.207]) by mx.google.com with ESMTPS id n15sm18437969wiw.6.2012.03.10.14.25.17 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 10 Mar 2012 14:25:19 -0800 (PST) Message-ID: <4F5BD4C9.4010708@gmail.com> Date: Sat, 10 Mar 2012 23:25:13 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: gettext in scripts References: <4F35A00F.2010209@gmail.com> <4F35B480.9020402@googlemail.com> In-Reply-To: <4F35B480.9020402@googlemail.com> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigC6D9714EE379EE45FC8AC5BC" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.171 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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, 10 Mar 2012 22:25:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC6D9714EE379EE45FC8AC5BC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 11.02.2012 01:21, Andreas Born wrote: > I think for common use cases it would be enough to add additionally to > the already implemented locale_dir=3D$dir1 a second environment variabl= e > like additional_locale_dir=3D$dir2. That would overcome the problem of > reloading all directories/ comparing lists. It offers less > flexibility, but a too long list of files to search would probably > have a negative performance penalty anyway.=20 I think everyone reached this consensus. Additionally it makes it similar to bash with TEXTDOMAIN variable. So the use is secondary_locale_dir=3D echo $"Text to translate" Because I discovered an important bug in gettext (inability to disable it or change locale_dir) it needed a restructure and squeezing this was trivial. Given gettext importance I did so. However currently there is no "printf" in grub and it would be too big for freeze exception. Lack of printf puts limits to localisation. --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigC6D9714EE379EE45FC8AC5BC 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.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk9b1MoACgkQNak7dOguQgmGOQEAgkCwUfeqFODDgbGnJfH7nJUw wdn2lKWvQrkEfpE6cFgA/1nGQUljLMvIMEwbZhKvJ5nuqAizwihtbH1JTOl+Ve5T =r3XB -----END PGP SIGNATURE----- --------------enigC6D9714EE379EE45FC8AC5BC--