Re: [PATCH 3/6] kconfig/[mn]conf: shorten title in search-box

From: Jean Delvare
Date: Wed Jul 17 2013 - 05:55:37 EST


Le Tuesday 16 July 2013 Ã 22:39 +0200, Yann E. MORIN a Ãcrit :
> From: "Yann E. MORIN" <yann.morin.1998@xxxxxxx>
>
> No need to repeat the 'CONFIG_' string in the title,
> once is explicit enough.
>
> Reported-by: Jean Delvare <jdelvare@xxxxxxx>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@xxxxxxx>
> Cc: Jean Delvare <jdelvare@xxxxxxx>
> ---
> scripts/kconfig/mconf.c | 4 ++--
> scripts/kconfig/nconf.c | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
> index 18d3dc9..b20e851 100644
> --- a/scripts/kconfig/mconf.c
> +++ b/scripts/kconfig/mconf.c
> @@ -401,8 +401,8 @@ static void search_conf(void)
> struct subtitle_part stpart;
>
> title = str_new();
> - str_printf( &title, _("Enter %s (sub)string or regexp to search for "
> - "(with or without \"%s\")"), CONFIG_, CONFIG_);
> + str_printf( &title, _("Enter (sub)string or regexp to search for "
> + "(with or without \"%s\")"), CONFIG_);
>
> again:
> dialog_clear();
> diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c
> index 7975d8d..4fbecd2 100644
> --- a/scripts/kconfig/nconf.c
> +++ b/scripts/kconfig/nconf.c
> @@ -695,8 +695,8 @@ static void search_conf(void)
> int dres;
>
> title = str_new();
> - str_printf( &title, _("Enter %s (sub)string or regexp to search for "
> - "(with or without \"%s\")"), CONFIG_, CONFIG_);
> + str_printf( &title, _("Enter (sub)string or regexp to search for "
> + "(with or without \"%s\")"), CONFIG_);
>
> again:
> dres = dialog_inputbox(main_window,

Reviewed-by: Jean Delvare <jdelvare@xxxxxxx>

--
Jean Delvare
Suse L3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/