From 292fdaff957f9ef6fd70669b9bc747bbd817275f Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Thu, 8 Mar 2012 19:07:23 +0100 Subject: [PATCH] * grub-core/commands/probe.c (options): Replace VAR with VARNAME and gettextize. * grub-core/commands/search_wrap.c (options): Likewise. --- ChangeLog | 6 ++++++ grub-core/commands/probe.c | 2 +- grub-core/commands/search_wrap.c | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 285285858..48718bda3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-03-08 Vladimir Serbinenko + + * 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 * grub-core/normal/charset.c (bidi_line_wrap): Fix a spurious warning. diff --git a/grub-core/commands/probe.c b/grub-core/commands/probe.c index b19bd3e73..eeece876d 100644 --- a/grub-core/commands/probe.c +++ b/grub-core/commands/probe.c @@ -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}, diff --git a/grub-core/commands/search_wrap.c b/grub-core/commands/search_wrap.c index 1c4fa3cf0..0ee5bfe8e 100644 --- a/grub-core/commands/search_wrap.c +++ b/grub-core/commands/search_wrap.c @@ -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, "