Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77974
b: refs/heads/master
c: bb7ef39
h: refs/heads/master
v: v3
  • Loading branch information
EGRY Gabor authored and Sam Ravnborg committed Jan 28, 2008
1 parent b64c623 commit 707f8e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f7a4b4cdc26846a0ac5b3023cb1b97dc632dfd35
refs/heads/master: bb7ef3905adce28db31933ae77e5397c0b89227a
12 changes: 8 additions & 4 deletions trunk/scripts/kconfig/gconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,11 +455,15 @@ static void text_insert_help(struct menu *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;

help = _(menu_get_help(menu));
help = menu_get_help(menu);

/* Gettextize if the help text not empty */
if ((help != 0) && (help[0] != 0))
help = _(help);

if (menu->sym && menu->sym->name)
name = g_strdup_printf(_(menu->sym->name));
Expand Down Expand Up @@ -1169,7 +1173,7 @@ static gchar **fill_row(struct menu *menu)
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_has_value(sym) ? "(NEW)" : "");

if (show_all && !menu_is_visible(menu))
Expand Down Expand Up @@ -1219,7 +1223,7 @@ static gchar **fill_row(struct menu *menu)

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);
Expand Down

0 comments on commit 707f8e0

Please sign in to comment.