* grub-core/commands/probe.c (options): Replace VAR with VARNAME and

gettextize.
	* grub-core/commands/search_wrap.c (options): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-08 19:07:23 +01:00
parent ecdbae77ca
commit 292fdaff95
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2012-03-08 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/commands/probe.c (options): Replace VAR with VARNAME and
gettextize.
* grub-core/commands/search_wrap.c (options): Likewise.
2012-03-08 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/charset.c (bidi_line_wrap): Fix a spurious warning.

View file

@ -37,7 +37,7 @@ GRUB_MOD_LICENSE ("GPLv3+");
static const struct grub_arg_option options[] =
{
{"set", 's', 0,
N_("Set a variable to return value."), "VAR", ARG_TYPE_STRING},
N_("Set a variable to return value."), N_("VARNAME"), ARG_TYPE_STRING},
/* TRANSLATORS: It's a driver that is currently in use to access
the diven disk. */
{"driver", 'd', 0, N_("Determine driver."), 0, 0},

View file

@ -37,7 +37,8 @@ static const struct grub_arg_option options[] =
{"fs-uuid", 'u', 0, N_("Search devices by a filesystem UUID."),
0, 0},
{"set", 's', GRUB_ARG_OPTION_OPTIONAL,
N_("Set a variable to the first device found."), "VAR", ARG_TYPE_STRING},
N_("Set a variable to the first device found."), N_("VARNAME"),
ARG_TYPE_STRING},
{"no-floppy", 'n', 0, N_("Do not probe any floppy drive."), 0, 0},
{"hint", 'h', GRUB_ARG_OPTION_REPEATABLE,
N_("First try the device HINT. If HINT ends in comma, "