Another round of string clarification and adding TRANSLATORS comments.
This commit is contained in:
parent
ad7b7b8527
commit
67093bc0ed
56 changed files with 131 additions and 71 deletions
|
@ -99,7 +99,7 @@ static const struct grub_arg_option freebsd_opts[] =
|
|||
{"dual", 'D', 0, N_("Display output on all consoles."), 0, 0},
|
||||
{"serial", 'h', 0, N_("Use serial console."), 0, 0},
|
||||
{"askname", 'a', 0, N_("Ask for file name to reboot from."), 0, 0},
|
||||
{"cdrom", 'C', 0, N_("Use CDROM as root."), 0, 0},
|
||||
{"cdrom", 'C', 0, N_("Use CD-ROM as root."), 0, 0},
|
||||
{"config", 'c', 0, N_("Invoke user configuration routing."), 0, 0},
|
||||
{"kdb", 'd', 0, N_("Enter in KDB on boot."), 0, 0},
|
||||
{"gdb", 'g', 0, N_("Use GDB remote debugger instead of DDB."), 0, 0},
|
||||
|
@ -1399,7 +1399,7 @@ grub_bsd_load_elf (grub_elf_t elf, const char *filename)
|
|||
kern_chunk_src, &openbsd_ramdisk);
|
||||
}
|
||||
else
|
||||
return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch dependent ELF magic"));
|
||||
return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-dependent ELF magic"));
|
||||
}
|
||||
|
||||
static grub_err_t
|
||||
|
@ -2082,6 +2082,8 @@ GRUB_MOD_INIT (bsd)
|
|||
|
||||
cmd_openbsd_ramdisk = grub_register_command ("kopenbsd_ramdisk",
|
||||
grub_cmd_openbsd_ramdisk, 0,
|
||||
/* TRANSLATORS: ramdisk isn't identifier,
|
||||
it can be translated. */
|
||||
N_("Load kOpenBSD ramdisk."));
|
||||
|
||||
my_mod = mod;
|
||||
|
|
|
@ -43,10 +43,10 @@ read_headers (grub_file_t file, const char *filename, Elf_Ehdr *e, char **shdr)
|
|||
|| e->e_ident[EI_MAG3] != ELFMAG3
|
||||
|| e->e_ident[EI_VERSION] != EV_CURRENT
|
||||
|| e->e_version != EV_CURRENT)
|
||||
return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch independent ELF magic"));
|
||||
return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-independent ELF magic"));
|
||||
|
||||
if (e->e_ident[EI_CLASS] != SUFFIX (ELFCLASS))
|
||||
return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch dependent ELF magic"));
|
||||
return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-dependent ELF magic"));
|
||||
|
||||
*shdr = grub_malloc (e->e_shnum * e->e_shentsize);
|
||||
if (! *shdr)
|
||||
|
|
|
@ -814,9 +814,9 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
|
|||
case GRUB_LINUX_VID_MODE_NORMAL:
|
||||
grub_env_set ("gfxpayload", "text");
|
||||
grub_printf_ (N_("%s is deprecated. "
|
||||
"Use set gfxpayload=text before "
|
||||
"linux command instead.\n"),
|
||||
argv[i]);
|
||||
"Use set gfxpayload=%s before "
|
||||
"linux command instead.\n"), "text",
|
||||
argv[i]);
|
||||
break;
|
||||
|
||||
case 1:
|
||||
|
@ -824,9 +824,9 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
|
|||
/* FIXME: support 80x50 text. */
|
||||
grub_env_set ("gfxpayload", "text");
|
||||
grub_printf_ (N_("%s is deprecated. "
|
||||
"Use set gfxpayload=text before "
|
||||
"linux command instead.\n"),
|
||||
argv[i]);
|
||||
"Use set gfxpayload=%s before "
|
||||
"linux command instead.\n"), "text",
|
||||
argv[i]);
|
||||
break;
|
||||
default:
|
||||
/* Ignore invalid values. */
|
||||
|
|
|
@ -49,6 +49,12 @@ static grub_uint32_t eip = 0xffffffff;
|
|||
static const struct grub_arg_option options[] =
|
||||
{
|
||||
{"map", 'm', GRUB_ARG_OPTION_REPEATABLE,
|
||||
/* TRANSLATORS: it's about guessing which GRUB disk
|
||||
is which Plan9 disk. If your language has no
|
||||
word "mapping" you can use another word which
|
||||
means that the GRUBDEVICE and PLAN9DEVICE are
|
||||
actually the same device, just named differently
|
||||
in OS and GRUB. */
|
||||
N_("Override guessed mapping of Plan9 devices."),
|
||||
N_("GRUBDEVICE=PLAN9DEVICE"),
|
||||
ARG_TYPE_STRING},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue