summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/lxdialog/checklist.c
diff options
context:
space:
mode:
authorEGRY Gabor <gaboregry1@t-online.hu>2008-01-11 23:42:54 +0100
committerSam Ravnborg <sam@ravnborg.org>2008-01-28 23:14:39 +0100
commit75c0a8a55c31c0a21f7e9e64bc45e87e228a98f6 (patch)
treee2e5652ee20f30ac7f8d73e2abc2a089218b3e89 /scripts/kconfig/lxdialog/checklist.c
parent413f006bab3845f12d7b2338a9b548aaf7808548 (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/checklist.c')
-rw-r--r--scripts/kconfig/lxdialog/checklist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/lxdialog/checklist.c b/scripts/kconfig/lxdialog/checklist.c
index cf697080ddd..b2a878c936d 100644
--- a/scripts/kconfig/lxdialog/checklist.c
+++ b/scripts/kconfig/lxdialog/checklist.c
@@ -97,8 +97,8 @@ static void print_buttons(WINDOW * dialog, int height, int width, int selected)
int x = width / 2 - 11;
int y = height - 2;
- print_button(dialog, "Select", y, x, selected == 0);
- print_button(dialog, " Help ", y, x + 14, selected == 1);
+ print_button(dialog, gettext("Select"), y, x, selected == 0);
+ print_button(dialog, gettext(" Help "), y, x + 14, selected == 1);
wmove(dialog, y, x + 1 + 14 * selected);
wrefresh(dialog);