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
|
@ -72,13 +72,13 @@ GRUB_MOD_INIT(configfile)
|
|||
cmd_extractor_source =
|
||||
grub_register_command ("extract_entries_source", grub_cmd_source,
|
||||
N_("FILE"),
|
||||
N_("Load another config file without changing context but take only menuentries.")
|
||||
N_("Load another config file without changing context but take only menu entries.")
|
||||
);
|
||||
|
||||
cmd_extractor_configfile =
|
||||
grub_register_command ("extract_entries_configfile", grub_cmd_source,
|
||||
N_("FILE"),
|
||||
N_("Load another config file without changing context but take only menuentries.")
|
||||
N_("Load another config file without changing context but take only menu entries.")
|
||||
);
|
||||
|
||||
cmd_dot =
|
||||
|
|
|
@ -36,6 +36,10 @@ static grub_uint32_t *const int13slot = (grub_uint32_t *) (4 * 0x13);
|
|||
|
||||
/* Remember to update enum opt_idxs accordingly. */
|
||||
static const struct grub_arg_option options[] = {
|
||||
/* TRANSLATORS: In this file "mapping" refers to a change GRUB makes so if
|
||||
your language doesn't have an equivalent of "mapping" you can
|
||||
use the word like "rerouting".
|
||||
*/
|
||||
{"list", 'l', 0, N_("Show the current mappings."), 0, 0},
|
||||
{"reset", 'r', 0, N_("Reset all mappings to the default values."), 0, 0},
|
||||
{"swap", 's', 0, N_("Perform both direct and reverse mappings."), 0, 0},
|
||||
|
|
|
@ -183,6 +183,8 @@ grub_cmd_play (grub_command_t cmd __attribute__ ((unused)),
|
|||
|
||||
if (argc < 1)
|
||||
return grub_error (GRUB_ERR_BAD_ARGUMENT,
|
||||
/* TRANSLATORS: it's musical notes, not the notes
|
||||
you take. */
|
||||
N_("filename or tempo and notes expected"));
|
||||
|
||||
if (argc == 1)
|
||||
|
|
|
@ -100,6 +100,7 @@ GRUB_MOD_INIT(keystatus)
|
|||
{
|
||||
cmd = grub_register_extcmd ("keystatus", grub_cmd_keystatus, 0,
|
||||
"[--shift] [--ctrl] [--alt]",
|
||||
/* TRANSLATORS: there are 3 modifiers. */
|
||||
N_("Check key modifier status."),
|
||||
options);
|
||||
}
|
||||
|
|
|
@ -808,7 +808,7 @@ GRUB_MOD_INIT(legacycfg)
|
|||
cmd_check_password = grub_register_command ("legacy_check_password",
|
||||
grub_cmd_legacy_check_password,
|
||||
N_("[--md5] PASSWD [FILE]"),
|
||||
N_("Simulate grub-legacy `password' command in menuentry mode"));
|
||||
N_("Simulate grub-legacy `password' command in menu entry mode"));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -197,8 +197,8 @@ disp_acpi_rsdpv2 (struct grub_acpi_rsdp_v20 *rsdp)
|
|||
}
|
||||
|
||||
static const struct grub_arg_option options[] = {
|
||||
{"v1", '1', 0, N_("Show v1 tables only."), 0, ARG_TYPE_NONE},
|
||||
{"v2", '2', 0, N_("Show v2 and v3 tables only."), 0, ARG_TYPE_NONE}
|
||||
{"v1", '1', 0, N_("Show version 1 tables only."), 0, ARG_TYPE_NONE},
|
||||
{"v2", '2', 0, N_("Show version 2 and version 3 tables only."), 0, ARG_TYPE_NONE}
|
||||
};
|
||||
|
||||
static grub_err_t
|
||||
|
|
|
@ -292,7 +292,7 @@ grub_menu_init (void)
|
|||
cmd = grub_register_extcmd ("menuentry", grub_cmd_menuentry,
|
||||
GRUB_COMMAND_FLAG_BLOCKS
|
||||
| GRUB_COMMAND_FLAG_EXTRACTOR,
|
||||
N_("BLOCK"), N_("Define a menuentry."), options);
|
||||
N_("BLOCK"), N_("Define a menu entry."), options);
|
||||
cmd_sub = grub_register_extcmd ("submenu", grub_cmd_menuentry,
|
||||
GRUB_COMMAND_FLAG_BLOCKS
|
||||
| GRUB_COMMAND_FLAG_EXTRACTOR,
|
||||
|
|
|
@ -57,6 +57,9 @@ grub_cmd_lsspd (grub_command_t cmd __attribute__ ((unused)),
|
|||
{
|
||||
struct grub_smbus_spd spd;
|
||||
grub_memset (&spd, 0, sizeof (spd));
|
||||
/* TRANSLATORS: it's shown in a report in a way
|
||||
like number 1: ... number 2: ...
|
||||
*/
|
||||
grub_printf_ (N_("RAM slot number %d\n"), i);
|
||||
err = grub_cs5536_read_spd (smbbase, i, &spd);
|
||||
if (err)
|
||||
|
|
|
@ -139,6 +139,10 @@ grub_cmd_password (grub_command_t cmd __attribute__ ((unused)),
|
|||
grub_free (pass->salt);
|
||||
grub_free (pass);
|
||||
return grub_error (GRUB_ERR_BAD_ARGUMENT,
|
||||
/* TRANSLATORS: it means that the string which
|
||||
was supposed to be a password hash doesn't
|
||||
have a correct format, not to password
|
||||
mismatch. */
|
||||
N_("invalid PBKDF2 password"));
|
||||
}
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ GRUB_MOD_LICENSE ("GPLv3+");
|
|||
static const struct grub_arg_option options[] =
|
||||
{
|
||||
{"verbose", 'v', 0, N_("Verbose countdown."), 0, 0},
|
||||
{"interruptible", 'i', 0, N_("Interruptible with ESC."), 0, 0},
|
||||
{"interruptible", 'i', 0, N_("Allow to interrupt with ESC."), 0, 0},
|
||||
{0, 0, 0, 0, 0, 0}
|
||||
};
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ hook (const struct grub_video_mode_info *info)
|
|||
if (info->mode_type & GRUB_VIDEO_MODE_TYPE_1BIT_BITMAP)
|
||||
grub_xputs (_("Monochrome "));
|
||||
if (info->mode_type & GRUB_VIDEO_MODE_TYPE_UNKNOWN)
|
||||
grub_xputs (_("Unknown "));
|
||||
grub_xputs (_("Unknown video mode "));
|
||||
|
||||
grub_xputs ("\n");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue