소스 검색

Fix babystep edit label, allowing translation

Scott Lahteine 7 년 전
부모
커밋
92dbf5f148
2개의 변경된 파일3개의 추가작업 그리고 6개의 파일을 삭제
  1. 0
    3
      Marlin/src/core/language.h
  2. 3
    3
      Marlin/src/lcd/ultralcd.cpp

+ 0
- 3
Marlin/src/core/language.h 파일 보기

@@ -198,9 +198,6 @@
198 198
 #define MSG_ERR_COLD_EXTRUDE_STOP           " cold extrusion prevented"
199 199
 #define MSG_ERR_LONG_EXTRUDE_STOP           " too long extrusion prevented"
200 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 201
 #define MSG_SERIAL_ERROR_MENU_STRUCTURE     "Error in menu structure"
205 202
 
206 203
 #define MSG_ERR_EEPROM_WRITE                "Error writing to EEPROM!"

+ 3
- 3
Marlin/src/lcd/ultralcd.cpp 파일 보기

@@ -1017,8 +1017,8 @@ void kill_screen(const char* lcd_msg) {
1017 1017
     }
1018 1018
 
1019 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 1022
       void lcd_babystep_x() { lcd_goto_screen(_lcd_babystep_x); babysteps_done = 0; defer_return_to_status = true; }
1023 1023
       void lcd_babystep_y() { lcd_goto_screen(_lcd_babystep_y); babysteps_done = 0; defer_return_to_status = true; }
1024 1024
     #endif
@@ -1050,7 +1050,7 @@ void kill_screen(const char* lcd_msg) {
1050 1050
 
1051 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 1054
       void lcd_babystep_z() { lcd_goto_screen(_lcd_babystep_z); babysteps_done = 0; defer_return_to_status = true; }
1055 1055
 
1056 1056
     #endif // !BABYSTEP_ZPROBE_OFFSET

Loading…
취소
저장