]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Add
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 4 Apr 2012 12:33:38 +0000 (14:33 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 4 Apr 2012 12:33:38 +0000 (14:33 +0200)
TRANSLATORS comment.
(grub_diskfilter_print_partmap): Propagate changing of error into
warning.

ChangeLog
grub-core/disk/diskfilter.c

index 1e1dbb34a8b62ee4c0263c545267f18605373bb6..ebd7ce7cf16f74a94059d064388012d55a4ac70b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-04-04  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Add
+       TRANSLATORS comment.
+       (grub_diskfilter_print_partmap): Propagate changing of error into
+       warning.
+
 2012-04-04  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * include/grub/diskfilter.h (grub_diskfilter_vg): Increase extent_size
index 0a343db6b4d7f92523189a3e3f4855fc51bcb931..06cc7e75f4b53a2b4f5f8e6a56635dec0abd3c9b 100644 (file)
@@ -297,6 +297,11 @@ grub_diskfilter_memberlist (grub_disk_t disk)
     {
       if (!pv->disk)
        {
+         /* TRANSLATORS: This message kicks in during the detection of
+            which modules needs to be included in core image. This happens
+            in the case of degraded RAID and means that autodetection may
+            fail to include some of modules. It's an installation time
+            message, not runtime message.  */
          grub_util_warn (_("Couldn't find physical volume `%s'."
                            " Some modules may be missing from core image."),
                          pv->name);
@@ -322,8 +327,17 @@ grub_diskfilter_print_partmap (grub_disk_t disk)
       {
        grub_size_t s;
        if (!pv->disk)
-         grub_util_error (_("Couldn't find physical volume `%s'."
-                            " Check your device.map"), pv->name);
+         {
+           /* TRANSLATORS: This message kicks in during the detection of
+              which modules needs to be included in core image. This happens
+              in the case of degraded RAID and means that autodetection may
+              fail to include some of modules. It's an installation time
+              message, not runtime message.  */
+           grub_util_warn (_("Couldn't find physical volume `%s'."
+                             " Some modules may be missing from core image."),
+                           pv->name);
+           continue;
+         }
        for (s = 0; pv->partmaps[s]; s++)
          grub_printf ("%s ", pv->partmaps[s]);
       }