Browse Source

Fix babystep edit label, allowing translation

Scott Lahteine 7 years ago
parent
commit
92dbf5f148
2 changed files with 3 additions and 6 deletions
  1. 0
    3
      Marlin/src/core/language.h
  2. 3
    3
      Marlin/src/lcd/ultralcd.cpp

+ 0
- 3
Marlin/src/core/language.h View File

198
 #define MSG_ERR_COLD_EXTRUDE_STOP           " cold extrusion prevented"
198
 #define MSG_ERR_COLD_EXTRUDE_STOP           " cold extrusion prevented"
199
 #define MSG_ERR_LONG_EXTRUDE_STOP           " too long extrusion prevented"
199
 #define MSG_ERR_LONG_EXTRUDE_STOP           " too long extrusion prevented"
200
 #define MSG_TOO_COLD_FOR_M600               "M600 Hotend too cold to change filament"
200
 #define MSG_TOO_COLD_FOR_M600               "M600 Hotend too cold to change filament"
201
-#define MSG_BABYSTEPPING_X                  "Babystepping X"
202
-#define MSG_BABYSTEPPING_Y                  "Babystepping Y"
203
-#define MSG_BABYSTEPPING_Z                  "Babystepping Z"
204
 #define MSG_SERIAL_ERROR_MENU_STRUCTURE     "Error in menu structure"
201
 #define MSG_SERIAL_ERROR_MENU_STRUCTURE     "Error in menu structure"
205
 
202
 
206
 #define MSG_ERR_EEPROM_WRITE                "Error writing to EEPROM!"
203
 #define MSG_ERR_EEPROM_WRITE                "Error writing to EEPROM!"

+ 3
- 3
Marlin/src/lcd/ultralcd.cpp View File

1017
     }
1017
     }
1018
 
1018
 
1019
     #if ENABLED(BABYSTEP_XY)
1019
     #if ENABLED(BABYSTEP_XY)
1020
-      void _lcd_babystep_x() { _lcd_babystep(X_AXIS, PSTR(MSG_BABYSTEPPING_X)); }
1021
-      void _lcd_babystep_y() { _lcd_babystep(Y_AXIS, PSTR(MSG_BABYSTEPPING_Y)); }
1020
+      void _lcd_babystep_x() { _lcd_babystep(X_AXIS, PSTR(MSG_BABYSTEP_X)); }
1021
+      void _lcd_babystep_y() { _lcd_babystep(Y_AXIS, PSTR(MSG_BABYSTEP_Y)); }
1022
       void lcd_babystep_x() { lcd_goto_screen(_lcd_babystep_x); babysteps_done = 0; defer_return_to_status = true; }
1022
       void lcd_babystep_x() { lcd_goto_screen(_lcd_babystep_x); babysteps_done = 0; defer_return_to_status = true; }
1023
       void lcd_babystep_y() { lcd_goto_screen(_lcd_babystep_y); babysteps_done = 0; defer_return_to_status = true; }
1023
       void lcd_babystep_y() { lcd_goto_screen(_lcd_babystep_y); babysteps_done = 0; defer_return_to_status = true; }
1024
     #endif
1024
     #endif
1050
 
1050
 
1051
     #else // !BABYSTEP_ZPROBE_OFFSET
1051
     #else // !BABYSTEP_ZPROBE_OFFSET
1052
 
1052
 
1053
-      void _lcd_babystep_z() { _lcd_babystep(Z_AXIS, PSTR(MSG_BABYSTEPPING_Z)); }
1053
+      void _lcd_babystep_z() { _lcd_babystep(Z_AXIS, PSTR(MSG_BABYSTEP_Z)); }
1054
       void lcd_babystep_z() { lcd_goto_screen(_lcd_babystep_z); babysteps_done = 0; defer_return_to_status = true; }
1054
       void lcd_babystep_z() { lcd_goto_screen(_lcd_babystep_z); babysteps_done = 0; defer_return_to_status = true; }
1055
 
1055
 
1056
     #endif // !BABYSTEP_ZPROBE_OFFSET
1056
     #endif // !BABYSTEP_ZPROBE_OFFSET

Loading…
Cancel
Save