diff --git a/ChangeLog b/ChangeLog index 11af20921..2fdc8b616 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-26 Vladimir Serbinenko + + * grub-core/commands/probe.c (grub_cmd_probe): Gettextise UUID and label + errors. + 2012-02-26 Vladimir Serbinenko * grub-core/gnulib/argp-fmtstream.c (__argp_get_display_len): Stop on diff --git a/grub-core/commands/probe.c b/grub-core/commands/probe.c index 8527dd531..695ce307a 100644 --- a/grub-core/commands/probe.c +++ b/grub-core/commands/probe.c @@ -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);