lkml.org 
[lkml]   [2005]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 10/19] Kconfig I18N: gconfig: missing macros
From
Date

Supplementing missing macros.

Signed-off-by: Egry Gabor <gaboregry@t-online.hu>
---
scripts/kconfig/gconf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff -puN scripts/kconfig/gconf.c~kconfig-i18n-10-gconfig-missing scripts/kconfig/gconf.c
--- linux-2.6.13-rc3-i18n-kconfig/scripts/kconfig/gconf.c~kconfig-i18n-10-gconfig-missing 2005-07-13 18:32:18.000000000 +0200
+++ linux-2.6.13-rc3-i18n-kconfig-gabaman/scripts/kconfig/gconf.c 2005-07-13 18:36:49.000000000 +0200
@@ -464,7 +464,7 @@ static void text_insert_help(struct menu
{
GtkTextBuffer *buffer;
GtkTextIter start, end;
- const char *prompt = menu_get_prompt(menu);
+ const char *prompt = _(menu_get_prompt(menu));
gchar *name;
const char *help = _(nohelp_text);

@@ -1188,7 +1188,7 @@ static gchar **fill_row(struct menu *men
bzero(row, sizeof(row));

row[COL_OPTION] =
- g_strdup_printf("%s %s", menu_get_prompt(menu),
+ g_strdup_printf("%s %s", _(menu_get_prompt(menu)),
sym ? (sym->
flags & SYMBOL_NEW ? _("(NEW)") : "") :
"");
@@ -1240,7 +1240,7 @@ static gchar **fill_row(struct menu *men

if (def_menu)
row[COL_VALUE] =
- g_strdup(menu_get_prompt(def_menu));
+ g_strdup(_(menu_get_prompt(def_menu)));
}
if(sym->flags & SYMBOL_CHOICEVAL)
row[COL_BTNRAD] = GINT_TO_POINTER(TRUE);
_

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

\
 
 \ /
  Last update: 2005-07-14 01:42    [from the cache]
©2003-2011 Jasper Spaans