Final touches (don't gettextize a string, chang setted by set)
This commit is contained in:
parent
b6c871b0d7
commit
6e2621b9ff
2 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ grub_gettext_init_ext (const char *lang)
|
||||||
locale_dir = grub_env_get ("locale_dir");
|
locale_dir = grub_env_get ("locale_dir");
|
||||||
if (locale_dir == NULL)
|
if (locale_dir == NULL)
|
||||||
{
|
{
|
||||||
grub_printf ("locale_dir variable is not setted up.");
|
grub_printf ("locale_dir variable is not set up.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -267,7 +267,7 @@ print_timeout (int timeout, int offset, int second_stage)
|
||||||
{
|
{
|
||||||
/* NOTE: Do not remove the trailing space characters.
|
/* NOTE: Do not remove the trailing space characters.
|
||||||
They are required to clear the line. */
|
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, '%');
|
char *msg_end = grub_strchr (msg, '%');
|
||||||
|
|
||||||
grub_gotoxy (second_stage ? (msg_end - msg) : 0, GRUB_TERM_HEIGHT - 3);
|
grub_gotoxy (second_stage ? (msg_end - msg) : 0, GRUB_TERM_HEIGHT - 3);
|
||||||
|
|
Loading…
Reference in a new issue