Final touches (don't gettextize a string, chang setted by set)

This commit is contained in:
Carles Pina i Estany 2009-11-22 21:41:33 +00:00
parent b6c871b0d7
commit 6e2621b9ff
2 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ grub_gettext_init_ext (const char *lang)
locale_dir = grub_env_get ("locale_dir");
if (locale_dir == NULL)
{
grub_printf ("locale_dir variable is not setted up.");
grub_printf ("locale_dir variable is not set up.");
return;
}

View File

@ -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. */
const char *msg = _(" The highlighted entry will be booted automatically in %ds. ");
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);