Browse Source

Move invariant LCD strings to language.h

Scott Lahteine 8 years ago
parent
commit
00cdb15cec
2 changed files with 26 additions and 26 deletions
  1. 26
    0
      Marlin/language.h
  2. 0
    26
      Marlin/language_en.h

+ 26
- 0
Marlin/language.h View File

@@ -244,6 +244,32 @@
244 244
 #define LANGUAGE_INCL(M) LANGUAGE_INCL_(M)
245 245
 #define INCLUDE_LANGUAGE LANGUAGE_INCL(LCD_LANGUAGE)
246 246
 
247
+// Never translate these strings
248
+#define MSG_X "X"
249
+#define MSG_Y "Y"
250
+#define MSG_Z "Z"
251
+#define MSG_E "E"
252
+#define MSG_H1 "1"
253
+#define MSG_H2 "2"
254
+#define MSG_H3 "3"
255
+#define MSG_H4 "4"
256
+#define MSG_N1 " 1"
257
+#define MSG_N2 " 2"
258
+#define MSG_N3 " 3"
259
+#define MSG_N4 " 4"
260
+#define MSG_E1 " E1"
261
+#define MSG_E2 " E2"
262
+#define MSG_E3 " E3"
263
+#define MSG_E4 " E4"
264
+#define MSG_MOVE_E1 "1"
265
+#define MSG_MOVE_E2 "2"
266
+#define MSG_MOVE_E3 "3"
267
+#define MSG_MOVE_E4 "4"
268
+#define MSG_DIAM_E1 " 1"
269
+#define MSG_DIAM_E2 " 2"
270
+#define MSG_DIAM_E3 " 3"
271
+#define MSG_DIAM_E4 " 4"
272
+
247 273
 #include INCLUDE_LANGUAGE
248 274
 
249 275
 #if DISABLED(SIMULATE_ROMFONT) && DISABLED(DISPLAY_CHARSET_ISO10646_1) && DISABLED(DISPLAY_CHARSET_ISO10646_5) && DISABLED(DISPLAY_CHARSET_ISO10646_KANA) && DISABLED(DISPLAY_CHARSET_ISO10646_GREEK) && DISABLED(DISPLAY_CHARSET_ISO10646_CN)

+ 0
- 26
Marlin/language_en.h View File

@@ -608,30 +608,4 @@
608 608
   #endif
609 609
 #endif // LCD_HEIGHT < 4
610 610
 
611
-// Never translate these strings
612
-#define MSG_X "X"
613
-#define MSG_Y "Y"
614
-#define MSG_Z "Z"
615
-#define MSG_E "E"
616
-#define MSG_H1 "1"
617
-#define MSG_H2 "2"
618
-#define MSG_H3 "3"
619
-#define MSG_H4 "4"
620
-#define MSG_N1 " 1"
621
-#define MSG_N2 " 2"
622
-#define MSG_N3 " 3"
623
-#define MSG_N4 " 4"
624
-#define MSG_E1 " E1"
625
-#define MSG_E2 " E2"
626
-#define MSG_E3 " E3"
627
-#define MSG_E4 " E4"
628
-#define MSG_MOVE_E1 "1"
629
-#define MSG_MOVE_E2 "2"
630
-#define MSG_MOVE_E3 "3"
631
-#define MSG_MOVE_E4 "4"
632
-#define MSG_DIAM_E1 " 1"
633
-#define MSG_DIAM_E2 " 2"
634
-#define MSG_DIAM_E3 " 3"
635
-#define MSG_DIAM_E4 " 4"
636
-
637 611
 #endif // LANGUAGE_EN_H

Loading…
Cancel
Save