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

* grub-core/commands/videotest.c: Likewise.
	* grub-core/loader/i386/linux.c: Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-06 15:04:33 +01:00
parent 4a92934301
commit 6e69da9ccb
4 changed files with 21 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2012-03-06 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/commands/videoinfo.c: Add TRANSLATORS comments.
* grub-core/commands/videotest.c: Likewise.
* grub-core/loader/i386/linux.c: Likewise.
2012-03-06 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/commands/acpi.c (options): Fix a dot in the middle of the

View file

@ -221,12 +221,19 @@ static grub_command_t cmd_vbe;
GRUB_MOD_INIT(videoinfo)
{
cmd = grub_register_command ("videoinfo", grub_cmd_videoinfo, N_("[WxH[xD]]"),
cmd = grub_register_command ("videoinfo", grub_cmd_videoinfo,
/* TRANSLATORS: "x" has to be entered in,
like an identifier, so please don't
use better Unicode codepoints. */
N_("[WxH[xD]]"),
N_("List available video modes. If "
"resolution is given show only modes"
" matching it."));
#ifdef GRUB_MACHINE_PCBIOS
cmd_vbe = grub_register_command ("vbeinfo", grub_cmd_videoinfo,
/* TRANSLATORS: "x" has to be entered in,
like an identifier, so please don't
use better Unicode codepoints. */
N_("[WxH[xD]]"),
N_("List available video modes. If "
"resolution is given show only modes"

View file

@ -208,7 +208,12 @@ static grub_command_t cmd_vbe;
GRUB_MOD_INIT(videotest)
{
cmd = grub_register_command ("videotest", grub_cmd_videotest,
/* TRANSLATORS: "x" has to be entered in,
like an identifier, so please don't
use better Unicode codepoints. */
N_("[WxH]"),
/* TRANSLATORS: Here, on the other hand, it's
nicer to use unicode cross instead of x. */
N_("Test video subsystem in mode WxH."));
#ifdef GRUB_MACHINE_PCBIOS
cmd_vbe = grub_register_command ("vbetest", grub_cmd_videotest,

View file

@ -894,6 +894,8 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
vid_mode > GRUB_VESA_MODE_TABLE_END)
{
grub_env_set ("gfxpayload", "text");
/* TRANSLATORS: "x" has to be entered in, like an identifier,
so please don't use better Unicode codepoints. */
grub_printf_ (N_("%s is deprecated. VGA mode %d isn't recognized. "
"Use set gfxpayload=WIDTHxHEIGHT[xDEPTH] "
"before linux command instead.\n"),