[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm)
From: |
Marco Gerards |
Subject: |
Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm) |
Date: |
Mon, 21 Jan 2008 16:10:37 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Pavel Roskin <address@hidden> writes:
> On Mon, 2008-01-21 at 11:33 +0100, Marco Gerards wrote:
>> Jordi Mallach <address@hidden> 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.
If done efficiently, code shouldn't get too big. Perhaps it is better
to integrate this into normal.mod? I wouldn't mind a few extra KB
there for such a feature.
--
Marco
- Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm), (continued)
Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm), Jordi Mallach, 2008/01/14
- Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm), Robert Millan, 2008/01/14
- Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm), Jordi Mallach, 2008/01/15
- Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm), Marco Gerards, 2008/01/21
- Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm), Pavel Roskin, 2008/01/21
- Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm), Robert Millan, 2008/01/21
- Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm),
Marco Gerards <=
- Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm), Robert Millan, 2008/01/21
- Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm), Marco Gerards, 2008/01/21
- Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm), Robert Millan, 2008/01/21