浏览代码

Don't show superscript ³ with NOT_EXTENDED_ISO10646_1_5X7 (#12513)

Yücel Temel 6 年前
父节点
当前提交
3b186a55ac
共有 1 个文件被更改,包括 8 次插入2 次删除
  1. 8
    2
      Marlin/src/lcd/language/language_en.h

+ 8
- 2
Marlin/src/lcd/language/language_en.h 查看文件

@@ -28,14 +28,20 @@
28 28
  * See also http://marlinfw.org/docs/development/lcd_language.html
29 29
  *
30 30
  */
31
+#define THIS_LANGUAGES_SPECIAL_SYMBOLS        _UxGT("³")
31 32
 
32 33
 #define en 1234
33 34
 #if LCD_LANGUAGE == en
34 35
   #define NOT_EXTENDED_ISO10646_1_5X7
35
-  #define THIS_LANGUAGES_SPECIAL_SYMBOLS _UxGT("³")
36 36
 #endif
37 37
 #undef en
38 38
 
39
+#ifdef NOT_EXTENDED_ISO10646_1_5X7
40
+  #define MSG_CUBED                           _UxGT("^3")
41
+#else
42
+  #define MSG_CUBED                           _UxGT("³")
43
+#endif
44
+
39 45
 #ifndef CHARSIZE
40 46
   #define CHARSIZE 1
41 47
 #endif
@@ -673,7 +679,7 @@
673 679
   #define MSG_FILAMENT                        _UxGT("Filament")
674 680
 #endif
675 681
 #ifndef MSG_VOLUMETRIC_ENABLED
676
-  #define MSG_VOLUMETRIC_ENABLED              _UxGT("E in mm³")
682
+  #define MSG_VOLUMETRIC_ENABLED              _UxGT("E in mm") MSG_CUBED
677 683
 #endif
678 684
 #ifndef MSG_FILAMENT_DIAM
679 685
   #define MSG_FILAMENT_DIAM                   _UxGT("Fil. Dia.")

正在加载...
取消
保存