]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/commands/probe.c (grub_cmd_probe): Gettextise UUID and label
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 26 Feb 2012 19:36:09 +0000 (20:36 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 26 Feb 2012 19:36:09 +0000 (20:36 +0100)
errors.

ChangeLog
grub-core/commands/probe.c

index 11af2092177be3438db1d76aa997b4c77e669601..2fdc8b6164c03433704561c8603d9bcd2fbe4b15 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-26  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/commands/probe.c (grub_cmd_probe): Gettextise UUID and label
+       errors.
+
 2012-02-26  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/gnulib/argp-fmtstream.c (__argp_get_display_len): Stop on
index 8527dd5316eb50bcb0e09495c57f7c09d7845885..695ce307a7e74a78b66ee0a02c87274d0fc0abb4 100644 (file)
@@ -110,13 +110,13 @@ grub_cmd_probe (grub_extcmd_context_t ctxt, int argc, char **args)
       char *uuid;
       if (! fs->uuid)
        return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
-                          "uuid for this FS isn't supported yet");
+                          N_("%s does not support UUIDs"), fs->name);
       err = fs->uuid (dev, &uuid);
       if (err)
        return err;
       if (! uuid)
        return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
-                          "uuid for this FS isn't supported yet");
+                          N_("%s does not support UUIDs"), fs->name);
 
       if (state[0].set)
        grub_env_set (state[0].arg, uuid);
@@ -130,13 +130,15 @@ grub_cmd_probe (grub_extcmd_context_t ctxt, int argc, char **args)
       char *label;
       if (! fs->label)
        return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
-                          "label for this FS isn't supported yet");
+                          N_("filesystem `%s' does not support labels"),
+                          fs->name);
       err = fs->label (dev, &label);
       if (err)
        return err;
       if (! label)
        return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
-                          "label for this FS isn't supported yet");
+                          N_("filesystem `%s' does not support labels"),
+                          fs->name);
 
       if (state[0].set)
        grub_env_set (state[0].arg, label);