]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/getroot.c (find_hurd_root_device): Try to make error message
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 4 May 2012 00:26:39 +0000 (02:26 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 4 May 2012 00:26:39 +0000 (02:26 +0200)
and comments to translators clearer.

ChangeLog
util/getroot.c

index 5aeda05f504196f88b5820e0c04ec6ec37671296..3d2f9b098551d36c7852d21c059bfadcea83e269 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-04  Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+       * util/getroot.c (find_hurd_root_device): Try to make error message
+       and comments to translators clearer.
+
 2012-05-04  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/commands/menuentry.c: Fix typo in TRANSLATORS comments.
index f4730f60ee50d19cfd7b59cd76013b719e170219..ef747e52010e3881a208726a4f279e3fc3fd835e 100644 (file)
@@ -721,17 +721,23 @@ find_hurd_root_device (const char *path)
 
   file = file_name_lookup (path, 0, 0);
   if (file == MACH_PORT_NULL)
+    /* TRANSLATORS: The first %s is the file being looked at, the second %s is
+       the error message.  */
     grub_util_error (_("cannot open `%s': %s"), path, strerror (errno));
 
   /* This returns catenated 0-terminated strings.  */
   err = file_get_fs_options (file, &argz, &argz_len);
   if (err)
-    grub_util_error (_("cannot get filesystem options "
+    /* TRANSLATORS: On GNU/Hurd, a "translator" is similar to a filesystem
+       mount, but handled by a userland daemon, whose invocation command line
+       is being fetched here.  First %s is the file being looked at (for which
+       we are fetching the "translator" command line), second %s is the error
+       message.
+       */
+    grub_util_error (_("cannot get translator command line "
                        "for path `%s': %s"), path, strerror(err));
   if (argz_len == 0)
-    /* TRANSLATORS: a "translator" is similar to a filesystem, but handled by a
-     * userland daemon.  */
-    grub_util_error (_("translator is empty for path `%s'"), path);
+    grub_util_error (_("translator command line is empty for path `%s'"), path);
 
   /* Make sure the string is terminated.  */
   argz[argz_len-1] = 0;