* grub-core/net/http.c: Add TRANSLATORS comments.

* grub-core/normal/cmdline.c: Likewise.
	* grub-core/normal/misc.c: Likewise.
	* grub-core/partmap/msdos.c: Likewise.
	* grub-core/parttool/msdospart.c: Likewise.
	* grub-core/script/execute.c: Likewise.
	* grub-core/script/main.c: Likewise.
	* grub-core/term/terminfo.c: Likewise.
	* grub-core/video/bitmap.c: Likewise.
	* util/grub-install.in: Likewise.
	* util/grub-mkimage.c: Likewise.
	* util/grub-mklayout.c: Likewise.
	* util/grub-setup.c: Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-05 16:42:26 +01:00
parent 0fc19bd089
commit ef292a8775
14 changed files with 49 additions and 1 deletions

View file

@ -87,6 +87,8 @@ grub_script_break (grub_command_t cmd, int argc, char *argv[])
if (*p != '\0')
return grub_error (GRUB_ERR_BAD_ARGUMENT, N_("unrecognized number"));
if (count == 0)
/* TRANSLATORS: 0 is a quantifier. Break can be used e.g. to break
3 loops at once. But asking it to break 0 loops makes no sense. */
return grub_error (GRUB_ERR_BAD_ARGUMENT, N_("can't break 0 loops"));
}

View file

@ -56,6 +56,8 @@ grub_script_init (void)
N_("[NUM]"), N_("Continue loops"));
cmd_shift = grub_register_command ("shift", grub_script_shift,
N_("[NUM]"),
/* TRANSLATORS: Positional arguments are
arguments $0, $1, $2, ... */
N_("Shift positional parameters."));
cmd_setparams = grub_register_command ("setparams", grub_script_setparams,
N_("[VALUE]..."),