diff options
author | EGRY Gabor <gaboregry1@t-online.hu> | 2008-01-11 17:42:54 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 17:14:39 -0500 |
commit | 75c0a8a55c31c0a21f7e9e64bc45e87e228a98f6 (patch) | |
tree | e2e5652ee20f30ac7f8d73e2abc2a089218b3e89 /scripts/kconfig/lxdialog/yesno.c | |
parent | 413f006bab3845f12d7b2338a9b548aaf7808548 (diff) |
kconfig: gettext support for lxdialog
Gettext support for lxdialog.
Signed-off-by: Egry Gabor <gaboregry1@t-online.hu>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Diffstat (limited to 'scripts/kconfig/lxdialog/yesno.c')
-rw-r--r-- | scripts/kconfig/lxdialog/yesno.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/lxdialog/yesno.c b/scripts/kconfig/lxdialog/yesno.c index ee0a04e3e012..4e6e8090c20b 100644 --- a/scripts/kconfig/lxdialog/yesno.c +++ b/scripts/kconfig/lxdialog/yesno.c | |||
@@ -29,8 +29,8 @@ static void print_buttons(WINDOW * dialog, int height, int width, int selected) | |||
29 | int x = width / 2 - 10; | 29 | int x = width / 2 - 10; |
30 | int y = height - 2; | 30 | int y = height - 2; |
31 | 31 | ||
32 | print_button(dialog, " Yes ", y, x, selected == 0); | 32 | print_button(dialog, gettext(" Yes "), y, x, selected == 0); |
33 | print_button(dialog, " No ", y, x + 13, selected == 1); | 33 | print_button(dialog, gettext(" No "), y, x + 13, selected == 1); |
34 | 34 | ||
35 | wmove(dialog, y, x + 1 + 13 * selected); | 35 | wmove(dialog, y, x + 1 + 13 * selected); |
36 | wrefresh(dialog); | 36 | wrefresh(dialog); |