From df436f81631d428c54e98bdb5cac9bc7c0bdefc8 Mon Sep 17 00:00:00 2001 From: "Andrew V. Samoilov" Date: Sat, 16 Jun 2001 06:11:28 +0000 Subject: [PATCH] * hotlist.c (init_i18n_stuff): Mark cancel_but for translation. --- src/hotlist.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hotlist.c b/src/hotlist.c index f108ce122..9647efa9e 100644 --- a/src/hotlist.c +++ b/src/hotlist.c @@ -502,7 +502,7 @@ static int init_i18n_stuff(int list_type, int cols) { register int i; - static char* cancel_but = "&Cancel"; + static char* cancel_but = N_("&Cancel"); #ifdef ENABLE_NLS static int hotlist_i18n_flag = 0; @@ -742,6 +742,7 @@ add2hotlist (char *label, char *directory, enum HotListType type, int pos) } +#ifdef ENABLE_NLS /* * Support routine for add_new_entry_input()/add_new_group_input() * Change positions of buttons (first three widgets). @@ -767,6 +768,7 @@ static void add_widgets_i18n(QuickWidget* qw, int len) qw [i].x_divisions = len; } } +#endif /* ENABLE_NLS */ static int add_new_entry_input (char *header, char *text1, char *text2, char *help, char **r1, char **r2) {