From aadcca804864c16e8672f05e20943389f3ce2ac0 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Fri, 1 May 2009 21:08:21 +0400 Subject: [PATCH] src/edit.c (create_menu): small fix of i18n for menu entry text. --- src/menu.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/menu.c b/src/menu.c index 1940275b3..216e9d3dd 100644 --- a/src/menu.c +++ b/src/menu.c @@ -53,12 +53,8 @@ create_menu (const char *name, menu_entry *entries, int count, const char *help_ register menu_entry* mp; for (mp = entries; count--; mp++) { if (mp->label[0] != '\0') { -#ifdef ENABLE_NLS - mp->label = _(mp->label); -#endif - mp->text = parse_hotkey (mp->label); + mp->text = parse_hotkey (_(mp->label)); len = hotkey_width (mp->text); - menu->max_entry_len = max (len, menu->max_entry_len); } }