Propagate gettext changes from trunk
This commit is contained in:
parent
3d87b0ea7c
commit
ff684a8d7d
1 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ generate_image (const char *dir, char *prefix, FILE *out, char *mods[],
|
||||||
grub_util_load_image (kernel_path, kernel_img);
|
grub_util_load_image (kernel_path, kernel_img);
|
||||||
|
|
||||||
if (GRUB_KERNEL_MACHINE_PREFIX + strlen (prefix) + 1 > GRUB_KERNEL_MACHINE_DATA_END)
|
if (GRUB_KERNEL_MACHINE_PREFIX + strlen (prefix) + 1 > GRUB_KERNEL_MACHINE_DATA_END)
|
||||||
grub_util_error (_("prefix too long"));
|
grub_util_error (_("prefix is too long"));
|
||||||
strcpy (kernel_img + GRUB_KERNEL_MACHINE_PREFIX, prefix);
|
strcpy (kernel_img + GRUB_KERNEL_MACHINE_PREFIX, prefix);
|
||||||
|
|
||||||
/* Fill in the grub_module_info structure. */
|
/* Fill in the grub_module_info structure. */
|
||||||
|
@ -419,7 +419,7 @@ static void
|
||||||
usage (int status)
|
usage (int status)
|
||||||
{
|
{
|
||||||
if (status)
|
if (status)
|
||||||
fprintf (stderr, "Try ``grub-mkimage --help'' for more information.\n");
|
fprintf (stderr, _("Try ``%s --help'' for more information.\n"), program_name);
|
||||||
else
|
else
|
||||||
printf (_("\
|
printf (_("\
|
||||||
Usage: grub-mkimage [OPTION]... [MODULES]\n\
|
Usage: grub-mkimage [OPTION]... [MODULES]\n\
|
||||||
|
|
Loading…
Add table
Reference in a new issue