|
713 | 713 | if (ELAPSED(millis(), nxt)) {
|
714 | 714 | SERIAL_PROTOCOLLNPGM("\nZ-Offset Adjustment Stopped.");
|
715 | 715 | do_blocking_move_to_z(Z_CLEARANCE_DEPLOY_PROBE);
|
716 |
| - LCD_MESSAGEPGM("Z-Offset Stopped"); // TODO: Make translatable string |
| 716 | + LCD_MESSAGEPGM(MSG_UBL_Z_OFFSET_STOPPED); |
717 | 717 | restore_ubl_active_state_and_leave();
|
718 | 718 | goto LEAVE;
|
719 | 719 | }
|
|
971 | 971 | stepper.synchronize();
|
972 | 972 |
|
973 | 973 | SERIAL_PROTOCOLPGM("Place shim under nozzle");
|
974 |
| - LCD_MESSAGEPGM("Place shim & measure"); // TODO: Make translatable string |
| 974 | + LCD_MESSAGEPGM(MSG_UBL_BC_INSERT); |
975 | 975 | lcd_return_to_status();
|
976 | 976 | echo_and_take_a_measurement();
|
977 | 977 |
|
|
980 | 980 | stepper.synchronize();
|
981 | 981 |
|
982 | 982 | SERIAL_PROTOCOLPGM("Remove shim");
|
983 |
| - LCD_MESSAGEPGM("Remove & measure bed"); // TODO: Make translatable string |
| 983 | + LCD_MESSAGEPGM(MSG_UBL_BC_REMOVE); |
984 | 984 | echo_and_take_a_measurement();
|
985 | 985 |
|
986 | 986 | const float z2 = measure_point_with_encoder();
|
|
1029 | 1029 |
|
1030 | 1030 | do_blocking_move_to_z(Z_CLEARANCE_BETWEEN_PROBES);
|
1031 | 1031 |
|
1032 |
| - LCD_MESSAGEPGM("Moving to next"); // TODO: Make translatable string |
| 1032 | + LCD_MESSAGEPGM(MSG_UBL_MOVING_TO_NEXT); |
1033 | 1033 |
|
1034 | 1034 | do_blocking_move_to_xy(xProbe, yProbe);
|
1035 | 1035 | do_blocking_move_to_z(z_clearance);
|
|
1039 | 1039 |
|
1040 | 1040 | if (do_ubl_mesh_map) display_map(g29_map_type); // show user where we're probing
|
1041 | 1041 |
|
1042 |
| - serialprintPGM(parser.seen('B') ? PSTR("Place shim & measure") : PSTR("Measure")); // TODO: Make translatable strings |
| 1042 | + serialprintPGM(parser.seen('B') ? PSTR(MSG_UBL_BC_INSERT) : PSTR(MSG_UBL_BC_INSERT2)); |
1043 | 1043 |
|
1044 | 1044 | const float z_step = 0.01; // existing behavior: 0.01mm per click, occasionally step
|
1045 | 1045 | //const float z_step = 1.0 / planner.axis_steps_per_mm[Z_AXIS]; // approx one step each click
|
|
1097 | 1097 | bool err_flag = false;
|
1098 | 1098 |
|
1099 | 1099 | #if ENABLED(NEWPANEL)
|
1100 |
| - LCD_MESSAGEPGM("Doing G29 UBL!"); // TODO: Make translatable string |
| 1100 | + LCD_MESSAGEPGM(MSG_UBL_DOING_G29); |
1101 | 1101 | lcd_quick_feedback();
|
1102 | 1102 | #endif
|
1103 | 1103 |
|
|
1207 | 1207 | SERIAL_ECHOLNPGM("save_ubl_active_state_and_disabled() called multiple times in a row.");
|
1208 | 1208 |
|
1209 | 1209 | #if ENABLED(NEWPANEL)
|
1210 |
| - LCD_MESSAGEPGM("save_UBL_active() error"); // TODO: Make translatable string |
| 1210 | + LCD_MESSAGEPGM(MSG_UBL_SAVE_ERROR); |
1211 | 1211 | lcd_quick_feedback();
|
1212 | 1212 | #endif
|
1213 | 1213 |
|
|
1222 | 1222 | SERIAL_ECHOLNPGM("restore_ubl_active_state_and_leave() called too many times.");
|
1223 | 1223 |
|
1224 | 1224 | #if ENABLED(NEWPANEL)
|
1225 |
| - LCD_MESSAGEPGM("restore_UBL_active() error"); // TODO: Make translatable string |
| 1225 | + LCD_MESSAGEPGM(MSG_UBL_RESTORE_ERROR); |
1226 | 1226 | lcd_quick_feedback();
|
1227 | 1227 | #endif
|
1228 | 1228 |
|
|
1476 | 1476 |
|
1477 | 1477 | memset(not_done, 0xFF, sizeof(not_done));
|
1478 | 1478 |
|
1479 |
| - LCD_MESSAGEPGM("Fine Tuning Mesh"); // TODO: Make translatable string |
| 1479 | + LCD_MESSAGEPGM(MSG_UBL_FINE_TUNE_MESH); |
1480 | 1480 |
|
1481 | 1481 | do_blocking_move_to_z(Z_CLEARANCE_BETWEEN_PROBES);
|
1482 | 1482 | do_blocking_move_to_xy(lx, ly);
|
|
1538 | 1538 | lcd_return_to_status();
|
1539 | 1539 | //SERIAL_PROTOCOLLNPGM("\nFine Tuning of Mesh Stopped.");
|
1540 | 1540 | do_blocking_move_to_z(Z_CLEARANCE_BETWEEN_PROBES);
|
1541 |
| - LCD_MESSAGEPGM("Mesh Editing Stopped"); // TODO: Make translatable string |
| 1541 | + LCD_MESSAGEPGM(MSG_EDITING_STOPPED); |
1542 | 1542 |
|
1543 | 1543 | while (ubl_lcd_clicked()) idle();
|
1544 | 1544 |
|
|
1565 | 1565 |
|
1566 | 1566 | do_blocking_move_to_xy(lx, ly);
|
1567 | 1567 |
|
1568 |
| - LCD_MESSAGEPGM("Done Editing Mesh"); // TODO: Make translatable string |
| 1568 | + LCD_MESSAGEPGM(MSG_UBL_DONE_EDITING_MESH); |
1569 | 1569 | SERIAL_ECHOLNPGM("Done Editing Mesh");
|
1570 | 1570 | }
|
1571 | 1571 | #endif
|
|
0 commit comments