mirror of https://github.com/MidnightCommander/mc
src/menu.c (create_menu): don't translate menu entry text if ENABLE_NLS isn't defined.
This commit is contained in:
parent
d716433399
commit
95b622f0db
|
@ -53,7 +53,9 @@ 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);
|
||||
len = hotkey_width (mp->text);
|
||||
|
||||
|
|
Loading…
Reference in New Issue