* grub-core/commands/menuentry.c: Add TRANSLATORS comments.

* grub-core/kern/emu/hostdisk.c: Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-05-03 23:43:59 +02:00
parent e5e4ca486c
commit 11858300e9
3 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-05-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
* grub-core/commands/menuentry.c: Add TRANSLATORS comments.
* grub-core/kern/emu/hostdisk.c: Likewise.
2012-05-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
Handle hurd userspace partitions.

View file

@ -37,6 +37,10 @@ static const struct grub_arg_option options[] =
{"source", 4, 0,
N_("Use STRING as menu entry body."), N_("STRING"), ARG_TYPE_STRING},
{"id", 0, 0, N_("Menu entry identifier."), N_("STRING"), ARG_TYPE_STRING},
/* TRANSLATORS: menu entry can either be bootable by anyone or only by
handful of users. By default when security is active only superusers can
boot a given only superusers. With --unrestricted (this option)
anyone can boot it. */
{"unrestricted", 0, 0, N_("This entry can be booted by any user."),
0, ARG_TYPE_NONE},
{0, 0, 0, 0, 0, 0}

View file

@ -1301,7 +1301,12 @@ read_device_map (const char *dev_map)
strcpy (map[drive].drive + sizeof ("hostdisk/") - 1, p);
c = *drive_p;
*drive_p = 0;
grub_util_warn (_("the drive name %s in device.map is incorrect. "
/* TRANSLATORS: device.map is a filename. Not to be translated.
device.map specifies disk correspondance overrides. Previously
one could create any kind of device name with this. Due to
some problems we decided to limit it to just a handful
possibilities. */
grub_util_warn (_("the drive name `%s' in device.map is incorrect. "
"Using %s instead. "
"Please use the form [hfc]d[0-9]* "
"(E.g. `hd0' or `cd')"),