Clarify several translatable messages.
This commit is contained in:
parent
c00c34efe1
commit
bfdfeb2508
22 changed files with 60 additions and 41 deletions
|
@ -1182,7 +1182,7 @@ main (int argc, char *argv[])
|
|||
if (grub_strcmp (fs->name, "hfs") != 0
|
||||
&& grub_strcmp (fs->name, "hfsplus") != 0
|
||||
&& !is_guess)
|
||||
grub_util_error (_("%s is neither hfs nor hfsplus"),
|
||||
grub_util_error (_("filesystem on %s is neither HFS nor HFS+"),
|
||||
macppcdir);
|
||||
if (grub_strcmp (fs->name, "hfs") == 0
|
||||
|| grub_strcmp (fs->name, "hfsplus") == 0)
|
||||
|
@ -1250,7 +1250,7 @@ main (int argc, char *argv[])
|
|||
}
|
||||
|
||||
if (!config.is_cryptodisk_enabled && have_cryptodisk)
|
||||
grub_util_error (_("attempt to install to cryptodisk without cryptodisk enabled. "
|
||||
grub_util_error (_("attempt to install to encrypted disk without cryptodisk enabled. "
|
||||
"Set `%s' in file `%s'."), "GRUB_ENABLE_CRYPTODISK=1",
|
||||
grub_util_get_config_filename ());
|
||||
|
||||
|
@ -1845,7 +1845,7 @@ main (int argc, char *argv[])
|
|||
|
||||
/* Try to make this image bootable using the EFI Boot Manager, if available. */
|
||||
if (!efi_distributor || efi_distributor[0] == '\0')
|
||||
grub_util_error ("%s", _("EFI distributor id isn't specified."));
|
||||
grub_util_error ("%s", _("EFI bootloader id isn't specified."));
|
||||
efifile_path = xasprintf ("\\EFI\\%s\\%s",
|
||||
efi_distributor,
|
||||
efi_file);
|
||||
|
|
|
@ -63,8 +63,8 @@ static struct argp_option options[] = {
|
|||
/* TRANSLATORS: "memdisk" here isn't an identifier, it can be translated.
|
||||
"embed" is a verb (command description). "*/
|
||||
N_("embed FILE as a memdisk image\n"
|
||||
"Implies `-p (memdisk)/boot/grub' but prefix can be overridden by "
|
||||
"later options"), 0},
|
||||
"Implies `-p (memdisk)/boot/grub' and overrides any prefix supplied previously,"
|
||||
" but the prefix itself can be overridden by later options"), 0},
|
||||
/* TRANSLATORS: "embed" is a verb (command description). "*/
|
||||
{"config", 'c', N_("FILE"), 0, N_("embed FILE as an early config"), 0},
|
||||
/* TRANSLATORS: "embed" is a verb (command description). "*/
|
||||
|
|
|
@ -80,7 +80,8 @@ argp_parser (int key, char *arg, struct argp_state *state)
|
|||
|
||||
struct argp argp = {
|
||||
options, argp_parser, NULL,
|
||||
"\v"N_("copies GRUB images into net_directory/subdir/target_cpu-platform."),
|
||||
"\v"N_("Prepares GRUB network boot images at net_directory/subdir "
|
||||
"assuming net_directory being TFTP root."),
|
||||
NULL, grub_install_help_filter, NULL
|
||||
};
|
||||
|
||||
|
|
|
@ -212,7 +212,7 @@ struct argp argp = {
|
|||
options, argp_parser, N_("[OPTION] SOURCE..."),
|
||||
/* TRANSLATORS: it generates one single image which is bootable through any method. */
|
||||
N_("Make GRUB CD-ROM, disk, pendrive and floppy bootable image.")"\v"
|
||||
N_("Generates a bootable rescue image with specified source files, source directories, or mkisofs options listed by the output of `%s'.\n\n"
|
||||
N_("Generates a bootable CD/USB stick/floppy image with specified source files, source directories, or mkisofs options listed by the output of `%s'.\n\n"
|
||||
"Option -- switches to native xorriso command mode.\n\n"
|
||||
"Mail xorriso support requests to <bug-xorriso@gnu.org>."),
|
||||
NULL, help_filter, NULL
|
||||
|
|
|
@ -58,7 +58,10 @@ static struct argp_option options[] = {
|
|||
{"bgcolor", 'b', N_("COLOR"), 0,
|
||||
N_("use COLOR for background"), 0},
|
||||
{"text", 't', N_("STRING"), 0,
|
||||
N_("set the label to render."), 0},
|
||||
/* TRANSLATORS: The result is always stored to file and
|
||||
never shown directly, so don't use "show" as synonym for render. Use "create" if
|
||||
"render" doesn't translate directly. */
|
||||
N_("set the label to render"), 0},
|
||||
{"output", 'o', N_("FILE"), 0,
|
||||
N_("set output filename. Default is STDOUT"), 0},
|
||||
{"font", 'f', N_("FILE"), 0,
|
||||
|
@ -121,6 +124,10 @@ argp_parser (int key, char *arg, struct argp_state *state)
|
|||
|
||||
static struct argp argp = {
|
||||
options, argp_parser, N_("[OPTIONS]"),
|
||||
/* TRANSLATORS: This file takes a text and creates a graphical representation of it,
|
||||
putting the result into .disk_label file. The result is always stored to file and
|
||||
never shown directly, so don't use "show" as synonym for render. Use "create" if
|
||||
"render" doesn't translate directly. */
|
||||
N_("Render Apple .disk_label."),
|
||||
NULL, NULL, NULL
|
||||
};
|
||||
|
|
|
@ -60,14 +60,16 @@ static struct argp_option options[] = {
|
|||
{"root", 'r', N_("DIR"), 0,
|
||||
N_("root directory of the syslinux disk [default=/]."), 0},
|
||||
{"target-cwd", 'T', N_("DIR"), 0,
|
||||
N_("current directory as it will be seen on runtime [default=$pwd]."), 0},
|
||||
N_(
|
||||
"current directory of the syslinux as it will be seen on runtime [default is parent directory of input file]."
|
||||
), 0},
|
||||
{"cwd", 'c', N_("DIR"), 0,
|
||||
N_("current directory of the syslinux disk [default=$pwd]."), 0},
|
||||
N_("current directory of the syslinux [default is parent directory of input file]."), 0},
|
||||
|
||||
{"output", 'o', N_("FILE"), 0, N_("write output to FILE [default=stdout]."), 0},
|
||||
{"isolinux", 'i', 0, 0, N_("assume isolinux."), 0},
|
||||
{"pxelinux", 'p', 0, 0, N_("assume pxelinux."), 0},
|
||||
{"syslinux", 's', 0, 0, N_("assume syslinux."), 0},
|
||||
{"isolinux", 'i', 0, 0, N_("assume input is an isolinux configuration file."), 0},
|
||||
{"pxelinux", 'p', 0, 0, N_("assume input is a pxelinux configuration file."), 0},
|
||||
{"syslinux", 's', 0, 0, N_("assume input is a syslinux configuration file."), 0},
|
||||
{"verbose", 'v', 0, 0, N_("print verbose messages."), 0},
|
||||
{ 0, 0, 0, 0, 0, 0 }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue