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/inputbox.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/inputbox.c')
-rw-r--r-- | scripts/kconfig/lxdialog/inputbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/lxdialog/inputbox.c b/scripts/kconfig/lxdialog/inputbox.c index 05e72066b359..4946bd02b46d 100644 --- a/scripts/kconfig/lxdialog/inputbox.c +++ b/scripts/kconfig/lxdialog/inputbox.c | |||
@@ -31,8 +31,8 @@ static void print_buttons(WINDOW * dialog, int height, int width, int selected) | |||
31 | int x = width / 2 - 11; | 31 | int x = width / 2 - 11; |
32 | int y = height - 2; | 32 | int y = height - 2; |
33 | 33 | ||
34 | print_button(dialog, " Ok ", y, x, selected == 0); | 34 | print_button(dialog, gettext(" Ok "), y, x, selected == 0); |
35 | print_button(dialog, " Help ", y, x + 14, selected == 1); | 35 | print_button(dialog, gettext(" Help "), y, x + 14, selected == 1); |
36 | 36 | ||
37 | wmove(dialog, y, x + 1 + 14 * selected); | 37 | wmove(dialog, y, x + 1 + 14 * selected); |
38 | wrefresh(dialog); | 38 | wrefresh(dialog); |