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,11 +171,11 @@ 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
#endif
SUBMENU(MSG_USER_MENU, menu_user); SUBMENU(MSG_USER_MENU, menu_user);
#endif #endif
#endif
#if ENABLED(ADVANCED_PAUSE_FEATURE) #if ENABLED(ADVANCED_PAUSE_FEATURE)
#if E_STEPPERS == 1 && DISABLED(FILAMENT_LOAD_UNLOAD_GCODES) #if E_STEPPERS == 1 && DISABLED(FILAMENT_LOAD_UNLOAD_GCODES)