diff --git a/ChangeLog b/ChangeLog index 1c2410d1f..c0c856a1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-03-06 Vladimir Serbinenko + + * 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 * grub-core/commands/acpi.c (options): Fix a dot in the middle of the diff --git a/grub-core/commands/videoinfo.c b/grub-core/commands/videoinfo.c index e66573c94..31fd83a30 100644 --- a/grub-core/commands/videoinfo.c +++ b/grub-core/commands/videoinfo.c @@ -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" diff --git a/grub-core/commands/videotest.c b/grub-core/commands/videotest.c index 9a6ba6256..2e4b3a23c 100644 --- a/grub-core/commands/videotest.c +++ b/grub-core/commands/videotest.c @@ -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, diff --git a/grub-core/loader/i386/linux.c b/grub-core/loader/i386/linux.c index 84896c27b..06253462a 100644 --- a/grub-core/loader/i386/linux.c +++ b/grub-core/loader/i386/linux.c @@ -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"),