🔨 Fix Multi-Language Menu criteria
This commit is contained in:
@@ -64,6 +64,9 @@ typedef const char Language_Str[];
|
||||
|
||||
#if NUM_LANGUAGES > 1
|
||||
#define HAS_MULTI_LANGUAGE 1
|
||||
#if HAS_MARLINUI_MENU
|
||||
#define HAS_MENU_MULTI_LANGUAGE 1
|
||||
#endif
|
||||
#define GET_TEXT(MSG) ( \
|
||||
ui.language == 4 ? GET_LANG(LCD_LANGUAGE_5)::MSG : \
|
||||
ui.language == 3 ? GET_LANG(LCD_LANGUAGE_4)::MSG : \
|
||||
|
@@ -26,7 +26,7 @@
|
||||
|
||||
#include "../../inc/MarlinConfig.h"
|
||||
|
||||
#if HAS_MULTI_LANGUAGE
|
||||
#if HAS_MENU_MULTI_LANGUAGE
|
||||
|
||||
#include "menu_item.h"
|
||||
#include "../../MarlinCore.h"
|
||||
@@ -56,4 +56,4 @@ void menu_language() {
|
||||
END_MENU();
|
||||
}
|
||||
|
||||
#endif // HAS_MULTI_LANGUAGE
|
||||
#endif // HAS_MENU_MULTI_LANGUAGE
|
||||
|
Reference in New Issue
Block a user