Browse Source

Multi-language pertains to Color UI (#20972)

Tanguy Pruvot 3 years ago
parent
commit
0ce3f6efe0
No account linked to committer's email address
2 changed files with 2 additions and 1 deletions
  1. 1
    1
      Marlin/Configuration_adv.h
  2. 1
    0
      Marlin/src/lcd/tft/tft_string.cpp

+ 1
- 1
Marlin/Configuration_adv.h View File

@@ -1529,7 +1529,7 @@
1529 1529
 //
1530 1530
 // Specify additional languages for the UI. Default specified by LCD_LANGUAGE.
1531 1531
 //
1532
-#if EITHER(DOGLCD, TOUCH_UI_FTDI_EVE)
1532
+#if ANY(DOGLCD, TFT_COLOR_UI, TOUCH_UI_FTDI_EVE)
1533 1533
   //#define LCD_LANGUAGE_2 fr
1534 1534
   //#define LCD_LANGUAGE_3 de
1535 1535
   //#define LCD_LANGUAGE_4 es

+ 1
- 0
Marlin/src/lcd/tft/tft_string.cpp View File

@@ -26,6 +26,7 @@
26 26
 
27 27
 #include "tft_string.h"
28 28
 #include "../fontutils.h"
29
+#include "../marlinui.h"
29 30
 
30 31
 //#define DEBUG_TFT_FONT
31 32
 #define DEBUG_OUT ENABLED(DEBUG_TFT_FONT)

Loading…
Cancel
Save