From 460cdf4c094a7d5dcd98f3082e90450e3df6a4bc Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Tue, 2 Feb 2021 21:33:07 +0100 Subject: [PATCH] Multi-language pertains to Color UI (#20972) --- Marlin/Configuration_adv.h | 2 +- Marlin/src/lcd/tft/tft_string.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index d21c5069d..ea75f48f7 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -1529,7 +1529,7 @@ // // Specify additional languages for the UI. Default specified by LCD_LANGUAGE. // -#if EITHER(DOGLCD, TOUCH_UI_FTDI_EVE) +#if ANY(DOGLCD, TFT_COLOR_UI, TOUCH_UI_FTDI_EVE) //#define LCD_LANGUAGE_2 fr //#define LCD_LANGUAGE_3 de //#define LCD_LANGUAGE_4 es diff --git a/Marlin/src/lcd/tft/tft_string.cpp b/Marlin/src/lcd/tft/tft_string.cpp index 31ac14cf9..c2a571e82 100644 --- a/Marlin/src/lcd/tft/tft_string.cpp +++ b/Marlin/src/lcd/tft/tft_string.cpp @@ -26,6 +26,7 @@ #include "tft_string.h" #include "../fontutils.h" +#include "../marlinui.h" //#define DEBUG_TFT_FONT #define DEBUG_OUT ENABLED(DEBUG_TFT_FONT)