]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/commands/menuentry.c: Add TRANSLATORS comments.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 3 May 2012 21:43:59 +0000 (23:43 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 3 May 2012 21:43:59 +0000 (23:43 +0200)
* grub-core/kern/emu/hostdisk.c: Likewise.

ChangeLog
grub-core/commands/menuentry.c
grub-core/kern/emu/hostdisk.c

index 644a149cf2627f11d055fe4d0c10845a5011851b..e9c79327b0e9e05c32343aa4729481e0c0e403ce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index a1a7e52eedd6c8b6bcce9fd8ac2a00aa142ff643..af63bb2a0ddccbd4ba8ea2ce9bcc020c1ccebc7f 100644 (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}
index ccd7f579fb26ea753824a8b0137e83be91338032..706a1158cda3c9482726cd3841e053123be68a71 100644 (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')"),