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/menubox.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/menubox.c')
-rw-r--r-- | scripts/kconfig/lxdialog/menubox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kconfig/lxdialog/menubox.c b/scripts/kconfig/lxdialog/menubox.c index 0d83159d9012..fa9d633f293c 100644 --- a/scripts/kconfig/lxdialog/menubox.c +++ b/scripts/kconfig/lxdialog/menubox.c | |||
@@ -157,9 +157,9 @@ static void print_buttons(WINDOW * win, int height, int width, int selected) | |||
157 | int x = width / 2 - 16; | 157 | int x = width / 2 - 16; |
158 | int y = height - 2; | 158 | int y = height - 2; |
159 | 159 | ||
160 | print_button(win, "Select", y, x, selected == 0); | 160 | print_button(win, gettext("Select"), y, x, selected == 0); |
161 | print_button(win, " Exit ", y, x + 12, selected == 1); | 161 | print_button(win, gettext(" Exit "), y, x + 12, selected == 1); |
162 | print_button(win, " Help ", y, x + 24, selected == 2); | 162 | print_button(win, gettext(" Help "), y, x + 24, selected == 2); |
163 | 163 | ||
164 | wmove(win, y, x + 1 + 12 * selected); | 164 | wmove(win, y, x + 1 + 12 * selected); |
165 | wrefresh(win); | 165 | wrefresh(win); |