This patch removes the indirect I18N support for config file.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -394,9 +394,9 @@ bool menu_is_visible(struct menu *menu) · 393 unmodified lines | |||
| 394 | const char *menu_get_prompt(struct menu *menu) | 394 | const char *menu_get_prompt(struct menu *menu) |
| 395 | { | 395 | { |
| 396 | if (menu->prompt) | 396 | if (menu->prompt) |
| 397 | return _(menu->prompt->text); | 397 | return menu->prompt->text; |
| 398 | else if (menu->sym) | 398 | else if (menu->sym) |
| 399 | return _(menu->sym->name); | 399 | return menu->sym->name; |
| 400 | return NULL; | 400 | return NULL; |
| 401 | } | 401 | } |
| 402 | 402 | ||