=== modified file 'grub-core/gfxmenu/gui_label.c' --- grub-core/gfxmenu/gui_label.c 2010-12-10 16:45:58 +0000 +++ grub-core/gfxmenu/gui_label.c 2011-12-15 12:15:31 +0000 @@ -22,6 +22,7 @@ #include #include #include +#include static const char *align_options[] = { @@ -176,6 +177,17 @@ label_set_property (void *vself, const c } else { + if (grub_strcmp (value, "@KEYMAP_LONG@") == 0) + value = _("Press enter to boot the selected OS, " + "\'e\' to edit the commands before booting " + "or \'c\' for a command-line. ESC to return previous menu."); + else if (grub_strcmp (value, "@KEYMAP_MIDDLE@") == 0) + value = _("Press enter to boot the selected OS, " + "\'e\' to edit the commands before booting " + "or \'c\' for a command-line."); + else if (grub_strcmp (value, "@KEYMAP_SHORT@") == 0) + value = _("enter: boot, \'e\': options, \'c\': cmd-line"); + /* FIXME: Add more templates here if needed. */ self->template = grub_strdup (value); self->text = grub_xasprintf (value, self->value); }