Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PVjmX-0002w5-Th for mharc-grub-devel@gnu.org; Thu, 23 Dec 2010 06:56:29 -0500 Received: from [140.186.70.92] (port=37033 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVjmQ-0002p2-DG for grub-devel@gnu.org; Thu, 23 Dec 2010 06:56:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVjmO-0005vt-RE for grub-devel@gnu.org; Thu, 23 Dec 2010 06:56:22 -0500 Received: from smarthost02.mail.zen.net.uk ([212.23.3.141]:48971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVjmO-0005ub-H2 for grub-devel@gnu.org; Thu, 23 Dec 2010 06:56:20 -0500 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost02.mail.zen.net.uk with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1PVjmM-0006Ie-Kj; Thu, 23 Dec 2010 11:56:18 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 4.69) (envelope-from ) id 1PVjmL-0006Vi-AX; Thu, 23 Dec 2010 11:56:17 +0000 Date: Thu, 23 Dec 2010 11:56:17 +0000 From: Colin Watson To: grub-devel@gnu.org Message-ID: <20101223115616.GF12396@riva.ucam.org> References: <20101223092315.15724.12376.reportbug@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101223092315.15724.12376.reportbug@localhost.localdomain> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost02-IP: [82.69.40.219] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: 607867-forwarded@bugs.debian.org, Ian Campbell Subject: Re: Bug#607867: grub-common: shouty "XEN" in menu items 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: Thu, 23 Dec 2010 11:56:29 -0000 On Thu, Dec 23, 2010 at 09:23:15AM +0000, Ian Campbell wrote: > update-grub currently produces menu items like: > 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 4.0-amd64' > > There is no reason to capitalise Xen in that way and IMHO it looks strange. > > The attached patch switches to: > 'Debian GNU/Linux, with Xen 4.0-amd64 and Linux 2.6.32-5-xen-amd64' > > I moved Xen first since I think it makes it clearer that a given menu item > launches Xen, which is useful information to put up front. Also I found that > with the long Linux version numbers Debian uses the Xen was very nearly off the > edge of the screen. Makes sense to me. Vladimir, you wrote this script - do you agree? Could you please provide a ChangeLog entry for upstream? > Although the string is processed with gettext_quoted it doesn't appear to be > translated anywhere (or at least I couldn't find where). I'm not sure about unstable, but at least the version of GRUB in experimental has translations of messages in util/grub.d/. > === modified file 'util/grub.d/20_linux_xen.in' > --- util/grub.d/20_linux_xen.in 2010-12-21 12:49:29 +0000 > +++ util/grub.d/20_linux_xen.in 2010-12-23 09:14:38 +0000 > @@ -60,11 +60,11 @@ > args="$5" > xen_args="$6" > if ${recovery} ; then > - title="$(gettext_quoted "%s, with Linux %s and XEN %s (recovery mode)")" > + title="$(gettext_quoted "%s, with Xen %s and Linux %s (recovery mode)")" > else > - title="$(gettext_quoted "%s, with Linux %s and XEN %s")" > + title="$(gettext_quoted "%s, with Xen %s and Linux %s")" > fi > - printf "menuentry '${title}' ${CLASS} {\n" "${os}" "${version}" "${xen_version}" > + printf "menuentry '${title}' ${CLASS} {\n" "${os}" "${xen_version}" "${version}" > if ! ${recovery} ; then > save_default_entry | sed -e "s/^/\t/" > fi Thanks, -- Colin Watson [cjwatson@ubuntu.com]