Преглед изворни кода

Multi-language pertains to Color UI (#20972)

Tanguy Pruvot пре 4 година
родитељ
комит
0ce3f6efe0
No account linked to committer's email address
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1
    1
      Marlin/Configuration_adv.h
  2. 1
    0
      Marlin/src/lcd/tft/tft_string.cpp

+ 1
- 1
Marlin/Configuration_adv.h Прегледај датотеку

1529
 //
1529
 //
1530
 // Specify additional languages for the UI. Default specified by LCD_LANGUAGE.
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
   //#define LCD_LANGUAGE_2 fr
1533
   //#define LCD_LANGUAGE_2 fr
1534
   //#define LCD_LANGUAGE_3 de
1534
   //#define LCD_LANGUAGE_3 de
1535
   //#define LCD_LANGUAGE_4 es
1535
   //#define LCD_LANGUAGE_4 es

+ 1
- 0
Marlin/src/lcd/tft/tft_string.cpp Прегледај датотеку

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

Loading…
Откажи
Сачувај