From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm)
Date: Mon, 21 Jan 2008 09:18:19 -0500 [thread overview]
Message-ID: <1200925099.15198.16.camel@dv> (raw)
In-Reply-To: <878x2jxyc2.fsf@xs4all.nl>
On Mon, 2008-01-21 at 11:33 +0100, Marco Gerards wrote:
> Jordi Mallach <jordi@gnu.org> writes:
>
> > On Tue, Jan 15, 2008 at 12:18:55AM +0100, Robert Millan wrote:
> >> Is this better?
> >> + char *msg = " The highlighted entry will be booted automatically in %ds. ";
> >> + char *msg_end = grub_strchr (msg, '%');
> >> +
> >> + grub_printf (second_stage ? msg_end : msg, timeout);
> >
> > Yes; however as discussed on IRC we'll eventually have to take into
> > account plural form handling. I need to discuss this with Danilo Segan
> > or Christian Perrier for this particular case.
>
> Is gettext capable of this?
Yes. It's very good at it. But I don't know how heavy the runtime part
is going to be. I don't think we can just link a library into GRUB, so
perhaps it will need to be copied to the GRUB sources and stripped down.
But I still think it would be an overkill. Even the Linux kernel
doesn't offer any translation for its boot messages.
And if we go with the translation, I think it should be possible for any
language to rephrase messages in a way that would not require plural
handling.
--
Regards,
Pavel Roskin
next prev parent reply other threads:[~2008-01-21 14:18 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-14 14:10 [PATCH] fix flickering timeout message for slow terminals (gfxterm) Robert Millan
2008-01-14 20:32 ` Jordi Mallach
2008-01-14 23:18 ` Robert Millan
2008-01-15 22:54 ` Jordi Mallach
2008-01-21 10:33 ` Marco Gerards
2008-01-21 14:18 ` Pavel Roskin [this message]
2008-01-21 14:47 ` Robert Millan
2008-01-21 15:10 ` Marco Gerards
2008-01-21 15:44 ` Robert Millan
2008-01-21 16:52 ` Marco Gerards
2008-01-21 16:59 ` Robert Millan
2008-01-14 20:32 ` Yoshinori K. Okuji
2008-01-14 20:47 ` Robert Millan
2008-01-15 12:25 ` Marco Gerards
2008-01-15 12:41 ` Robert Millan
2008-01-15 12:51 ` Marco Gerards
2008-01-15 14:04 ` Robert Millan
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=1200925099.15198.16.camel@dv \
--to=proski@gnu.org \
--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.