Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NXkGx-0003qY-1Q for mharc-grub-devel@gnu.org; Wed, 20 Jan 2010 18:47:39 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXkGv-0003oq-H9 for grub-devel@gnu.org; Wed, 20 Jan 2010 18:47:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXkGr-0003jR-4w for grub-devel@gnu.org; Wed, 20 Jan 2010 18:47:37 -0500 Received: from [199.232.76.173] (port=57550 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXkGq-0003jI-Si for grub-devel@gnu.org; Wed, 20 Jan 2010 18:47:32 -0500 Received: from 197.red-80-32-81.staticip.rima-tde.net ([80.32.81.197]:48364 helo=mail.pina.cat) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NXkGq-0005Ce-BW for grub-devel@gnu.org; Wed, 20 Jan 2010 18:47:32 -0500 Received: from pinux (82-45-164-87.cable.ubr06.hari.blueyonder.co.uk [82.45.164.87]) by mail.pina.cat (Postfix) with ESMTPA id 24579288F2FA0 for ; Thu, 21 Jan 2010 00:37:39 +0100 (CET) Received: by pinux (Postfix, from userid 1000) id 49E6354686; Thu, 21 Jan 2010 00:37:38 +0100 (CET) Date: Wed, 20 Jan 2010 23:37:38 +0000 From: Carles Pina i Estany To: grub-devel@gnu.org Message-ID: <20100120233738.GB4749@pina.cat> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: comment about grub_error, capitalisation and one commit X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 23:47:37 -0000 Hi, grub_error strings are printed by kern/err.c and are printed after ":" like: Error: %s (talking from memory) One commit from Robert did: ---- 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) - 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."); ---- This should not be capitalised. rmh@aybabtu.com-20100120012906-xlsv7y7f9go2e3ig Wed 2010-01-20 01:29:06 +0000 ---- * loader/mips/linux.c (grub_cmd_initrd) (GRUB_MOD_INIT(linux)): Adjust and gettextize a few strings. ---- So: a) if someone has a better idea to avoid this mistake again than paying attention I can implement. b) Robert: I reverse it, fine? Cheers, -- Carles Pina i Estany http://pinux.info