All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Patch for boot message
Date: Mon, 20 Aug 2007 16:36:03 +0200	[thread overview]
Message-ID: <20070820143603.GA470@aragorn> (raw)
In-Reply-To: <46BF55BC.4020103@gmail.com>

On Sun, Aug 12, 2007 at 11:47:24AM -0700, Mischa Spiegelmock wrote:
> Robert Millan wrote:
> >On Fri, Aug 10, 2007 at 11:18:55PM -0700, Mischa Spiegelmock wrote:
> >  
> >>I got sick of grub saying "The highlighted entry will be booted 
> >>automatically in 1 seconds."
> >>
> >>Here's a patch:
> >>
> >>Index: normal/menu.c
> >>===================================================================
> >>RCS file: /sources/grub/grub2/normal/menu.c,v
> >>retrieving revision 1.18
> >>diff -r1.18 menu.c
> >>331,332c331,332
> >><    The highlighted entry will be booted automatically in %d seconds.    
> >>",
> >><                      timeout);
> >>---
> >>    
> >>>   The highlighted entry will be booted automatically in %d 
> >>>      
> >>second%c     ",
> >>    
> >>>                     timeout, (timeout == 1 ? ' ' : 's'));
> >>>      
> >
> >This breaks l10n, and also adds a bogus ' ' (although that's a minor 
> >issue).
> >
> >The SI symbol for second is 's'.  Why not using that instead?
> >
> >  
> Well whatever, I was just trying to fix the currently broken behavior. 
> As for adding the "bogus" ' ', that's keeping in line with the comment 
> on the line before:
> 
>          /* NOTE: Do not remove the trailing space characters.
>             They are required to clear the line.  */

Ah, right.  I see.

> I just tried to do the least invasive patch that would keep the amount 
> of characters constant.

I fixed it to use "s".  Thanks for the correction

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)



      reply	other threads:[~2007-08-20 14:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-11  6:18 Patch for boot message Mischa Spiegelmock
2007-08-12 14:45 ` Robert Millan
2007-08-12 18:47   ` Mischa Spiegelmock
2007-08-20 14:36     ` Robert Millan [this message]

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=20070820143603.GA470@aragorn \
    --to=rmh@aybabtu.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.