From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1S3qJZ-0005oA-Bg for mharc-grub-devel@gnu.org; Sat, 03 Mar 2012 09:52:05 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3qJV-0005lN-K7 for grub-devel@gnu.org; Sat, 03 Mar 2012 09:52:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3qJS-00030P-M3 for grub-devel@gnu.org; Sat, 03 Mar 2012 09:52:01 -0500 Received: from wp191.webpack.hosteurope.de ([80.237.132.198]:60911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3qJS-000305-8q for grub-devel@gnu.org; Sat, 03 Mar 2012 09:51:58 -0500 Received: from p54ba694b.dip.t-dialin.net ([84.186.105.75] helo=neptun.omega.ssw.de); authenticated by wp191.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1S3qJP-0006GA-Ib; Sat, 03 Mar 2012 15:51:55 +0100 Received: from localhost (localhost [127.0.0.1]) by neptun.omega.ssw.de (Postfix) with ESMTP id C1481E180A8 for ; Sat, 3 Mar 2012 15:51:54 +0100 (CET) X-Virus-Scanned: amavisd-new at omega.ssw.de Received: from neptun.omega.ssw.de ([127.0.0.1]) by localhost (neptun.omega.ssw.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vs8Q-jjo-SFm for ; Sat, 3 Mar 2012 15:51:42 +0100 (CET) Received: from [192.168.2.43] (p640.fritz.box [192.168.2.43]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by neptun.omega.ssw.de (Postfix) with ESMTP id 186C9E180A7 for ; Sat, 3 Mar 2012 15:51:42 +0100 (CET) Message-ID: <4F522FFC.20308@anvo-it.de> Date: Sat, 03 Mar 2012 15:51:40 +0100 From: Andreas Vogel User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: Device instability, gettext and default References: <4F521E88.7070401@gmail.com> In-Reply-To: <4F521E88.7070401@gmail.com> X-Enigmail-Version: 1.3.5 Content-Type: multipart/alternative; boundary="------------000905090901070108050101" X-bounce-key: webpack.hosteurope.de; andreas.vogel@anvo-it.de; 1330786318; 83eca35a; X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.237.132.198 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, 03 Mar 2012 14:52:04 -0000 This is a multi-part message in MIME format. --------------000905090901070108050101 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Vladimir, this enhancement is part of my patches which i sent some days ago..... I introduced an option "--label STRING" which will be used for display if it's set and which can also have environment variables (another part of my patches). It's just a matter of taste though if to use a new option --id for an invariant menu id or to use the actual menuentry title as the invariant id and to have a new option --label for the display string. Both ways provide backward compatibility. BTW, I just wonder a little that you refused my enhancements due to code freeze but are now enhancing anyway ;-) Andreas Am 03.03.2012 14:37, schrieb Vladimir '?-coder/phcoder' Serbinenko: > Hello, all. Currently we use and recommend using the title for default > variable. It has however following problems: > 1) When device names change the title changes (because of the "(on > $device)" part) > 2) If user changes locale the part ", with" gets translated and again > the title changes > Attached patch changes it to the use of IDs specified by --id but > keeps title possiblity for backward compatibility. Any comments? > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel -- Andreas Vogel Dipl.-Inform. Hellerweg 60 73728 Esslingen Germany ____________________________________________ E-Mail: Andreas.Vogel@anvo-it.de Office: +49 (711) 937 1742 FAX: +49 (711) 937 1745 Mobile: +49 (172) 730 7440 --------------000905090901070108050101 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Vladimir,

this enhancement is part of my patches which i sent some days ago.....

I introduced an option "--label STRING" which will be used for display if it's set and which can also have environment variables (another part of my patches).

It's just a matter of taste though if to use a new option --id for an invariant menu id or to use the actual menuentry title as the invariant id and to have a new option --label for the display string. Both ways provide backward compatibility.

BTW, I just wonder a little that you refused my enhancements due to code freeze but are now enhancing anyway ;-)

Andreas


Am 03.03.2012 14:37, schrieb Vladimir 'φ-coder/phcoder' Serbinenko:
Hello, all. Currently we use and recommend using the title for default variable. It has however following problems:
1) When device names change the title changes (because of the "(on $device)" part)
2) If user changes locale the part ", with" gets translated and again the title changes
Attached patch changes it to the use of IDs specified by --id but keeps title possiblity for backward compatibility. Any comments?



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

-- 
Andreas Vogel
Dipl.-Inform.
Hellerweg 60
73728 Esslingen
Germany
____________________________________________
E-Mail:  Andreas.Vogel@anvo-it.de
Office:  +49 (711) 937 1742
FAX:     +49 (711) 937 1745
Mobile:  +49 (172) 730 7440
--------------000905090901070108050101--