Fix CUSTOM_USER_MENU_TITLE non-translated string (#15575)

This commit is contained in:
Antti Andreimann 2019-10-16 13:53:12 -05:00 committed by Scott Lahteine
parent dd0c5de4c7
commit 40de135d4d

View file

@ -171,10 +171,10 @@ void menu_main() {
#if ENABLED(CUSTOM_USER_MENUS) #if ENABLED(CUSTOM_USER_MENUS)
#ifdef CUSTOM_USER_MENU_TITLE #ifdef CUSTOM_USER_MENU_TITLE
#undef MSG_USER_MENU SUBMENU_P(PSTR(CUSTOM_USER_MENU_TITLE), menu_user);
#define MSG_USER_MENU CUSTOM_USER_MENU_TITLE #else
SUBMENU(MSG_USER_MENU, menu_user);
#endif #endif
SUBMENU(MSG_USER_MENU, menu_user);
#endif #endif
#if ENABLED(ADVANCED_PAUSE_FEATURE) #if ENABLED(ADVANCED_PAUSE_FEATURE)