Different changes following Robert's email 20091121230904.GA29740@thorin

This commit is contained in:
Carles Pina i Estany 2009-11-22 11:49:54 +00:00
parent ee99edc809
commit 0648f857ea
8 changed files with 107 additions and 113 deletions

View file

@ -25,7 +25,7 @@
#include <grub/time.h>
#include <grub/env.h>
#include <grub/menu_viewer.h>
#include <grub/i18n_grub.h>
#include <grub/i18n.h>
/* Time to delay after displaying an error message about a default/fallback
entry failing to boot. */
@ -267,7 +267,7 @@ print_timeout (int timeout, int offset, int second_stage)
{
/* NOTE: Do not remove the trailing space characters.
They are required to clear the line. */
char *msg = " The highlighted entry will be booted automatically in %ds. ";
const char *msg = _(" The highlighted entry will be booted automatically in %ds. ");
char *msg_end = grub_strchr (msg, '%');
grub_gotoxy (second_stage ? (msg_end - msg) : 0, GRUB_TERM_HEIGHT - 3);