2009-12-20 Robert Millan <rmh.grub@aybabtu.com>

* loader/mips/linux.c (grub_cmd_initrd)
	(GRUB_MOD_INIT(linux)): Adjust and gettextize a few strings.
This commit is contained in:
Robert Millan 2010-01-20 01:29:06 +00:00
parent e3538adaea
commit ff9890710e
2 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2009-12-20 Robert Millan <rmh.grub@aybabtu.com>
* loader/mips/linux.c (grub_cmd_initrd)
(GRUB_MOD_INIT(linux)): Adjust and gettextize a few strings.
2009-12-20 Robert Millan <rmh.grub@aybabtu.com> 2009-12-20 Robert Millan <rmh.grub@aybabtu.com>
* kern/mips/yeeloong/init.c (grub_video_sm712_init) * kern/mips/yeeloong/init.c (grub_video_sm712_init)

View file

@ -1,7 +1,7 @@
/* linux.c - boot Linux */ /* linux.c - boot Linux */
/* /*
* GRUB -- GRand Unified Bootloader * GRUB -- GRand Unified Bootloader
* Copyright (C) 2003, 2004, 2005, 2007, 2009 Free Software Foundation, Inc. * Copyright (C) 2003,2004,2005,2007,2009,2010 Free Software Foundation, Inc.
* *
* GRUB is free software: you can redistribute it and/or modify * GRUB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -318,10 +318,10 @@ grub_cmd_initrd (grub_command_t cmd __attribute__ ((unused)),
grub_size_t overhead; grub_size_t overhead;
if (argc == 0) if (argc == 0)
return grub_error (GRUB_ERR_BAD_ARGUMENT, "no initrd specified"); return grub_error (GRUB_ERR_BAD_ARGUMENT, "No initrd specified");
if (!loaded) if (!loaded)
return grub_error (GRUB_ERR_BAD_ARGUMENT, "You need to load the kernel first."); return grub_error (GRUB_ERR_BAD_ARGUMENT, "You need to load Linux first.");
if (initrd_loaded) if (initrd_loaded)
return grub_error (GRUB_ERR_BAD_ARGUMENT, "Only one initrd can be loaded."); return grub_error (GRUB_ERR_BAD_ARGUMENT, "Only one initrd can be loaded.");
@ -376,9 +376,9 @@ static grub_command_t cmd_linux, cmd_initrd;
GRUB_MOD_INIT(linux) GRUB_MOD_INIT(linux)
{ {
cmd_linux = grub_register_command ("linux", grub_cmd_linux, cmd_linux = grub_register_command ("linux", grub_cmd_linux,
0, "load a linux kernel"); 0, N_("Load Linux."));
cmd_initrd = grub_register_command ("initrd", grub_cmd_initrd, cmd_initrd = grub_register_command ("initrd", grub_cmd_initrd,
0, "load an initrd"); 0, N_("Load initrd."));
my_mod = mod; my_mod = mod;
} }