+2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
+2013-12-21 Colin Watson <cjwatson@ubuntu.com>
+
+ Clarify several translatable messages.
+
2013-12-20 Colin Watson <cjwatson@ubuntu.com>
Be more verbose about some configure failures.
static const struct grub_arg_option options[] = {
{"is-i386-xen-pae-domu", 0, 0,
- N_("Check if FILE can be booted as i386 PAE xen unprivilegied guest"),
+ N_("Check if FILE can be booted as i386 PAE xen unprivileged guest kernel"),
0, 0},
{"is-x86_64-xen-domu", 0, 0,
- N_("Check if FILE can be booted as x86_64 xen unprivilegied guest"), 0, 0},
+ N_("Check if FILE can be booted as x86_64 xen unprivileged guest kernel"), 0, 0},
{"is-x86-xen-dom0", 0, 0,
- N_("Check if FILE can be used as xen x86 privilegied guest kernel"), 0, 0},
+ N_("Check if FILE can be used as xen x86 privileged guest kernel"), 0, 0},
{"is-x86-multiboot", 0, 0,
N_("Check if FILE can be used as x86 multiboot kernel"), 0, 0},
{"is-x86-multiboot2", 0, 0,
{
cmd = grub_register_command ("cmosdump", grub_cmd_cmosdump,
0,
- N_("Dump CMOS contents."));
+ N_("Show raw dump of the CMOS contents."));
}
GRUB_MOD_FINI(cmosdump)
N_("Test bit at BYTE:BIT in CMOS."));
cmd_clean = grub_register_command ("cmosclean", grub_cmd_cmosclean,
N_("BYTE:BIT"),
- N_("Clean bit at BYTE:BIT in CMOS."));
+ N_("Clear bit at BYTE:BIT in CMOS."));
cmd_set = grub_register_command ("cmosset", grub_cmd_cmosset,
N_("BYTE:BIT"),
+ /* TRANSLATORS: A bit may be either set (1) or clear (0). */
N_("Set bit at BYTE:BIT in CMOS."));
}
{
cmd_load =
grub_register_extcmd ("load_env", grub_cmd_load_env, 0,
- N_("[-f FILE] [-s|--skip-sig] [whitelisted_variable_name] [...]"),
+ N_("[-f FILE] [-s|--skip-sig] [variable_name_to_whitelist] [...]"),
N_("Load variables from environment block file."),
options);
cmd_list =
{
cmd = grub_register_extcmd ("pcidump", grub_cmd_pcidump, 0,
N_("[-s POSITION] [-d DEVICE]"),
- N_("Dump PCI configuration space."), options);
+ N_("Show raw dump of the PCI configuration space."), options);
}
GRUB_MOD_FINI(pcidump)
static const struct grub_arg_option options[] =
{
{"root", 'r', 0,
- N_("root directory of the syslinux disk (default /)."),
+ N_("root directory of the syslinux disk [default=/]."),
N_("DIR"), ARG_TYPE_STRING},
{"cwd", 'c', 0,
- N_("home directory of the syslinux config (default directory of configfile)."),
+ N_("current directory of the syslinux [default is parent directory of input file]."),
N_("DIR"), ARG_TYPE_STRING},
- {"isolinux", 'i', 0, N_("assume isolinux."), 0, 0},
- {"pxelinux", 'p', 0, N_("assume pxelinux."), 0, 0},
- {"syslinux", 's', 0, N_("assume syslinux."), 0, 0},
+ {"isolinux", 'i', 0, N_("assume input is an isolinux configuration file."), 0, 0},
+ {"pxelinux", 'p', 0, N_("assume input is a pxelinux configuration file."), 0, 0},
+ {"syslinux", 's', 0, N_("assume input is a syslinux configuration file."), 0, 0},
{0, 0, 0, 0, 0, 0}
};
N_("FILE"),
/* TRANSLATORS: "syslinux config" means
"config as used by syslinux". */
- N_("Parse syslinux config in same context"),
+ N_("Execute syslinux config in same context"),
options);
cmd_configfile
= grub_register_extcmd ("syslinux_configfile",
grub_cmd_syslinux_source, 0,
N_("FILE"),
- N_("Parse syslinux config in new context"),
+ N_("Execute syslinux config in new context"),
options);
cmd_source_extract
= grub_register_extcmd ("extract_syslinux_entries_source",
grub_cmd_syslinux_source, 0,
N_("FILE"),
- N_("Parse syslinux config in same context taking only menu entries"),
+ N_("Execute syslinux config in same context taking only menu entries"),
options);
cmd_configfile_extract
= grub_register_extcmd ("extract_syslinux_entries_configfile",
grub_cmd_syslinux_source, 0,
N_("FILE"),
- N_("Parse syslinux config in new context taking only menu entries"),
+ N_("Execute syslinux config in new context taking only menu entries"),
options);
}
static const struct grub_arg_option options[] =
{
{"skip-sig", 's', 0,
- N_("Skip signature-checking of the signature file."), 0, ARG_TYPE_NONE},
+ N_("Skip signature-checking of the public key file."), 0, ARG_TYPE_NONE},
{0, 0, 0, 0, 0, 0}
};
options);
cmd_list = grub_register_command ("list_trusted", grub_cmd_list,
0,
- N_("List trusted keys."));
+ N_("Show the list of trusted keys."));
cmd_distrust = grub_register_command ("distrust", grub_cmd_distrust,
N_("PUBKEY_ID"),
N_("Remove KEYID from trusted keys."));
if (!fdt_addr && machine_type == ARM_FDT_MACHINE_TYPE)
return grub_error (GRUB_ERR_FILE_NOT_FOUND,
- N_("device tree must be supplied"));
+ N_("device tree must be supplied (see `devicetree' command)"));
grub_arch_sync_caches ((void *) linux_addr, linux_size);
if (!initrd_start)
{
- grub_error (GRUB_ERR_OUT_OF_MEMORY, N_("memory allocation failed"));
+ grub_error (GRUB_ERR_OUT_OF_MEMORY, N_("out of memory"));
goto fail;
}
#else
fdt_addr = grub_efi_allocate_loader_memory (LINUX_FDT_PHYS_OFFSET, size);
if (!fdt_addr)
{
- grub_error (GRUB_ERR_OUT_OF_MEMORY, N_("memory allocation failed"));
+ grub_error (GRUB_ERR_OUT_OF_MEMORY, N_("out of memory"));
goto out;
}
#else
cmd_initrd = grub_register_command ("initrd", grub_cmd_initrd,
0, N_("Load initrd."));
cmd_devicetree = grub_register_command ("devicetree", grub_cmd_devicetree,
+ /* TRANSLATORS: DTB stands for device tree blob. */
0, N_("Load DTB file."));
my_mod = mod;
fdt_addr = (void *) firmware_get_boot_data ();
fclose (f);
}
else
- grub_util_warn (_("cannot open config file `%s': %s"),
+ grub_util_warn (_("cannot open configuration file `%s': %s"),
cfgfile, strerror (errno));
}
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"));
}
&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;
fclose (f);
}
else
- grub_util_warn (_("cannot open config file `%s': %s"),
+ grub_util_warn (_("cannot open configuration file `%s': %s"),
cfgfile, strerror (errno));
}
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);
}
fclose (f);
}
else
- grub_util_warn (_("cannot open config file `%s': %s"),
+ grub_util_warn (_("cannot open configuration file `%s': %s"),
cfgfile, strerror (errno));
}
config.rtscts = 0;
else
return grub_error (GRUB_ERR_BAD_ARGUMENT,
- N_("unsupported serial port flow"));
+ N_("unsupported serial port flow control"));
}
if (state[OPTION_STOP].set)
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)
}
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 ());
/* 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);
/* 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). "*/
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
};
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
{"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,
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
};
{"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 }
};