* grub-core/fs/zfs/zfsinfo.c (print_vdev_info): Add TRANSLATORS

comments.
	* grub-core/gdb/gdb.c (grub_cmd_gdbstub): Likewise.
	(GRUB_MOD_INIT): Likewise.
	* grub-core/loader/i386/linux.c (grub_cmd_linux): Clarify that it's
	VGA mode.
	* grub-core/net/net.c (grub_net_route_address): Add TRANSLATORS
	comments.
	* util/grub-install.in (usage): Likewise.
	Spell ID in whole letters.
	Add missing ending dot.
	Quote variables.
	* util/grub-reboot.in: Fix capitalisation.
	* util/grub-set-default.in: Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-02 11:53:50 +01:00
parent 937fd0cc0c
commit 8822a8a02b
8 changed files with 42 additions and 7 deletions

View file

@ -153,10 +153,17 @@ print_vdev_info (char *nvlist, int tab)
print_tabs (tab);
if (!child)
{
/* TRANSLATORS: it's the element carying the number %d, not
total element number. And the number itself is fine,
only the element isn't.
*/
grub_printf_ (N_("Mirror element number %d isn't correct\n"), i);
continue;
}
/* TRANSLATORS: it's the element carying the number %d, not
total element number. This is used in enumeration
"Element number 1", "Element number 2", ... */
grub_printf_ (N_("Mirror element number %d:\n"), i);
print_vdev_info (child, tab + 1);

View file

@ -43,6 +43,8 @@ grub_cmd_gdbstub (struct grub_command *cmd __attribute__ ((unused)),
if (!port)
return grub_errno;
grub_gdb_port = port;
/* TRANSLATORS: at this position GRUB waits for the user to do an action
in remote debugger, namely to tell it to establish connection. */
grub_puts_ (N_("Now connect the remote debugger, please."));
grub_gdb_breakpoint ();
return 0;
@ -76,6 +78,9 @@ GRUB_MOD_INIT (gdb)
cmd = grub_register_command ("gdbstub", grub_cmd_gdbstub,
N_("PORT"), N_("Start GDB stub on given port"));
cmd_break = grub_register_command ("gdbstub_break", grub_cmd_gdb_break,
/* TRANSLATORS: this refers to triggering
a breakpoint so that the user will land
into GDB. */
0, N_("Break into GDB"));
cmd_stop = grub_register_command ("gdbstub_stop", grub_cmd_gdbstop,
0, N_("Stop GDB stub"));

View file

@ -834,7 +834,7 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
vid_mode > GRUB_VESA_MODE_TABLE_END)
{
grub_env_set ("gfxpayload", "text");
grub_printf_ (N_("%s is deprecated. Mode %d isn't recognized. "
grub_printf_ (N_("%s is deprecated. VGA mode %d isn't recognized. "
"Use set gfxpayload=WIDTHxHEIGHT[xDEPTH] "
"before linux command instead.\n"),
argv[i], vid_mode);

View file

@ -645,6 +645,9 @@ grub_net_route_address (grub_net_network_level_address_t addr,
}
return grub_error (GRUB_ERR_NET_ROUTE_LOOP,
/* TRANSLATORS: route loop is a condition when e.g.
to contact server A you need to go through B
and to contact B you need to go through A. */
N_("route loop detected"));
}