Browse Source

Use XYZ translated strings in dogm

Scott Lahteine 8 years ago
parent
commit
41aa4bdf1f
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      Marlin/dogm_lcd_implementation.h

+ 6
- 6
Marlin/dogm_lcd_implementation.h View File

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

Loading…
Cancel
Save