Clarify several translatable messages.
This commit is contained in:
parent
c00c34efe1
commit
bfdfeb2508
22 changed files with 60 additions and 41 deletions
|
@ -89,6 +89,6 @@ grub_util_load_config (struct grub_util_config *cfg)
|
|||
fclose (f);
|
||||
}
|
||||
else
|
||||
grub_util_warn (_("cannot open config file `%s': %s"),
|
||||
grub_util_warn (_("cannot open configuration file `%s': %s"),
|
||||
cfgfile, strerror (errno));
|
||||
}
|
||||
|
|
|
@ -37,5 +37,7 @@ grub_get_random (void *out, grub_size_t len)
|
|||
Some functions like grub-mkpaswd and installing on UUID-less disks will be \
|
||||
disabled."
|
||||
grub_util_error ("%s",
|
||||
/* TRANSLATORS: The OS itself may very well have a random
|
||||
number generator but GRUB doesn't know how to access it. */
|
||||
_("no random number generator is available for your OS"));
|
||||
}
|
||||
|
|
|
@ -70,12 +70,12 @@ grub_util_hurd_get_disk_info (const char *dev, grub_uint32_t *secsize, grub_disk
|
|||
&data, &data_len);
|
||||
|
||||
if (num_ints < 1)
|
||||
grub_util_error (_("Storage info for `%s' does not include type"), dev);
|
||||
grub_util_error (_("Storage information for `%s' does not include type"), dev);
|
||||
if (ints[0] != STORAGE_DEVICE)
|
||||
grub_util_error (_("`%s' is not a local disk"), dev);
|
||||
|
||||
if (num_offsets != 2)
|
||||
grub_util_error (_("Storage info for `%s' does indicate neither plain partition nor plain disk"), dev);
|
||||
grub_util_error (_("Storage information for `%s' indicates neither a plain partition nor a plain disk"), dev);
|
||||
if (parent)
|
||||
{
|
||||
*parent = NULL;
|
||||
|
|
|
@ -134,6 +134,6 @@ grub_util_load_config (struct grub_util_config *cfg)
|
|||
fclose (f);
|
||||
}
|
||||
else
|
||||
grub_util_warn (_("cannot open config file `%s': %s"),
|
||||
grub_util_warn (_("cannot open configuration file `%s': %s"),
|
||||
cfgfile, strerror (errno));
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ get_ofpathname (const char *dev)
|
|||
return ret;
|
||||
|
||||
fail:
|
||||
grub_util_error (_("couldn't find IEEE1275 device tree path for %s.\nYou will have to set `boot-device' variable manually"),
|
||||
grub_util_error (_("couldn't find IEEE1275 device path for %s.\nYou will have to set `boot-device' variable manually"),
|
||||
dev);
|
||||
}
|
||||
|
||||
|
|
|
@ -52,6 +52,6 @@ grub_util_load_config (struct grub_util_config *cfg)
|
|||
fclose (f);
|
||||
}
|
||||
else
|
||||
grub_util_warn (_("cannot open config file `%s': %s"),
|
||||
grub_util_warn (_("cannot open configuration file `%s': %s"),
|
||||
cfgfile, strerror (errno));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue