* grub-core/commands/acpihalt.c: Add TRANSLATORS comments.

* grub-core/commands/keystatus.c: Likewise.
	* grub-core/commands/loadenv.c: Likewise.
	* grub-core/commands/probe.c: Likewise.
	* grub-core/commands/regexp.c: Likewise.
	* grub-core/commands/true.c: Likewise.
	* grub-core/commands/videoinfo.c: Likewise.
	* grub-core/disk/cryptodisk.c: Likewise.
	* grub-core/disk/ldm.c: Likewise.
	* grub-core/disk/loopback.c: Likewise.
	* grub-core/disk/luks.c: Likewise.
	* grub-core/fs/zfs/zfsinfo.c: Likewise.
	* grub-core/kern/disk.c: Likewise.
	* grub-core/kern/emu/hostdisk.c: Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-03 12:59:28 +01:00
parent 0c7d99c7c2
commit 40211ab884
15 changed files with 54 additions and 8 deletions

View file

@ -355,6 +355,7 @@ grub_acpi_halt (void)
grub_millisleep (1500);
/* TRANSLATORS: It's computer shutdown using ACPI, not disabling ACPI. */
grub_puts_ (N_("ACPI shutdown failed"));
}
#endif

View file

@ -27,6 +27,8 @@ GRUB_MOD_LICENSE ("GPLv3+");
static const struct grub_arg_option options[] =
{
/* TRANSLATORS: "Check" in a sense that if this key is pressed then
"true" is returned, otherwise "false". */
{"shift", 's', 0, N_("Check Shift key."), 0, 0},
{"ctrl", 'c', 0, N_("Check Control key."), 0, 0},
{"alt", 'a', 0, N_("Check Alt key."), 0, 0},

View file

@ -32,6 +32,8 @@ GRUB_MOD_LICENSE ("GPLv3+");
static const struct grub_arg_option options[] =
{
/* TRANSLATORS: This option is used to override default filename
for loading and storing environment. */
{"file", 'f', 0, N_("Specify filename."), 0, ARG_TYPE_PATHNAME},
{0, 0, 0, 0, 0, 0}
};

View file

@ -38,6 +38,8 @@ static const struct grub_arg_option options[] =
{
{"set", 's', 0,
N_("Set a variable to return value."), "VAR", ARG_TYPE_STRING},
/* TRANSLATORS: It's a driver that is currently in use to access
the diven disk. */
{"driver", 'd', 0, N_("Determine driver."), 0, 0},
{"partmap", 'p', 0, N_("Determine partition map type."), 0, 0},
{"fs", 'f', 0, N_("Determine filesystem type."), 0, 0},

View file

@ -146,7 +146,11 @@ static grub_extcmd_t cmd;
GRUB_MOD_INIT(regexp)
{
cmd = grub_register_extcmd ("regexp", grub_cmd_regexp, 0, N_("REGEXP STRING"),
cmd = grub_register_extcmd ("regexp", grub_cmd_regexp, 0,
/* TRANSLATORS: This are two arguments. So it's
two separate units to translate and pay
attention not to reverse them. */
N_("REGEXP STRING"),
N_("Test if REGEXP matches STRING."), options);
/* Setup GRUB script wildcard translator. */

View file

@ -46,13 +46,11 @@ GRUB_MOD_INIT(true)
{
cmd_true =
grub_register_command ("true", grub_cmd_true,
/* TRANSLATORS: it's imperative, not
infinitive. */
/* TRANSLATORS: it's a command description. */
0, N_("Do nothing, successfully."));
cmd_false =
grub_register_command ("false", grub_cmd_false,
/* TRANSLATORS: it's imperative, not
infinitive. */
/* TRANSLATORS: it's a command description. */
0, N_("Do nothing, unsuccessfully."));
}

View file

@ -69,6 +69,9 @@ hook (const struct grub_video_mode_info *info)
if (info->mode_type & GRUB_VIDEO_MODE_TYPE_YUV)
grub_xputs (_("YUV "));
if (info->mode_type & GRUB_VIDEO_MODE_TYPE_PLANAR)
/* TRANSLATORS: "Planar" is the video memory where you have to write
in several different banks "plans" to control the different color
components of the same pixel. */
grub_xputs (_("Planar "));
if (info->mode_type & GRUB_VIDEO_MODE_TYPE_HERCULES)
grub_xputs (_("Hercules "));