2010-01-03 Carles Pina i Estany <carles@pina.cat>
* normal/menu_entry.c (store_completion): Gettextizze.
This commit is contained in:
parent
136d24f643
commit
7fa7ff7439
2 changed files with 11 additions and 7 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-01-03 Carles Pina i Estany <carles@pina.cat>
|
||||
|
||||
* normal/menu_entry.c (store_completion): Gettextizze.
|
||||
|
||||
2010-01-03 Carles Pina i Estany <carles@pina.cat>
|
||||
|
||||
* kern/env.c (grub_env_unset): Set the variable to "" if has hooks.
|
||||
|
|
|
@ -816,28 +816,28 @@ store_completion (const char *item, grub_completion_type_t type, int count)
|
|||
switch (type)
|
||||
{
|
||||
case GRUB_COMPLETION_TYPE_COMMAND:
|
||||
what = "commands";
|
||||
what = N_("commands");
|
||||
break;
|
||||
case GRUB_COMPLETION_TYPE_DEVICE:
|
||||
what = "devices";
|
||||
what = N_("devices");
|
||||
break;
|
||||
case GRUB_COMPLETION_TYPE_FILE:
|
||||
what = "files";
|
||||
what = N_("files");
|
||||
break;
|
||||
case GRUB_COMPLETION_TYPE_PARTITION:
|
||||
what = "partitions";
|
||||
what = N_("partitions");
|
||||
break;
|
||||
case GRUB_COMPLETION_TYPE_ARGUMENT:
|
||||
what = "arguments";
|
||||
what = N_("arguments");
|
||||
break;
|
||||
default:
|
||||
what = "things";
|
||||
what = N_("things");
|
||||
break;
|
||||
}
|
||||
|
||||
grub_gotoxy (0, GRUB_TERM_HEIGHT - 3);
|
||||
grub_printf (" ");
|
||||
grub_printf_ (N_("Possible %s are:"), what);
|
||||
grub_printf_ (N_("Possible %s are:"), _(what));
|
||||
grub_printf ("\n ");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue