From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: Bug#607867: grub-common: shouty "XEN" in menu items
Date: Sat, 25 Dec 2010 13:53:31 +0100 [thread overview]
Message-ID: <4D15E94B.8040700@gmail.com> (raw)
In-Reply-To: <20101223115616.GF12396@riva.ucam.org>
[-- Attachment #1: Type: text/plain, Size: 2141 bytes --]
On 12/23/2010 12:56 PM, Colin Watson wrote:
> 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?
>
>
Ok with me. You can change it in trunk.
> 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,
>
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
next prev parent reply other threads:[~2010-12-25 12:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20101223092315.15724.12376.reportbug@localhost.localdomain>
2010-12-23 11:56 ` Bug#607867: grub-common: shouty "XEN" in menu items Colin Watson
2010-12-23 12:05 ` Ian Campbell
2010-12-23 21:01 ` Ian Campbell
2010-12-25 12:55 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-12-25 12:53 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2010-12-31 22:50 ` Colin Watson
2011-01-02 11:04 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D15E94B.8040700@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.