grub-probe: Mark a "[default=]" for translation.

This commit is contained in:
Vladimir Serbinenko 2015-02-28 16:22:46 +01:00
parent ddde9ca71a
commit afd6b6bbae

View file

@ -728,10 +728,12 @@ help_filter (int key, const char *text, void *input __attribute__ ((unused)))
case 't':
{
char *ret, *t = get_targets_string ();
char *ret, *t = get_targets_string (), *def;
ret = xasprintf ("%s\n%s %s [default=%s]", _("print TARGET"),
_("available targets:"), t, targets[print]);
def = xasprintf (_("[default=%s]"), targets[print]);
ret = xasprintf ("%s\n%s %s %s", _("print TARGET"),
_("available targets:"), t, def);
free (t);
return ret;
}