ソースを参照

Use XYZ translated strings in dogm

Scott Lahteine 8年前
コミット
41aa4bdf1f
1個のファイルの変更6行の追加6行の削除
  1. 6
    6
      Marlin/dogm_lcd_implementation.h

+ 6
- 6
Marlin/dogm_lcd_implementation.h ファイルの表示

@@ -378,7 +378,7 @@ static void lcd_implementation_status_screen() {
378 378
   u8g.setColorIndex(0); // white on black
379 379
   u8g.setPrintPos(2, XYZ_BASELINE);
380 380
   if (blink)
381
-    lcd_printPGM(PSTR("X"));
381
+    lcd_printPGM(PSTR(MSG_X));
382 382
   else {
383 383
     if (!axis_homed[X_AXIS])
384 384
       lcd_printPGM(PSTR("?"));
@@ -388,7 +388,7 @@ static void lcd_implementation_status_screen() {
388 388
           lcd_printPGM(PSTR(" "));
389 389
         else
390 390
       #endif
391
-      lcd_printPGM(PSTR("X"));
391
+      lcd_printPGM(PSTR(MSG_X));
392 392
     }
393 393
   }
394 394
   u8g.drawPixel(8, XYZ_BASELINE - 5);
@@ -398,7 +398,7 @@ static void lcd_implementation_status_screen() {
398 398
 
399 399
   u8g.setPrintPos(43, XYZ_BASELINE);
400 400
   if (blink)
401
-    lcd_printPGM(PSTR("Y"));
401
+    lcd_printPGM(PSTR(MSG_Y));
402 402
   else {
403 403
     if (!axis_homed[Y_AXIS])
404 404
       lcd_printPGM(PSTR("?"));
@@ -408,7 +408,7 @@ static void lcd_implementation_status_screen() {
408 408
           lcd_printPGM(PSTR(" "));
409 409
         else
410 410
       #endif
411
-      lcd_printPGM(PSTR("Y"));
411
+      lcd_printPGM(PSTR(MSG_Y));
412 412
     }
413 413
   }
414 414
   u8g.drawPixel(49, XYZ_BASELINE - 5);
@@ -418,7 +418,7 @@ static void lcd_implementation_status_screen() {
418 418
 
419 419
   u8g.setPrintPos(83, XYZ_BASELINE);
420 420
   if (blink)
421
-    lcd_printPGM(PSTR("Z"));
421
+    lcd_printPGM(PSTR(MSG_Z));
422 422
   else {
423 423
     if (!axis_homed[Z_AXIS])
424 424
       lcd_printPGM(PSTR("?"));
@@ -428,7 +428,7 @@ static void lcd_implementation_status_screen() {
428 428
           lcd_printPGM(PSTR(" "));
429 429
         else
430 430
       #endif
431
-      lcd_printPGM(PSTR("Z"));
431
+      lcd_printPGM(PSTR(MSG_Z));
432 432
     }
433 433
   }
434 434
   u8g.drawPixel(89, XYZ_BASELINE - 5);

読み込み中…
キャンセル
保存