Update all `_i("` to `messages.cpp/.h`
Update `lang/po/*.po*` files
This commit is contained in:
parent
af03662c8f
commit
97584d571e
|
|
@ -1543,15 +1543,15 @@ void setup()
|
|||
//if motherboard or printer type was changed inform user as it can indicate flashing wrong firmware version
|
||||
//if user confirms with knob, new hw version (printer and/or motherboard) is written to eeprom and message will be not shown next time
|
||||
case(0b01):
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Warning: motherboard type changed.")); ////MSG_CHANGED_MOTHERBOARD c=20 r=4
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_CHANGED_MOTHERBOARD));
|
||||
eeprom_write_word_notify((uint16_t*)EEPROM_BOARD_TYPE, MOTHERBOARD);
|
||||
break;
|
||||
case(0b10):
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Warning: printer type changed.")); ////MSG_CHANGED_PRINTER c=20 r=4
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_CHANGED_PRINTER));
|
||||
eeprom_write_word_notify((uint16_t*)EEPROM_PRINTER_TYPE, PRINTER_TYPE);
|
||||
break;
|
||||
case(0b11):
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Warning: both printer type and motherboard type changed.")); ////MSG_CHANGED_BOTH c=20 r=4
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_CHANGED_BOTH));
|
||||
eeprom_write_word_notify((uint16_t*)EEPROM_PRINTER_TYPE, PRINTER_TYPE);
|
||||
eeprom_write_word_notify((uint16_t*)EEPROM_BOARD_TYPE, MOTHERBOARD);
|
||||
break;
|
||||
|
|
@ -1559,7 +1559,7 @@ void setup()
|
|||
}
|
||||
|
||||
if (!previous_settings_retrieved) {
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Old settings found. Default PID, Esteps etc. will be set.")); //if EEPROM version or printer type was changed, inform user that default setting were loaded////MSG_DEFAULT_SETTINGS_LOADED c=20 r=6
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_DEFAULT_SETTINGS_LOADED)); //if EEPROM version or printer type was changed, inform user that default setting were loaded
|
||||
Config_StoreSettings();
|
||||
}
|
||||
|
||||
|
|
@ -1574,7 +1574,7 @@ void setup()
|
|||
static const uint16_t v3_2_0_4[] PROGMEM = {3, 2, 0, 4};
|
||||
if (eeprom_fw_version_older_than_p(v3_2_0_4)) {
|
||||
// printer upgraded from FW<3.2.0.4 and requires re-running selftest
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Selftest will be run to calibrate accurate sensorless rehoming."));////MSG_FORCE_SELFTEST c=20 r=8
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_FORCE_SELFTEST));
|
||||
calibration_status &= ~CALIBRATION_STATUS_SELFTEST;
|
||||
}
|
||||
}
|
||||
|
|
@ -3035,12 +3035,12 @@ static void gcode_G80()
|
|||
static uint8_t g80_fail_cnt = 0;
|
||||
if (mesh_point != MESH_NUM_X_POINTS * MESH_NUM_Y_POINTS) {
|
||||
if (g80_fail_cnt++ >= 2) {
|
||||
kill(_i("Mesh bed leveling failed. Please run Z calibration.")); ////MSG_MBL_FAILED_Z_CAL c=20 r=4
|
||||
kill(_T(MSG_MBL_FAILED_Z_CAL));
|
||||
}
|
||||
Sound_MakeSound(e_SOUND_TYPE_StandardAlert);
|
||||
bool bState;
|
||||
do { // repeat until Z-leveling o.k.
|
||||
lcd_display_message_fullscreen_P(_i("Some problem encountered, Z-leveling enforced ...")); ////MSG_ZLEVELING_ENFORCED c=20 r=4
|
||||
lcd_display_message_fullscreen_P(_T(MSG_ZLEVELING_ENFORCED));
|
||||
#ifdef TMC2130
|
||||
lcd_wait_for_click_delay(MSG_BED_LEVELING_FAILED_TIMEOUT);
|
||||
calibrate_z_auto(); // Z-leveling (X-assembly stay up!!!)
|
||||
|
|
@ -3514,7 +3514,7 @@ static void gcode_M600(const bool automatic, const float x_position, const float
|
|||
{
|
||||
KEEPALIVE_STATE(PAUSED_FOR_USER);
|
||||
uint8_t choice =
|
||||
lcd_show_fullscreen_message_yes_no_and_wait_P(_i("Was filament unload successful?"), false, LCD_LEFT_BUTTON_CHOICE); ////MSG_UNLOAD_SUCCESSFUL c=20 r=3
|
||||
lcd_show_fullscreen_message_yes_no_and_wait_P(_T(MSG_UNLOAD_SUCCESSFUL), false, LCD_LEFT_BUTTON_CHOICE);
|
||||
lcd_update_enable(false);
|
||||
if (choice == LCD_MIDDLE_BUTTON_CHOICE) {
|
||||
lcd_clear();
|
||||
|
|
@ -3522,7 +3522,7 @@ static void gcode_M600(const bool automatic, const float x_position, const float
|
|||
current_position[X_AXIS] = 100;
|
||||
plan_buffer_line_curposXYZE(FILAMENTCHANGE_XYFEED);
|
||||
st_synchronize();
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Please open idler and remove filament manually.")); ////MSG_CHECK_IDLER c=20 r=4
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_CHECK_IDLER));
|
||||
}
|
||||
M600_load_filament();
|
||||
}
|
||||
|
|
@ -4728,7 +4728,7 @@ void process_commands()
|
|||
if (!calibration_status_get(CALIBRATION_STATUS_XYZ)) {
|
||||
//we need to know accurate position of first calibration point
|
||||
//if xyz calibration was not performed yet, interrupt temperature calibration and inform user that xyz cal. is needed
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Please run XYZ calibration first.")); ////MSG_RUN_XYZ c=20 r=4
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_RUN_XYZ));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -4741,7 +4741,7 @@ void process_commands()
|
|||
enquecommand_front_P(G28W);
|
||||
break;
|
||||
}
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Stable ambient temperature 21-26C is needed a rigid stand is required."));////MSG_TEMP_CAL_WARNING c=20 r=4
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_TEMP_CAL_WARNING));
|
||||
uint8_t result = lcd_show_fullscreen_message_yes_no_and_wait_P(_T(MSG_STEEL_SHEET_CHECK), false);
|
||||
|
||||
if (result == LCD_LEFT_BUTTON_CHOICE)
|
||||
|
|
@ -5237,7 +5237,7 @@ void process_commands()
|
|||
// - they need to see the filename on the status screen instead of "Wait for user..."
|
||||
// So we won't update the message in farm mode...
|
||||
if( ! farm_mode){
|
||||
LCD_MESSAGERPGM(_i("Wait for user..."));////MSG_USERWAIT c=20
|
||||
LCD_MESSAGERPGM(_T(MSG_USERWAIT));
|
||||
} else {
|
||||
custom_message_type = CustomMsg::Status; // let the lcd display the name of the printed G-code file in farm mode
|
||||
}
|
||||
|
|
@ -5268,7 +5268,7 @@ void process_commands()
|
|||
*/
|
||||
|
||||
case 17:
|
||||
LCD_MESSAGERPGM(_i("No move."));////MSG_NO_MOVE c=20
|
||||
LCD_MESSAGERPGM(_T(MSG_NO_MOVE));
|
||||
enable_x();
|
||||
enable_y();
|
||||
enable_z();
|
||||
|
|
@ -9644,7 +9644,7 @@ static void handleSafetyTimer()
|
|||
else if (safetyTimer.expired(farm_mode?FARM_DEFAULT_SAFETYTIMER_TIME_ms:safetytimer_inactive_time))
|
||||
{
|
||||
disable_heater();
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Heating disabled by safety timer."));////MSG_BED_HEATING_SAFETY_DISABLED c=20 r=4
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_BED_HEATING_SAFETY_DISABLED));
|
||||
}
|
||||
}
|
||||
#endif //SAFETYTIMER
|
||||
|
|
@ -11224,7 +11224,7 @@ void M600_wait_for_user() {
|
|||
delay_keep_alive(4);
|
||||
|
||||
if (_millis() > waiting_start_time + (unsigned long)M600_TIMEOUT * 1000) {
|
||||
lcd_display_message_fullscreen_P(_i("Press the knob to preheat nozzle and continue."));////MSG_PRESS_TO_PREHEAT c=20 r=4
|
||||
lcd_display_message_fullscreen_P(_T(MSG_PRESS_TO_PREHEAT));
|
||||
wait_for_user_state = 1;
|
||||
setTargetHotend(0);
|
||||
st_synchronize();
|
||||
|
|
|
|||
|
|
@ -802,7 +802,7 @@ void CardReader::presort() {
|
|||
// If you use folders to organize, 20 may be enough
|
||||
if (fileCnt > SDSORT_LIMIT) {
|
||||
if ((sdSort != SD_SORT_NONE) && !farm_mode) {
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Some files will not be sorted. Max. No. of files in 1 folder for sorting is 100."));////MSG_FILE_CNT c=20 r=6
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_FILE_CNT));
|
||||
}
|
||||
fileCnt = SDSORT_LIMIT;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2537,7 +2537,7 @@ BedSkewOffsetDetectionResultType improve_bed_offset_and_skew(int8_t method, int8
|
|||
bool endstop_z_enabled = enable_z_endstop(false);
|
||||
|
||||
#ifdef MESH_BED_CALIBRATION_SHOW_LCD
|
||||
lcd_display_message_fullscreen_P(_i("Improving bed calibration point"));////MSG_IMPROVE_BED_OFFSET_AND_SKEW_LINE1 c=20 r=4
|
||||
lcd_display_message_fullscreen_P(_T(MSG_IMPROVE_BED_OFFSET_AND_SKEW_LINE1));
|
||||
#endif /* MESH_BED_CALIBRATION_SHOW_LCD */
|
||||
|
||||
// Collect a matrix of 9x9 points.
|
||||
|
|
|
|||
|
|
@ -194,6 +194,177 @@ extern const char MSG_NOZZLE_CNG_MENU [] PROGMEM_I1 = ISTR("Nozzle change");////
|
|||
extern const char MSG_NOZZLE_CNG_READ_HELP [] PROGMEM_I1 = ISTR("For a Nozzle change please read\nprusa.io/nozzle-mk3s");////MSG_NOZZLE_CNG_READ_HELP c=20 r=4
|
||||
extern const char MSG_NOZZLE_CNG_CHANGED [] PROGMEM_I1 = ISTR("Hotend at 280C! Nozzle changed and tightened to specs?");////MSG_NOZZLE_CNG_CHANGED c=20 r=6
|
||||
extern const char MSG_REPRINT [] PROGMEM_I1 = ISTR("Reprint"); ////MSG_REPRINT c=18
|
||||
extern const char MSG_FILE_CNT [] PROGMEM_I1 = ISTR("Some files will not be sorted. Max. No. of files in 1 folder for sorting is 100."); ////MSG_FILE_CNT c=20 r=6
|
||||
extern const char MSG_CHANGED_MOTHERBOARD [] PROGMEM_I1 = ISTR("Warning: motherboard type changed."); ////MSG_CHANGED_MOTHERBOARD c=20 r=4
|
||||
extern const char MSG_CHANGED_PRINTER [] PROGMEM_I1 = ISTR("Warning: printer type changed."); ////MSG_CHANGED_PRINTER c=20 r=4
|
||||
extern const char MSG_CHANGED_BOTH [] PROGMEM_I1 = ISTR("Warning: both printer type and motherboard type changed."); ////MSG_CHANGED_BOTH c=20 r=4
|
||||
extern const char MSG_DEFAULT_SETTINGS_LOADED [] PROGMEM_I1 = ISTR("Old settings found. Default PID, Esteps etc. will be set."); ////MSG_DEFAULT_SETTINGS_LOADED c=20 r=6
|
||||
extern const char MSG_FORCE_SELFTEST [] PROGMEM_I1 = ISTR("Selftest will be run to calibrate accurate sensorless rehoming."); ////MSG_FORCE_SELFTEST c=20 r=8
|
||||
extern const char MSG_MBL_FAILED_Z_CAL [] PROGMEM_I1 = ISTR("Mesh bed leveling failed. Please run Z calibration."); ////MSG_MBL_FAILED_Z_CAL c=20 r=4
|
||||
extern const char MSG_ZLEVELING_ENFORCED [] PROGMEM_I1 = ISTR("Some problem encountered, Z-leveling enforced ..."); ////MSG_ZLEVELING_ENFORCED c=20 r=4
|
||||
extern const char MSG_UNLOAD_SUCCESSFUL [] PROGMEM_I1 = ISTR("Was filament unload successful?"); ////MSG_UNLOAD_SUCCESSFUL c=20 r=3
|
||||
extern const char MSG_CHECK_IDLER [] PROGMEM_I1 = ISTR("Please open idler and remove filament manually."); ////MSG_CHECK_IDLER c=20 r=4
|
||||
extern const char MSG_RUN_XYZ [] PROGMEM_I1 = ISTR("Please run XYZ calibration first."); ////MSG_RUN_XYZ c=20 r=4
|
||||
extern const char MSG_TEMP_CAL_WARNING [] PROGMEM_I1 = ISTR("Stable ambient temperature 21-26C is needed a rigid stand is required."); ////MSG_TEMP_CAL_WARNING c=20 r=4
|
||||
extern const char MSG_USERWAIT [] PROGMEM_I1 = ISTR("Wait for user..."); ////MSG_USERWAIT c=20
|
||||
extern const char MSG_NO_MOVE [] PROGMEM_I1 = ISTR("No move."); ////MSG_NO_MOVE c=20
|
||||
extern const char MSG_BED_HEATING_SAFETY_DISABLED [] PROGMEM_I1 = ISTR("Heating disabled by safety timer."); ////MSG_BED_HEATING_SAFETY_DISABLED c=20 r=4
|
||||
extern const char MSG_PRESS_TO_PREHEAT [] PROGMEM_I1 = ISTR("Press the knob to preheat nozzle and continue."); ////MSG_PRESS_TO_PREHEAT c=20 r=4
|
||||
extern const char MSG_IMPROVE_BED_OFFSET_AND_SKEW_LINE1 [] PROGMEM_I1 = ISTR("Improving bed calibration point"); ////MSG_IMPROVE_BED_OFFSET_AND_SKEW_LINE1 c=20 r=4
|
||||
extern const char MSG_MMU_RESTORE_TEMP [] PROGMEM_I1 = ISTR("MMU Retry: Restoring temperature..."); ////MSG_MMU_RESTORE_TEMP c=20 r=4
|
||||
extern const char MSG_MMU_SENSITIVITY [] PROGMEM_I1 = ISTR("Sensitivity"); ////MSG_MMU_SENSITIVITY c=18
|
||||
extern const char MSG_RECOVERING_PRINT [] PROGMEM_I1 = ISTR("Recovering print"); ////MSG_RECOVERING_PRINT c=20
|
||||
extern const char MSG_HOMEYZ_DONE [] PROGMEM_I1 = ISTR("Calibration done"); ////MSG_HOMEYZ_DONE c=20
|
||||
extern const char MSG_PINDA_PREHEAT [] PROGMEM_I1 = ISTR("PINDA Heating"); ////MSG_PINDA_PREHEAT c=20
|
||||
extern const char MSG_PID_RUNNING [] PROGMEM_I1 = ISTR("PID cal."); ////MSG_PID_RUNNING c=20
|
||||
extern const char MSG_PID_FINISHED [] PROGMEM_I1 = ISTR("PID cal. finished"); ////MSG_PID_FINISHED c=20
|
||||
extern const char MSG_AMBIENT [] PROGMEM_I1 = ISTR("Ambient"); ////MSG_AMBIENT c=14
|
||||
extern const char MSG_DATE [] PROGMEM_I1 = ISTR("Date:"); ////MSG_DATE c=17
|
||||
extern const char MSG_MMU_CONNECTED [] PROGMEM_I1 = ISTR("MMU connected"); ////MSG_MMU_CONNECTED c=18
|
||||
extern const char MSG_UNKNOWN [] PROGMEM_I1 = ISTR("unknown"); ////MSG_UNKNOWN c=13
|
||||
extern const char MSG_PRINTER_IP [] PROGMEM_I1 = ISTR("Printer IP Addr:"); ////MSG_PRINTER_IP c=18
|
||||
extern const char MSG_XYZ_DETAILS [] PROGMEM_I1 = ISTR("XYZ cal. details"); ////MSG_XYZ_DETAILS c=18
|
||||
extern const char MSG_INFO_EXTRUDER [] PROGMEM_I1 = ISTR("Extruder info"); ////MSG_INFO_EXTRUDER c=18
|
||||
extern const char MSG_INFO_SENSORS [] PROGMEM_I1 = ISTR("Sensor info"); ////MSG_INFO_SENSORS c=18
|
||||
extern const char MSG_MENU_TEMPERATURES [] PROGMEM_I1 = ISTR("Temperatures"); ////MSG_MENU_TEMPERATURES c=18
|
||||
extern const char MSG_MENU_VOLTAGES [] PROGMEM_I1 = ISTR("Voltages"); ////MSG_MENU_VOLTAGES c=18
|
||||
extern const char MSG_PRESS_KNOB [] PROGMEM_I1 = ISTR("Press the knob"); ////MSG_PRESS_KNOB c=20
|
||||
extern const char MSG_TO_LOAD_FIL [] PROGMEM_I1 = ISTR("to load filament"); ////MSG_TO_LOAD_FIL c=20
|
||||
extern const char MSG_TO_UNLOAD_FIL [] PROGMEM_I1 = ISTR("to unload filament"); ////MSG_TO_UNLOAD_FIL c=20
|
||||
extern const char MSG_PREHEATING_TO_LOAD [] PROGMEM_I1 = ISTR("Preheating to load"); ////MSG_PREHEATING_TO_LOAD c=20
|
||||
extern const char MSG_PREHEATING_TO_UNLOAD [] PROGMEM_I1 = ISTR("Preheating to unload"); ////MSG_PREHEATING_TO_UNLOAD c=20
|
||||
extern const char MSG_PREHEATING_TO_EJECT [] PROGMEM_I1 = ISTR("Preheating to eject"); ////MSG_PREHEATING_TO_EJECT c=20
|
||||
extern const char MSG_PREHEATING_TO_CUT [] PROGMEM_I1 = ISTR("Preheating to cut"); ////MSG_PREHEATING_TO_CUT c=20
|
||||
extern const char MSG_INSERT_FILAMENT [] PROGMEM_I1 = ISTR("Insert filament"); ////MSG_INSERT_FILAMENT c=20
|
||||
extern const char MSG_PRESS [] PROGMEM_I1 = ISTR("and press the knob"); ////MSG_PRESS c=20 r=2
|
||||
extern const char MSG_CHANGE_SUCCESS [] PROGMEM_I1 = ISTR("Change success!"); ////MSG_CHANGE_SUCCESS c=20
|
||||
extern const char MSG_LOADING_COLOR [] PROGMEM_I1 = ISTR("Loading color"); ////MSG_LOADING_COLOR c=20
|
||||
extern const char MSG_CORRECTLY [] PROGMEM_I1 = ISTR("Changed correctly"); ////MSG_CORRECTLY c=19
|
||||
extern const char MSG_NOT_LOADED [] PROGMEM_I1 = ISTR("Filament not loaded"); ////MSG_NOT_LOADED c=19
|
||||
extern const char MSG_NOT_COLOR [] PROGMEM_I1 = ISTR("Color not correct"); ////MSG_NOT_COLOR c=19
|
||||
extern const char MSG_AUTOLOADING_ENABLED [] PROGMEM_I1 = ISTR("Autoloading filament is active, just press the knob and insert filament..."); ////MSG_AUTOLOADING_ENABLED c=20 r=4
|
||||
extern const char MSG_FILAMENT_USED [] PROGMEM_I1 = ISTR("Filament used"); ////MSG_FILAMENT_USED c=19
|
||||
extern const char MSG_PRINT_TIME [] PROGMEM_I1 = ISTR("Print time"); ////MSG_PRINT_TIME c=19
|
||||
extern const char MSG_TOTAL_FILAMENT [] PROGMEM_I1 = ISTR("Total filament"); ////MSG_TOTAL_FILAMENT c=19
|
||||
extern const char MSG_TOTAL_PRINT_TIME [] PROGMEM_I1 = ISTR("Total print time"); ////MSG_TOTAL_PRINT_TIME c=19
|
||||
extern const char MSG_Y_DIST_FROM_MIN [] PROGMEM_I1 = ISTR("Y distance from min"); ////MSG_Y_DIST_FROM_MIN c=20
|
||||
extern const char MSG_LEFT [] PROGMEM_I1 = ISTR("Left"); ////MSG_LEFT c=10
|
||||
extern const char MSG_RIGHT [] PROGMEM_I1 = ISTR("Right"); ////MSG_RIGHT c=10
|
||||
extern const char MSG_MEASURED_SKEW [] PROGMEM_I1 = ISTR("Measured skew"); ////MSG_MEASURED_SKEW c=14
|
||||
extern const char MSG_SLIGHT_SKEW [] PROGMEM_I1 = ISTR("Slight skew"); ////MSG_SLIGHT_SKEW c=14
|
||||
extern const char MSG_SEVERE_SKEW [] PROGMEM_I1 = ISTR("Severe skew"); ////MSG_SEVERE_SKEW c=14
|
||||
extern const char MSG_MEASURED_OFFSET [] PROGMEM_I1 = ISTR("[0;0] point offset"); ////MSG_MEASURED_OFFSET c=20
|
||||
extern const char MSG_BABYSTEPPING_Z [] PROGMEM_I1 = ISTR("Adjusting Z"); ////MSG_BABYSTEPPING_Z c=13
|
||||
extern const char MSG_BED_CORRECTION_LEFT [] PROGMEM_I1 = ISTR("Left side [\xe4m]"); ////MSG_BED_CORRECTION_LEFT c=14
|
||||
extern const char MSG_BED_CORRECTION_RIGHT [] PROGMEM_I1 = ISTR("Right side[\xe4m]"); ////MSG_BED_CORRECTION_RIGHT c=14
|
||||
extern const char MSG_BED_CORRECTION_FRONT [] PROGMEM_I1 = ISTR("Front side[\xe4m]"); ////MSG_BED_CORRECTION_FRONT c=14
|
||||
extern const char MSG_BED_CORRECTION_REAR [] PROGMEM_I1 = ISTR("Rear side [\xe4m]"); ////MSG_BED_CORRECTION_REAR c=14
|
||||
extern const char MSG_SET_TEMPERATURE [] PROGMEM_I1 = ISTR("Set temperature:"); ////MSG_SET_TEMPERATURE c=20
|
||||
extern const char MSG_WAITING_TEMP_PINDA [] PROGMEM_I1 = ISTR("Waiting for PINDA probe cooling"); ////MSG_WAITING_TEMP_PINDA c=20 r=3
|
||||
extern const char MSG_WAITING_TEMP [] PROGMEM_I1 = ISTR("Waiting for nozzle and bed cooling"); ////MSG_WAITING_TEMP c=20 r=4
|
||||
extern const char MSG_MOVE_CARRIAGE_TO_THE_TOP_Z [] PROGMEM_I1 = ISTR("Calibrating Z. Rotate the knob to move the Z carriage up to the end stoppers. Click when done."); ////MSG_MOVE_CARRIAGE_TO_THE_TOP_Z c=20 r=8
|
||||
extern const char MSG_MOVE_CARRIAGE_TO_THE_TOP [] PROGMEM_I1 = ISTR("Calibrating XYZ. Rotate the knob to move the Z carriage up to the end stoppers. Click when done."); ////MSG_MOVE_CARRIAGE_TO_THE_TOP c=20 r=8
|
||||
extern const char MSG_CONFIRM_CARRIAGE_AT_THE_TOP [] PROGMEM_I1 = ISTR("Are left and right Z-carriages all up?"); ////MSG_CONFIRM_CARRIAGE_AT_THE_TOP c=20 r=3
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_POINT_NOT_FOUND [] PROGMEM_I1 = ISTR("XYZ calibration failed. Bed calibration point was not found."); ////MSG_BED_SKEW_OFFSET_DETECTION_POINT_NOT_FOUND c=20 r=6
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_BOTH_FAR [] PROGMEM_I1 = ISTR("XYZ calibration failed. Front calibration points not reachable."); ////MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_BOTH_FAR c=20 r=6
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_RIGHT_FAR [] PROGMEM_I1 = ISTR("XYZ calibration failed. Right front calibration point not reachable."); ////MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_RIGHT_FAR c=20 r=6
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_WARNING_FRONT_BOTH_FAR [] PROGMEM_I1 = ISTR("XYZ calibration compromised. Front calibration points not reachable."); ////MSG_BED_SKEW_OFFSET_DETECTION_WARNING_FRONT_BOTH_FAR c=20 r=8
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_WARNING_FRONT_RIGHT_FAR [] PROGMEM_I1 = ISTR("XYZ calibration compromised. Right front calibration point not reachable."); ////MSG_BED_SKEW_OFFSET_DETECTION_WARNING_FRONT_RIGHT_FAR c=20 r=8
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_PERFECT [] PROGMEM_I1 = ISTR("XYZ calibration ok. X/Y axes are perpendicular. Congratulations!"); ////MSG_BED_SKEW_OFFSET_DETECTION_PERFECT c=20 r=8
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_SKEW_MILD [] PROGMEM_I1 = ISTR("XYZ calibration all right. X/Y axes are slightly skewed. Good job!"); ////MSG_BED_SKEW_OFFSET_DETECTION_SKEW_MILD c=20 r=8
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_SKEW_EXTREME [] PROGMEM_I1 = ISTR("XYZ calibration all right. Skew will be corrected automatically."); ////MSG_BED_SKEW_OFFSET_DETECTION_SKEW_EXTREME c=20 r=8
|
||||
extern const char MSG_PINDA_CAL_FAILED [] PROGMEM_I1 = ISTR("PINDA calibration failed"); ////MSG_PINDA_CAL_FAILED c=20 r=4
|
||||
extern const char MSG_MOVE_X [] PROGMEM_I1 = ISTR("Move X"); ////MSG_MOVE_X c=18
|
||||
extern const char MSG_MOVE_Y [] PROGMEM_I1 = ISTR("Move Y"); ////MSG_MOVE_Y c=18
|
||||
extern const char MSG_MOVE_Z [] PROGMEM_I1 = ISTR("Move Z"); ////MSG_MOVE_Z c=18
|
||||
extern const char MSG_CRASH_DET_ONLY_IN_NORMAL [] PROGMEM_I1 = ISTR("Crash detection can\nbe turned on only in\nNormal mode"); ////MSG_CRASH_DET_ONLY_IN_NORMAL c=20 r=4
|
||||
extern const char MSG_CRASH_DET_STEALTH_FORCE_OFF [] PROGMEM_I1 = ISTR("WARNING:\nCrash detection\ndisabled in\nStealth mode"); ////MSG_CRASH_DET_STEALTH_FORCE_OFF c=20 r=4
|
||||
extern const char MSG_MODE_CHANGE_IN_PROGRESS [] PROGMEM_I1 = ISTR("Mode change in progress..."); ////MSG_MODE_CHANGE_IN_PROGRESS c=20 r=3
|
||||
extern const char MSG_COPY_SEL_LANG [] PROGMEM_I1 = ISTR("Copy selected language?"); ////MSG_COPY_SEL_LANG c=20 r=3
|
||||
extern const char MSG_SHEET_OFFSET [] PROGMEM_I1 = ISTR("Sheet %.7s\nZ offset: %+1.3fmm\n%cContinue\n%cReset"); ////MSG_SHEET_OFFSET c=20 r=4
|
||||
extern const char MSG_PLEASE_LOAD_PLA [] PROGMEM_I1 = ISTR("Please load filament first."); ////MSG_PLEASE_LOAD_PLA c=20 r=4
|
||||
extern const char MSG_WIZARD_RERUN [] PROGMEM_I1 = ISTR("Running Wizard will delete current calibration results and start from the beginning. Continue?"); ////MSG_WIZARD_RERUN c=20 r=7
|
||||
extern const char MSG_MMU_INSERT_FILAMENT_FIRST_TUBE [] PROGMEM_I1 = ISTR("Please insert filament into the first tube of the MMU, then press the knob to load it."); ////MSG_MMU_INSERT_FILAMENT_FIRST_TUBE c=20 r=6
|
||||
extern const char MSG_WIZARD_LOAD_FILAMENT [] PROGMEM_I1 = ISTR("Please insert filament into the extruder, then press the knob to load it."); ////MSG_WIZARD_LOAD_FILAMENT c=20 r=6
|
||||
extern const char MSG_WIZARD_V2_CAL [] PROGMEM_I1 = ISTR("Now I will calibrate distance between tip of the nozzle and heatbed surface."); ////MSG_WIZARD_V2_CAL c=20 r=8
|
||||
extern const char MSG_SELECT_FIL_1ST_LAYERCAL [] PROGMEM_I1 = ISTR("Select a filament for the First Layer Calibration and select it in the on-screen menu."); ////MSG_SELECT_FIL_1ST_LAYERCAL c=20 r=7
|
||||
extern const char MSG_SELECT_TEMP_MATCHES_MATERIAL [] PROGMEM_I1 = ISTR("Select temperature which matches your material."); ////MSG_SELECT_TEMP_MATCHES_MATERIAL c=20 r=4
|
||||
extern const char MSG_WIZARD_V2_CAL_2 [] PROGMEM_I1 = ISTR("The printer will start printing a zig-zag line. Rotate the knob until you reach the optimal height. Check the pictures in the handbook (Calibration chapter)."); ////MSG_WIZARD_V2_CAL_2 c=20 r=12
|
||||
extern const char MSG_WIZARD_SELFTEST [] PROGMEM_I1 = ISTR("First, I will run the selftest to check most common assembly problems."); ////MSG_WIZARD_SELFTEST c=20 r=8
|
||||
extern const char MSG_WIZARD_XYZ_CAL [] PROGMEM_I1 = ISTR("I will run xyz calibration now. It will take up to 24 mins."); ////MSG_WIZARD_XYZ_CAL c=20 r=8
|
||||
extern const char MSG_REMOVE_SHIPPING_HELPERS [] PROGMEM_I1 = ISTR("Please remove shipping helpers first."); ////MSG_REMOVE_SHIPPING_HELPERS c=20 r=3
|
||||
extern const char MSG_REMOVE_TEST_PRINT [] PROGMEM_I1 = ISTR("Now remove the test print from steel sheet."); ////MSG_REMOVE_TEST_PRINT c=20 r=4
|
||||
extern const char MSG_WIZARD_Z_CAL [] PROGMEM_I1 = ISTR("I will run z calibration now."); ////MSG_WIZARD_Z_CAL c=20 r=8
|
||||
extern const char MSG_WIZARD_WILL_PREHEAT [] PROGMEM_I1 = ISTR("Now I will preheat nozzle for PLA."); ////MSG_WIZARD_WILL_PREHEAT c=20 r=4
|
||||
extern const char MSG_TM_CAL [] PROGMEM_I1 = ISTR("Thermal model cal. takes approx. 12 mins. See\nprusa.io/tm-cal"); ////MSG_TM_CAL c=20 r=4
|
||||
extern const char MSG_SEL_PREHEAT_TEMP [] PROGMEM_I1 = ISTR("Select nozzle preheat temperature which matches your material."); ////MSG_SEL_PREHEAT_TEMP c=20 r=6
|
||||
extern const char MSG_WIZARD_REPEAT_V2_CAL [] PROGMEM_I1 = ISTR("Do you want to repeat last step to readjust distance between nozzle and heatbed?"); ////MSG_WIZARD_REPEAT_V2_CAL c=20 r=7
|
||||
extern const char MSG_WIZARD_CLEAN_HEATBED [] PROGMEM_I1 = ISTR("Please clean heatbed and then press the knob."); ////MSG_WIZARD_CLEAN_HEATBED c=20 r=8
|
||||
extern const char MSG_ADDITIONAL_SHEETS [] PROGMEM_I1 = ISTR("If you have additional steel sheets, calibrate their presets in Settings - HW Setup - Steel sheets."); ////MSG_ADDITIONAL_SHEETS c=20 r=8
|
||||
extern const char MSG_X_CORRECTION [] PROGMEM_I1 = ISTR("X-correct"); ////MSG_X_CORRECTION c=13
|
||||
extern const char MSG_Y_CORRECTION [] PROGMEM_I1 = ISTR("Y-correct"); ////MSG_Y_CORRECTION c=13
|
||||
extern const char MSG_Z_CORRECTION [] PROGMEM_I1 = ISTR("Z-correct"); ////MSG_Z_CORRECTION c=13
|
||||
extern const char MSG_EXTRUDER_CORRECTION [] PROGMEM_I1 = ISTR("E-correct"); ////MSG_EXTRUDER_CORRECTION c=13
|
||||
extern const char MSG_CHECKS [] PROGMEM_I1 = ISTR("Checks"); ////MSG_CHECKS c=18
|
||||
extern const char MSG_TEMPERATURE [] PROGMEM_I1 = ISTR("Temperature"); ////MSG_TEMPERATURE c=18
|
||||
extern const char MSG_MOVE_AXIS [] PROGMEM_I1 = ISTR("Move axis"); ////MSG_MOVE_AXIS c=18
|
||||
extern const char MSG_DISABLE_STEPPERS [] PROGMEM_I1 = ISTR("Disable steppers"); ////MSG_DISABLE_STEPPERS c=18
|
||||
extern const char MSG_LIN_CORRECTION [] PROGMEM_I1 = ISTR("Lin. correction"); ////MSG_LIN_CORRECTION c=18
|
||||
extern const char MSG_WIZARD [] PROGMEM_I1 = ISTR("Wizard"); ////MSG_WIZARD c=17
|
||||
extern const char MSG_BELTTEST [] PROGMEM_I1 = ISTR("Belt test"); ////MSG_BELTTEST c=18
|
||||
extern const char MSG_SELFTEST [] PROGMEM_I1 = ISTR("Selftest"); ////MSG_SELFTEST c=18
|
||||
extern const char MSG_CALIBRATE_BED [] PROGMEM_I1 = ISTR("Calibrate XYZ"); ////MSG_CALIBRATE_BED c=18
|
||||
extern const char MSG_BED_CORRECTION_MENU [] PROGMEM_I1 = ISTR("Bed level correct"); ////MSG_BED_CORRECTION_MENU c=18
|
||||
extern const char MSG_PID_EXTRUDER [] PROGMEM_I1 = ISTR("PID calibration"); ////MSG_PID_EXTRUDER c=17
|
||||
extern const char MSG_SHOW_END_STOPS [] PROGMEM_I1 = ISTR("Show end stops"); ////MSG_SHOW_END_STOPS c=18
|
||||
extern const char MSG_CALIBRATE_BED_RESET [] PROGMEM_I1 = ISTR("Reset XYZ calibr."); ////MSG_CALIBRATE_BED_RESET c=18
|
||||
extern const char MSG_SELECT [] PROGMEM_I1 = ISTR("Select"); ////MSG_SELECT c=18
|
||||
extern const char MSG_RENAME [] PROGMEM_I1 = ISTR("Rename"); ////MSG_RENAME c=18
|
||||
extern const char MSG_PREHEAT [] PROGMEM_I1 = ISTR("Preheat"); ////MSG_PREHEAT c=18
|
||||
extern const char MSG_CNG_SDCARD [] PROGMEM_I1 = ISTR("Change SD card"); ////MSG_CNG_SDCARD c=18
|
||||
extern const char MSG_NO_CARD [] PROGMEM_I1 = ISTR("No SD card"); ////MSG_NO_CARD c=18
|
||||
extern const char MSG_INIT_SDCARD [] PROGMEM_I1 = ISTR("Init. SD card"); ////MSG_INIT_SDCARD c=18
|
||||
extern const char MSG_LOAD_TO_NOZZLE [] PROGMEM_I1 = ISTR("Load to nozzle"); ////MSG_LOAD_TO_NOZZLE c=18
|
||||
extern const char MSG_AUTOLOAD_FILAMENT [] PROGMEM_I1 = ISTR("AutoLoad filament"); ////MSG_AUTOLOAD_FILAMENT c=18
|
||||
extern const char MSG_STATISTICS [] PROGMEM_I1 = ISTR("Statistics"); ////MSG_STATISTICS c=18
|
||||
extern const char MSG_FAIL_STATS [] PROGMEM_I1 = ISTR("Fail stats"); ////MSG_FAIL_STATS c=18
|
||||
extern const char MSG_MMU_FAIL_STATS [] PROGMEM_I1 = ISTR("Fail stats MMU"); ////MSG_MMU_FAIL_STATS c=18
|
||||
extern const char MSG_SUPPORT [] PROGMEM_I1 = ISTR("Support"); ////MSG_SUPPORT c=18
|
||||
extern const char MSG_SPEED [] PROGMEM_I1 = ISTR("Speed"); ////MSG_SPEED c=15
|
||||
extern const char MSG_FLOW [] PROGMEM_I1 = ISTR("Flow"); ////MSG_FLOW c=15
|
||||
extern const char MSG_INSERT_FIL [] PROGMEM_I1 = ISTR("Insert the filament (do not load it) into the extruder and then press the knob."); ////MSG_INSERT_FIL c=20 r=6
|
||||
extern const char MSG_UNLOAD_FILAMENT_REPEAT [] PROGMEM_I1 = ISTR("Please unload the filament first, then repeat this action."); ////MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
|
||||
extern const char MSG_CHECK_IR_CONNECTION [] PROGMEM_I1 = ISTR("Please check the IR sensor connection, unload filament if present."); ////MSG_CHECK_IR_CONNECTION c=20 r=4
|
||||
extern const char MSG_FS_VERIFIED [] PROGMEM_I1 = ISTR("Sensor verified, remove the filament now."); ////MSG_FS_VERIFIED c=20 r=3
|
||||
extern const char MSG_FIL_FAILED [] PROGMEM_I1 = ISTR("Verification failed, remove the filament and try again."); ////MSG_FIL_FAILED c=20 r=4
|
||||
extern const char MSG_SELFTEST_START [] PROGMEM_I1 = ISTR("Selftest start"); ////MSG_SELFTEST_START c=20
|
||||
extern const char MSG_SELFTEST_OK [] PROGMEM_I1 = ISTR("Selftest OK"); ////MSG_SELFTEST_OK c=20
|
||||
extern const char MSG_SELFTEST_ERROR [] PROGMEM_I1 = ISTR("Selftest error!"); ////MSG_SELFTEST_ERROR c=20
|
||||
extern const char MSG_SELFTEST_PLEASECHECK [] PROGMEM_I1 = ISTR("Please check:"); ////MSG_SELFTEST_PLEASECHECK c=20
|
||||
extern const char MSG_SELFTEST_HEATERTHERMISTOR [] PROGMEM_I1 = ISTR("Heater/Thermistor"); ////MSG_SELFTEST_HEATERTHERMISTOR c=20
|
||||
extern const char MSG_SELFTEST_NOTCONNECTED [] PROGMEM_I1 = ISTR("Not connected"); ////MSG_SELFTEST_NOTCONNECTED c=20
|
||||
extern const char MSG_SELFTEST_BEDHEATER [] PROGMEM_I1 = ISTR("Bed/Heater"); ////MSG_SELFTEST_BEDHEATER c=20
|
||||
extern const char MSG_SELFTEST_ENDSTOPS [] PROGMEM_I1 = ISTR("Endstops"); ////MSG_SELFTEST_ENDSTOPS c=20
|
||||
extern const char MSG_SELFTEST_ENDSTOP [] PROGMEM_I1 = ISTR("Endstop"); ////MSG_SELFTEST_ENDSTOP c=16
|
||||
extern const char MSG_SELFTEST_ENDSTOP_NOTHIT [] PROGMEM_I1 = ISTR("Endstop not hit"); ////MSG_SELFTEST_ENDSTOP_NOTHIT c=20
|
||||
extern const char MSG_LOOSE_PULLEY [] PROGMEM_I1 = ISTR("Loose pulley"); ////MSG_LOOSE_PULLEY c=20
|
||||
extern const char MSG_SELFTEST_AXIS_LENGTH [] PROGMEM_I1 = ISTR("Axis length"); ////MSG_SELFTEST_AXIS_LENGTH c=20
|
||||
extern const char MSG_SELFTEST_AXIS [] PROGMEM_I1 = ISTR("Axis"); ////MSG_SELFTEST_AXIS c=16
|
||||
extern const char MSG_SELFTEST_FANS [] PROGMEM_I1 = ISTR("Front/left fans"); ////MSG_SELFTEST_FANS c=20
|
||||
extern const char MSG_SELFTEST_SWAPPED [] PROGMEM_I1 = ISTR("Swapped"); ////MSG_SELFTEST_SWAPPED c=16
|
||||
extern const char MSG_FALSE_TRIGGERING [] PROGMEM_I1 = ISTR("False triggering"); ////MSG_FALSE_TRIGGERING c=20
|
||||
extern const char MSG_SELFTEST_FS_LEVEL [] PROGMEM_I1 = ISTR("%s level expected"); ////MSG_SELFTEST_FS_LEVEL c=20
|
||||
extern const char MSG_SELFTEST_CHECK_ENDSTOPS [] PROGMEM_I1 = ISTR("Checking endstops"); ////MSG_SELFTEST_CHECK_ENDSTOPS c=20
|
||||
extern const char MSG_SELFTEST_CHECK_Z [] PROGMEM_I1 = ISTR("Checking Z axis"); ////MSG_SELFTEST_CHECK_Z c=20
|
||||
extern const char MSG_SELFTEST_CHECK_HOTEND [] PROGMEM_I1 = ISTR("Checking hotend"); ////MSG_SELFTEST_CHECK_HOTEND c=20
|
||||
extern const char MSG_SELFTEST_CHECK_ALLCORRECT [] PROGMEM_I1 = ISTR("All correct"); ////MSG_SELFTEST_CHECK_ALLCORRECT c=20
|
||||
extern const char MSG_CALIBRATING_HOME [] PROGMEM_I1 = ISTR("Calibrating home"); ////MSG_CALIBRATING_HOME c=20
|
||||
extern const char MSG_CHECKING_FILE [] PROGMEM_I1 = ISTR("Checking file"); ////MSG_CHECKING_FILE c=17
|
||||
extern const char MSG_FILE_INCOMPLETE [] PROGMEM_I1 = ISTR("File incomplete. Continue anyway?"); ////MSG_FILE_INCOMPLETE c=20 r=3
|
||||
extern const char MSG_SD_REMOVED [] PROGMEM_I1 = ISTR("Card removed"); ////MSG_SD_REMOVED c=20
|
||||
extern const char MSG_NEW_FIRMWARE_AVAILABLE [] PROGMEM_I1 = ISTR("New firmware version available:"); ////MSG_NEW_FIRMWARE_AVAILABLE c=20 r=2
|
||||
extern const char MSG_NEW_FIRMWARE_PLEASE_UPGRADE [] PROGMEM_I1 = ISTR("Please upgrade."); ////MSG_NEW_FIRMWARE_PLEASE_UPGRADE c=20
|
||||
|
||||
//not internationalized messages
|
||||
#if 0
|
||||
const char MSG_FW_VERSION_BETA[] PROGMEM_N1 = "You are using a BETA firmware version! It is in a development state! Use this version with CAUTION as it may DAMAGE the printer!"; ////MSG_FW_VERSION_BETA c=20 r=8
|
||||
|
|
|
|||
|
|
@ -195,6 +195,176 @@ extern const char MSG_NOZZLE_CNG_MENU [];
|
|||
extern const char MSG_NOZZLE_CNG_READ_HELP [];
|
||||
extern const char MSG_NOZZLE_CNG_CHANGED [];
|
||||
extern const char MSG_REPRINT [];
|
||||
extern const char MSG_FILE_CNT [];
|
||||
extern const char MSG_CHANGED_MOTHERBOARD [];
|
||||
extern const char MSG_CHANGED_PRINTER [];
|
||||
extern const char MSG_CHANGED_BOTH [];
|
||||
extern const char MSG_DEFAULT_SETTINGS_LOADED [];
|
||||
extern const char MSG_FORCE_SELFTEST [];
|
||||
extern const char MSG_MBL_FAILED_Z_CAL [];
|
||||
extern const char MSG_ZLEVELING_ENFORCED [];
|
||||
extern const char MSG_UNLOAD_SUCCESSFUL [];
|
||||
extern const char MSG_CHECK_IDLER [];
|
||||
extern const char MSG_RUN_XYZ [];
|
||||
extern const char MSG_TEMP_CAL_WARNING [];
|
||||
extern const char MSG_USERWAIT [];
|
||||
extern const char MSG_NO_MOVE [];
|
||||
extern const char MSG_BED_HEATING_SAFETY_DISABLED [];
|
||||
extern const char MSG_PRESS_TO_PREHEAT [];
|
||||
extern const char MSG_IMPROVE_BED_OFFSET_AND_SKEW_LINE1 [];
|
||||
extern const char MSG_MMU_RESTORE_TEMP [];
|
||||
extern const char MSG_MMU_SENSITIVITY [];
|
||||
extern const char MSG_RECOVERING_PRINT [];
|
||||
extern const char MSG_HOMEYZ_DONE [];
|
||||
extern const char MSG_PINDA_PREHEAT [];
|
||||
extern const char MSG_PID_RUNNING [];
|
||||
extern const char MSG_PID_FINISHED [];
|
||||
extern const char MSG_AMBIENT [];
|
||||
extern const char MSG_DATE [];
|
||||
extern const char MSG_MMU_CONNECTED [];
|
||||
extern const char MSG_UNKNOWN [];
|
||||
extern const char MSG_PRINTER_IP [];
|
||||
extern const char MSG_XYZ_DETAILS [];
|
||||
extern const char MSG_INFO_EXTRUDER [];
|
||||
extern const char MSG_INFO_SENSORS [];
|
||||
extern const char MSG_MENU_TEMPERATURES [];
|
||||
extern const char MSG_MENU_VOLTAGES [];
|
||||
extern const char MSG_PRESS_KNOB [];
|
||||
extern const char MSG_TO_LOAD_FIL [];
|
||||
extern const char MSG_TO_UNLOAD_FIL [];
|
||||
extern const char MSG_PREHEATING_TO_LOAD [];
|
||||
extern const char MSG_PREHEATING_TO_UNLOAD [];
|
||||
extern const char MSG_PREHEATING_TO_EJECT [];
|
||||
extern const char MSG_PREHEATING_TO_CUT [];
|
||||
extern const char MSG_INSERT_FILAMENT [];
|
||||
extern const char MSG_PRESS [];
|
||||
extern const char MSG_CHANGE_SUCCESS [];
|
||||
extern const char MSG_LOADING_COLOR [];
|
||||
extern const char MSG_CORRECTLY [];
|
||||
extern const char MSG_NOT_LOADED [];
|
||||
extern const char MSG_NOT_COLOR [];
|
||||
extern const char MSG_AUTOLOADING_ENABLED [];
|
||||
extern const char MSG_FILAMENT_USED [];
|
||||
extern const char MSG_PRINT_TIME [];
|
||||
extern const char MSG_TOTAL_FILAMENT [];
|
||||
extern const char MSG_TOTAL_PRINT_TIME [];
|
||||
extern const char MSG_Y_DIST_FROM_MIN [];
|
||||
extern const char MSG_LEFT [];
|
||||
extern const char MSG_RIGHT [];
|
||||
extern const char MSG_MEASURED_SKEW [];
|
||||
extern const char MSG_SLIGHT_SKEW [];
|
||||
extern const char MSG_SEVERE_SKEW [];
|
||||
extern const char MSG_MEASURED_OFFSET [];
|
||||
extern const char MSG_BABYSTEPPING_Z [];
|
||||
extern const char MSG_BED_CORRECTION_LEFT [];
|
||||
extern const char MSG_BED_CORRECTION_RIGHT [];
|
||||
extern const char MSG_BED_CORRECTION_FRONT [];
|
||||
extern const char MSG_BED_CORRECTION_REAR [];
|
||||
extern const char MSG_SET_TEMPERATURE [];
|
||||
extern const char MSG_WAITING_TEMP_PINDA [];
|
||||
extern const char MSG_WAITING_TEMP [];
|
||||
extern const char MSG_MOVE_CARRIAGE_TO_THE_TOP_Z [];
|
||||
extern const char MSG_MOVE_CARRIAGE_TO_THE_TOP [];
|
||||
extern const char MSG_CONFIRM_CARRIAGE_AT_THE_TOP [];
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_POINT_NOT_FOUND [];
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_BOTH_FAR [];
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_RIGHT_FAR [];
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_WARNING_FRONT_BOTH_FAR [];
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_WARNING_FRONT_RIGHT_FAR [];
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_PERFECT [];
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_SKEW_MILD [];
|
||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_SKEW_EXTREME [];
|
||||
extern const char MSG_PINDA_CAL_FAILED [];
|
||||
extern const char MSG_MOVE_X [];
|
||||
extern const char MSG_MOVE_Y [];
|
||||
extern const char MSG_MOVE_Z [];
|
||||
extern const char MSG_CRASH_DET_ONLY_IN_NORMAL [];
|
||||
extern const char MSG_CRASH_DET_STEALTH_FORCE_OFF [];
|
||||
extern const char MSG_MODE_CHANGE_IN_PROGRESS [];
|
||||
extern const char MSG_COPY_SEL_LANG [];
|
||||
extern const char MSG_SHEET_OFFSET [];
|
||||
extern const char MSG_PLEASE_LOAD_PLA [];
|
||||
extern const char MSG_WIZARD_RERUN [];
|
||||
extern const char MSG_MMU_INSERT_FILAMENT_FIRST_TUBE [];
|
||||
extern const char MSG_WIZARD_LOAD_FILAMENT [];
|
||||
extern const char MSG_WIZARD_V2_CAL [];
|
||||
extern const char MSG_SELECT_FIL_1ST_LAYERCAL [];
|
||||
extern const char MSG_SELECT_TEMP_MATCHES_MATERIAL [];
|
||||
extern const char MSG_WIZARD_V2_CAL_2 [];
|
||||
extern const char MSG_WIZARD_SELFTEST [];
|
||||
extern const char MSG_WIZARD_XYZ_CAL [];
|
||||
extern const char MSG_REMOVE_SHIPPING_HELPERS [];
|
||||
extern const char MSG_REMOVE_TEST_PRINT [];
|
||||
extern const char MSG_WIZARD_Z_CAL [];
|
||||
extern const char MSG_WIZARD_WILL_PREHEAT [];
|
||||
extern const char MSG_TM_CAL [];
|
||||
extern const char MSG_SEL_PREHEAT_TEMP [];
|
||||
extern const char MSG_WIZARD_REPEAT_V2_CAL [];
|
||||
extern const char MSG_WIZARD_CLEAN_HEATBED [];
|
||||
extern const char MSG_ADDITIONAL_SHEETS [];
|
||||
extern const char MSG_X_CORRECTION [];
|
||||
extern const char MSG_Y_CORRECTION [];
|
||||
extern const char MSG_Z_CORRECTION [];
|
||||
extern const char MSG_EXTRUDER_CORRECTION [];
|
||||
extern const char MSG_CHECKS [];
|
||||
extern const char MSG_TEMPERATURE [];
|
||||
extern const char MSG_MOVE_AXIS [];
|
||||
extern const char MSG_DISABLE_STEPPERS [];
|
||||
extern const char MSG_LIN_CORRECTION [];
|
||||
extern const char MSG_WIZARD [];
|
||||
extern const char MSG_BELTTEST [];
|
||||
extern const char MSG_SELFTEST [];
|
||||
extern const char MSG_CALIBRATE_BED [];
|
||||
extern const char MSG_BED_CORRECTION_MENU [];
|
||||
extern const char MSG_PID_EXTRUDER [];
|
||||
extern const char MSG_SHOW_END_STOPS [];
|
||||
extern const char MSG_CALIBRATE_BED_RESET [];
|
||||
extern const char MSG_SELECT [];
|
||||
extern const char MSG_RENAME [];
|
||||
extern const char MSG_PREHEAT [];
|
||||
extern const char MSG_CNG_SDCARD [];
|
||||
extern const char MSG_NO_CARD [];
|
||||
extern const char MSG_INIT_SDCARD [];
|
||||
extern const char MSG_LOAD_TO_NOZZLE [];
|
||||
extern const char MSG_AUTOLOAD_FILAMENT [];
|
||||
extern const char MSG_STATISTICS [];
|
||||
extern const char MSG_FAIL_STATS [];
|
||||
extern const char MSG_MMU_FAIL_STATS [];
|
||||
extern const char MSG_SUPPORT [];
|
||||
extern const char MSG_SPEED [];
|
||||
extern const char MSG_FLOW [];
|
||||
extern const char MSG_INSERT_FIL [];
|
||||
extern const char MSG_UNLOAD_FILAMENT_REPEAT [];
|
||||
extern const char MSG_CHECK_IR_CONNECTION [];
|
||||
extern const char MSG_FS_VERIFIED [];
|
||||
extern const char MSG_FIL_FAILED [];
|
||||
extern const char MSG_SELFTEST_START [];
|
||||
extern const char MSG_SELFTEST_OK [];
|
||||
extern const char MSG_SELFTEST_ERROR [];
|
||||
extern const char MSG_SELFTEST_PLEASECHECK [];
|
||||
extern const char MSG_SELFTEST_HEATERTHERMISTOR [];
|
||||
extern const char MSG_SELFTEST_NOTCONNECTED [];
|
||||
extern const char MSG_SELFTEST_BEDHEATER [];
|
||||
extern const char MSG_SELFTEST_ENDSTOPS [];
|
||||
extern const char MSG_SELFTEST_ENDSTOP [];
|
||||
extern const char MSG_SELFTEST_ENDSTOP_NOTHIT [];
|
||||
extern const char MSG_LOOSE_PULLEY [];
|
||||
extern const char MSG_SELFTEST_AXIS_LENGTH [];
|
||||
extern const char MSG_SELFTEST_AXIS [];
|
||||
extern const char MSG_SELFTEST_FANS [];
|
||||
extern const char MSG_SELFTEST_SWAPPED [];
|
||||
extern const char MSG_FALSE_TRIGGERING [];
|
||||
extern const char MSG_SELFTEST_FS_LEVEL [];
|
||||
extern const char MSG_SELFTEST_CHECK_ENDSTOPS [];
|
||||
extern const char MSG_SELFTEST_CHECK_Z [];
|
||||
extern const char MSG_SELFTEST_CHECK_HOTEND [];
|
||||
extern const char MSG_SELFTEST_CHECK_ALLCORRECT [];
|
||||
extern const char MSG_CALIBRATING_HOME [];
|
||||
extern const char MSG_CHECKING_FILE [];
|
||||
extern const char MSG_FILE_INCOMPLETE [];
|
||||
extern const char MSG_SD_REMOVED [];
|
||||
extern const char MSG_NEW_FIRMWARE_AVAILABLE [];
|
||||
extern const char MSG_NEW_FIRMWARE_PLEASE_UPGRADE [];
|
||||
|
||||
//not internationalized messages
|
||||
#if 0
|
||||
|
|
|
|||
|
|
@ -393,7 +393,7 @@ void FullScreenMsgLoad(uint8_t slot){
|
|||
}
|
||||
|
||||
void FullScreenMsgRestoringTemperature(){
|
||||
lcd_display_message_fullscreen_P(_i("MMU Retry: Restoring temperature...")); ////MSG_MMU_RESTORE_TEMP c=20 r=4
|
||||
lcd_display_message_fullscreen_P(_T(MSG_MMU_RESTORE_TEMP));
|
||||
}
|
||||
|
||||
void ScreenUpdateEnable(){
|
||||
|
|
@ -455,7 +455,7 @@ void tuneIdlerStallguardThresholdMenu() {
|
|||
);
|
||||
MENU_ITEM_BACK_P(_T(MSG_DONE));
|
||||
MENU_ITEM_EDIT_int3_P(
|
||||
_i("Sensitivity"), ////MSG_MMU_SENSITIVITY c=18
|
||||
_T(MSG_MMU_SENSITIVITY),
|
||||
&_md->currentValue,
|
||||
_md->item.minValue,
|
||||
_md->item.maxValue
|
||||
|
|
|
|||
|
|
@ -313,7 +313,7 @@ ISR(INT4_vect) {
|
|||
}
|
||||
|
||||
void recover_print(uint8_t automatic) {
|
||||
lcd_setstatuspgm(_i("Recovering print"));////MSG_RECOVERING_PRINT c=20
|
||||
lcd_setstatuspgm(_T(MSG_RECOVERING_PRINT));
|
||||
|
||||
// Recover position, temperatures and extrude_multipliers
|
||||
bool mbl_was_active = recover_machine_state_after_power_panic();
|
||||
|
|
|
|||
|
|
@ -590,7 +590,7 @@ void lcdui_print_status_line(void) {
|
|||
if (custom_message_state > 3 && custom_message_state <= 10) {
|
||||
lcd_set_cursor(0, 3);
|
||||
lcd_space(19);
|
||||
lcd_puts_at_P(0, 3, _i("Calibration done")); ////MSG_HOMEYZ_DONE c=20
|
||||
lcd_puts_at_P(0, 3, _T(MSG_HOMEYZ_DONE));
|
||||
custom_message_state--;
|
||||
}
|
||||
}
|
||||
|
|
@ -607,7 +607,7 @@ void lcdui_print_status_line(void) {
|
|||
lcd_printf_P(PSTR("%-12.12S%-d/6"), _T(MSG_PINDA_CALIBRATION), custom_message_state);
|
||||
break;
|
||||
case CustomMsg::TempCompPreheat: // temp compensation preheat
|
||||
lcd_puts_at_P(0, 3, _i("PINDA Heating")); ////MSG_PINDA_PREHEAT c=20
|
||||
lcd_puts_at_P(0, 3, _T(MSG_PINDA_PREHEAT));
|
||||
if (custom_message_state <= PINDA_HEAT_T) {
|
||||
lcd_puts_P(PSTR(": "));
|
||||
lcd_print(custom_message_state); // seconds
|
||||
|
|
@ -894,12 +894,12 @@ void lcd_commands()
|
|||
preparePidTuning(); // ensure we don't move to the next step early
|
||||
// setting the correct target temperature (for visualization) is done in PID_autotune
|
||||
enquecommandf_P(PSTR("M303 E0 S%3u"), pid_temp);
|
||||
lcd_setstatuspgm(_i("PID cal."));////MSG_PID_RUNNING c=20
|
||||
lcd_setstatuspgm(_T(MSG_PID_RUNNING));
|
||||
lcd_commands_step = 2;
|
||||
}
|
||||
if (lcd_commands_step == 2 && !pidTuningRunning()) { //saving to eeprom
|
||||
custom_message_state = 0;
|
||||
lcd_setstatuspgm(_i("PID cal. finished"));////MSG_PID_FINISHED c=20
|
||||
lcd_setstatuspgm(_T(MSG_PID_FINISHED));
|
||||
setTargetHotend(0);
|
||||
if (_Kp != 0 || _Ki != 0 || _Kd != 0) {
|
||||
enquecommandf_P(PSTR("M301 P%.2f I%.2f D%.2f"), _Kp, _Ki, _Kd);
|
||||
|
|
@ -1390,7 +1390,7 @@ static void lcd_menu_temperatures()
|
|||
lcd_menu_temperatures_line( _T(MSG_NOZZLE), (int)current_temperature[0] );
|
||||
lcd_menu_temperatures_line( _T(MSG_BED), (int)current_temperature_bed );
|
||||
#ifdef AMBIENT_THERMISTOR
|
||||
lcd_menu_temperatures_line( _i("Ambient"), (int)current_temperature_ambient ); ////MSG_AMBIENT c=14
|
||||
lcd_menu_temperatures_line( _T(MSG_AMBIENT), (int)current_temperature_ambient );
|
||||
#endif //AMBIENT_THERMISTOR
|
||||
#ifdef PINDA_THERMISTOR
|
||||
lcd_menu_temperatures_line(MSG_PINDA, (int)current_temperature_pinda ); ////MSG_PINDA
|
||||
|
|
@ -1642,7 +1642,7 @@ static void lcd_support_menu()
|
|||
MENU_ITEM_BACK_P(PSTR(ELECTRONICS));
|
||||
MENU_ITEM_BACK_P(PSTR(NOZZLE_TYPE));
|
||||
MENU_ITEM_BACK_P(STR_SEPARATOR);
|
||||
MENU_ITEM_BACK_P(_i("Date:"));////MSG_DATE c=17
|
||||
MENU_ITEM_BACK_P(_T(MSG_DATE));
|
||||
MENU_ITEM_BACK_P(PSTR(SOURCE_DATE_EPOCH));
|
||||
|
||||
#if defined(FILAMENT_SENSOR) && (FILAMENT_SENSOR_TYPE == FSENSOR_IR_ANALOG)
|
||||
|
|
@ -1654,7 +1654,7 @@ static void lcd_support_menu()
|
|||
MENU_ITEM_BACK_P(STR_SEPARATOR);
|
||||
if (MMU2::mmu2.Enabled())
|
||||
{
|
||||
MENU_ITEM_BACK_P(_i("MMU connected")); ////MSG_MMU_CONNECTED c=18
|
||||
MENU_ITEM_BACK_P(_T(MSG_MMU_CONNECTED));
|
||||
MENU_ITEM_BACK_P(PSTR(" FW:")); ////c=17
|
||||
if (((menu_item - 1) == menu_line) && lcd_draw_update)
|
||||
{
|
||||
|
|
@ -1663,7 +1663,7 @@ static void lcd_support_menu()
|
|||
if (mmu_version.major > 0)
|
||||
lcd_printf_P(PSTR("%d.%d.%d"), mmu_version.major, mmu_version.minor, mmu_version.build);
|
||||
else
|
||||
lcd_puts_P(_i("unknown")); ////MSG_UNKNOWN c=13
|
||||
lcd_puts_P(_T(MSG_UNKNOWN));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
@ -1686,7 +1686,7 @@ static void lcd_support_menu()
|
|||
if (IP_address) {
|
||||
|
||||
MENU_ITEM_BACK_P(STR_SEPARATOR);
|
||||
MENU_ITEM_BACK_P(_i("Printer IP Addr:")); ////MSG_PRINTER_IP c=18
|
||||
MENU_ITEM_BACK_P(_T(MSG_PRINTER_IP));
|
||||
MENU_ITEM_BACK_P(PSTR(" "));
|
||||
if (((menu_item - 1) == menu_line) && lcd_draw_update) {
|
||||
lcd_set_cursor(2, menu_row);
|
||||
|
|
@ -1696,18 +1696,18 @@ static void lcd_support_menu()
|
|||
}
|
||||
|
||||
MENU_ITEM_BACK_P(STR_SEPARATOR);
|
||||
MENU_ITEM_SUBMENU_P(_i("XYZ cal. details"), lcd_menu_xyz_y_min);////MSG_XYZ_DETAILS c=18
|
||||
MENU_ITEM_SUBMENU_P(_i("Extruder info"), lcd_menu_extruder_info);////MSG_INFO_EXTRUDER c=18
|
||||
MENU_ITEM_SUBMENU_P(_i("Sensor info"), lcd_menu_show_sensors_state);////MSG_INFO_SENSORS c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_XYZ_DETAILS), lcd_menu_xyz_y_min);
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_INFO_EXTRUDER), lcd_menu_extruder_info);
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_INFO_SENSORS), lcd_menu_show_sensors_state);
|
||||
|
||||
#ifdef TMC2130
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_BELT_STATUS), lcd_menu_belt_status);
|
||||
#endif //TMC2130
|
||||
|
||||
MENU_ITEM_SUBMENU_P(_i("Temperatures"), lcd_menu_temperatures);////MSG_MENU_TEMPERATURES c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_MENU_TEMPERATURES), lcd_menu_temperatures);
|
||||
|
||||
#if defined (VOLT_BED_PIN) || defined (VOLT_PWR_PIN)
|
||||
MENU_ITEM_SUBMENU_P(_i("Voltages"), lcd_menu_voltages);////MSG_MENU_VOLTAGES c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_MENU_VOLTAGES), lcd_menu_voltages);
|
||||
#endif //defined VOLT_BED_PIN || defined VOLT_PWR_PIN
|
||||
|
||||
#ifdef MENU_DUMP
|
||||
|
|
@ -1796,7 +1796,7 @@ void lcd_print_target_temps_first_line() {
|
|||
static void mFilamentPrompt()
|
||||
{
|
||||
lcd_print_target_temps_first_line();
|
||||
lcd_puts_at_P(0,1, _i("Press the knob")); ////MSG_PRESS_KNOB c=20
|
||||
lcd_puts_at_P(0,1, _T(MSG_PRESS_KNOB));
|
||||
lcd_set_cursor(0,2);
|
||||
switch(eFilamentAction)
|
||||
{
|
||||
|
|
@ -1804,11 +1804,11 @@ switch(eFilamentAction)
|
|||
case FilamentAction::AutoLoad:
|
||||
case FilamentAction::MmuLoad:
|
||||
case FilamentAction::MmuLoadingTest:
|
||||
lcd_puts_P(_i("to load filament")); ////MSG_TO_LOAD_FIL c=20
|
||||
lcd_puts_P(_T(MSG_TO_LOAD_FIL));
|
||||
break;
|
||||
case FilamentAction::UnLoad:
|
||||
case FilamentAction::MmuUnLoad:
|
||||
lcd_puts_P(_i("to unload filament")); ////MSG_TO_UNLOAD_FIL c=20
|
||||
lcd_puts_P(_T(MSG_TO_UNLOAD_FIL));
|
||||
break;
|
||||
case FilamentAction::MmuEject:
|
||||
case FilamentAction::MmuCut:
|
||||
|
|
@ -1984,19 +1984,19 @@ void mFilamentItem(uint16_t nTemp, uint16_t nTempBed)
|
|||
case FilamentAction::AutoLoad:
|
||||
case FilamentAction::MmuLoad:
|
||||
case FilamentAction::MmuLoadingTest:
|
||||
lcd_puts_P(_i("Preheating to load")); ////MSG_PREHEATING_TO_LOAD c=20
|
||||
lcd_puts_P(_T(MSG_PREHEATING_TO_LOAD));
|
||||
if (once) raise_z_above(MIN_Z_FOR_LOAD);
|
||||
break;
|
||||
case FilamentAction::UnLoad:
|
||||
case FilamentAction::MmuUnLoad:
|
||||
lcd_puts_P(_i("Preheating to unload")); ////MSG_PREHEATING_TO_UNLOAD c=20
|
||||
lcd_puts_P(_T(MSG_PREHEATING_TO_UNLOAD));
|
||||
if (once) raise_z_above(MIN_Z_FOR_UNLOAD);
|
||||
break;
|
||||
case FilamentAction::MmuEject:
|
||||
lcd_puts_P(_i("Preheating to eject")); ////MSG_PREHEATING_TO_EJECT c=20
|
||||
lcd_puts_P(_T(MSG_PREHEATING_TO_EJECT));
|
||||
break;
|
||||
case FilamentAction::MmuCut:
|
||||
lcd_puts_P(_i("Preheating to cut")); ////MSG_PREHEATING_TO_CUT c=20
|
||||
lcd_puts_P(_T(MSG_PREHEATING_TO_CUT));
|
||||
break;
|
||||
case FilamentAction::None:
|
||||
case FilamentAction::Preheat:
|
||||
|
|
@ -2139,12 +2139,12 @@ void lcd_wait_interact() {
|
|||
|
||||
lcd_clear();
|
||||
|
||||
lcd_puts_at_P(0, 1, _i("Insert filament"));////MSG_INSERT_FILAMENT c=20
|
||||
lcd_puts_at_P(0, 1, _T(MSG_INSERT_FILAMENT));
|
||||
#ifdef FILAMENT_SENSOR
|
||||
if (!fsensor.getAutoLoadEnabled())
|
||||
#endif //FILAMENT_SENSOR
|
||||
{
|
||||
lcd_puts_at_P(0, 2, _i("and press the knob"));////MSG_PRESS c=20 r=2
|
||||
lcd_puts_at_P(0, 2, _T(MSG_PRESS));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2153,7 +2153,7 @@ void lcd_change_success() {
|
|||
|
||||
lcd_clear();
|
||||
|
||||
lcd_puts_at_P(0, 2, _i("Change success!"));////MSG_CHANGE_SUCCESS c=20
|
||||
lcd_puts_at_P(0, 2, _T(MSG_CHANGE_SUCCESS));
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -2175,7 +2175,7 @@ void lcd_loading_color() {
|
|||
|
||||
lcd_clear();
|
||||
|
||||
lcd_puts_at_P(0, 0, _i("Loading color"));////MSG_LOADING_COLOR c=20
|
||||
lcd_puts_at_P(0, 0, _T(MSG_LOADING_COLOR));
|
||||
lcd_puts_at_P(0, 2, _T(MSG_PLEASE_WAIT));
|
||||
lcd_loading_progress_bar((FILAMENTCHANGE_FINALFEED * 1000ul) / FILAMENTCHANGE_EFEED_FINAL); //show progress bar during filament loading slow sequence
|
||||
}
|
||||
|
|
@ -2200,9 +2200,9 @@ uint8_t lcd_alright() {
|
|||
uint8_t cursor_pos = 0;
|
||||
|
||||
lcd_clear();
|
||||
lcd_puts_at_P(1, 0, _i("Changed correctly"));////MSG_CORRECTLY c=19
|
||||
lcd_puts_at_P(1, 1, _i("Filament not loaded"));////MSG_NOT_LOADED c=19
|
||||
lcd_puts_at_P(1, 2, _i("Color not correct"));////MSG_NOT_COLOR c=19
|
||||
lcd_puts_at_P(1, 0, _T(MSG_CORRECTLY));
|
||||
lcd_puts_at_P(1, 1, _T(MSG_NOT_LOADED));
|
||||
lcd_puts_at_P(1, 2, _T(MSG_NOT_COLOR));
|
||||
lcd_puts_at_P(1, 3, _T(MSG_UNLOAD_FILAMENT));
|
||||
lcd_putc_at(0, cursor_pos, '>');
|
||||
|
||||
|
|
@ -2269,7 +2269,7 @@ void lcd_load_filament_color_check()
|
|||
#ifdef FILAMENT_SENSOR
|
||||
static void lcd_menu_AutoLoadFilament()
|
||||
{
|
||||
lcd_display_message_fullscreen_nonBlocking_P(_i("Autoloading filament is active, just press the knob and insert filament..."));////MSG_AUTOLOADING_ENABLED c=20 r=4
|
||||
lcd_display_message_fullscreen_nonBlocking_P(_T(MSG_AUTOLOADING_ENABLED));
|
||||
menu_back_if_clicked();
|
||||
}
|
||||
#endif //FILAMENT_SENSOR
|
||||
|
|
@ -2344,8 +2344,8 @@ void lcd_menu_statistics()
|
|||
"%S:\n"
|
||||
"%10ldh %02dm %02ds"
|
||||
),
|
||||
_i("Filament used"), _met, ////MSG_FILAMENT_USED c=19
|
||||
_i("Print time"), _h, _m, _s); ////MSG_PRINT_TIME c=19
|
||||
_T(MSG_FILAMENT_USED), _met,
|
||||
_T(MSG_PRINT_TIME), _h, _m, _s);
|
||||
menu_back_if_clicked();
|
||||
}
|
||||
else
|
||||
|
|
@ -2366,8 +2366,8 @@ void lcd_menu_statistics()
|
|||
"%S:\n"
|
||||
"%10ldd %02dh %02dm"
|
||||
),
|
||||
_i("Total filament"), _filament_m, ////MSG_TOTAL_FILAMENT c=19
|
||||
_i("Total print time"), _days, _hours, _minutes); ////MSG_TOTAL_PRINT_TIME c=19
|
||||
_T(MSG_TOTAL_FILAMENT), _filament_m,
|
||||
_T(MSG_TOTAL_PRINT_TIME), _days, _hours, _minutes);
|
||||
menu_back_if_clicked();
|
||||
}
|
||||
}
|
||||
|
|
@ -2473,10 +2473,10 @@ static void lcd_menu_xyz_y_min()
|
|||
"%S:\n"
|
||||
"%S:"
|
||||
),
|
||||
_i("Y distance from min"), ////MSG_Y_DIST_FROM_MIN c=20
|
||||
_T(MSG_Y_DIST_FROM_MIN),
|
||||
STR_SEPARATOR,
|
||||
_i("Left"), ////MSG_LEFT c=10
|
||||
_i("Right") ////MSG_RIGHT c=10
|
||||
_T(MSG_LEFT),
|
||||
_T(MSG_RIGHT)
|
||||
);
|
||||
for (uint8_t i = 0; i < 2; i++)
|
||||
{
|
||||
|
|
@ -2516,10 +2516,10 @@ static void lcd_menu_xyz_skew()
|
|||
"%-14.14S:%3.2f" LCD_STR_DEGREE "\n"
|
||||
"%-14.14S:%3.2f" LCD_STR_DEGREE
|
||||
),
|
||||
_i("Measured skew"), ////MSG_MEASURED_SKEW c=14
|
||||
_T(MSG_MEASURED_SKEW),
|
||||
STR_SEPARATOR,
|
||||
_i("Slight skew"), _deg(bed_skew_angle_mild), ////MSG_SLIGHT_SKEW c=14
|
||||
_i("Severe skew"), _deg(bed_skew_angle_extreme) ////MSG_SEVERE_SKEW c=14
|
||||
_T(MSG_SLIGHT_SKEW), _deg(bed_skew_angle_mild),
|
||||
_T(MSG_SEVERE_SKEW), _deg(bed_skew_angle_extreme)
|
||||
);
|
||||
lcd_set_cursor(15, 0);
|
||||
if (angleDiff < 100){
|
||||
|
|
@ -2543,7 +2543,7 @@ static void lcd_menu_xyz_skew()
|
|||
//! @todo Positioning of the messages and values on LCD aren't fixed to their exact place. This causes issues with translations.
|
||||
static void lcd_menu_xyz_offset()
|
||||
{
|
||||
lcd_puts_at_P(0, 0, _i("[0;0] point offset"));////MSG_MEASURED_OFFSET c=20
|
||||
lcd_puts_at_P(0, 0, _T(MSG_MEASURED_OFFSET));
|
||||
lcd_puts_at_P(0, 1, STR_SEPARATOR);
|
||||
|
||||
for (uint8_t i = 0; i < 2; i++) {
|
||||
|
|
@ -2632,7 +2632,7 @@ static void lcd_babystep_z()
|
|||
lcd_home();
|
||||
lcd_print(buffer.c);
|
||||
lcd_set_cursor(0, 1);
|
||||
menu_draw_float13(_i("Adjusting Z"), _md->babystepMemMMZ); ////MSG_BABYSTEPPING_Z c=13
|
||||
menu_draw_float13(_T(MSG_BABYSTEPPING_Z), _md->babystepMemMMZ);
|
||||
}
|
||||
if (LCD_CLICKED || menu_leaving)
|
||||
{
|
||||
|
|
@ -2706,10 +2706,10 @@ void lcd_adjust_bed(void)
|
|||
eeprom_update_byte_notify((uint8_t*)EEPROM_BED_CORRECTION_VALID, 1);
|
||||
);
|
||||
MENU_ITEM_BACK_P(_T(MSG_BACK));
|
||||
MENU_ITEM_EDIT_int3_P(_i("Left side [\xe4m]"), &_md->left, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);////MSG_BED_CORRECTION_LEFT c=14
|
||||
MENU_ITEM_EDIT_int3_P(_i("Right side[\xe4m]"), &_md->right, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);////MSG_BED_CORRECTION_RIGHT c=14
|
||||
MENU_ITEM_EDIT_int3_P(_i("Front side[\xe4m]"), &_md->front, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);////MSG_BED_CORRECTION_FRONT c=14
|
||||
MENU_ITEM_EDIT_int3_P(_i("Rear side [\xe4m]"), &_md->rear, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);////MSG_BED_CORRECTION_REAR c=14
|
||||
MENU_ITEM_EDIT_int3_P(_T(MSG_BED_CORRECTION_LEFT), &_md->left, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);
|
||||
MENU_ITEM_EDIT_int3_P(_T(MSG_BED_CORRECTION_RIGHT), &_md->right, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);
|
||||
MENU_ITEM_EDIT_int3_P(_T(MSG_BED_CORRECTION_FRONT), &_md->front, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);
|
||||
MENU_ITEM_EDIT_int3_P(_T(MSG_BED_CORRECTION_REAR), &_md->rear, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);
|
||||
MENU_ITEM_FUNCTION_P(_T(MSG_RESET), lcd_adjust_bed_reset);
|
||||
MENU_END();
|
||||
}
|
||||
|
|
@ -2727,7 +2727,7 @@ void lcd_adjust_bed(void)
|
|||
void pid_extruder()
|
||||
{
|
||||
lcd_clear();
|
||||
lcd_puts_at_P(0, 0, _i("Set temperature:"));////MSG_SET_TEMPERATURE c=20
|
||||
lcd_puts_at_P(0, 0, _T(MSG_SET_TEMPERATURE));
|
||||
pid_temp += lcd_encoder;
|
||||
if (pid_temp > HEATER_0_MAXTEMP) pid_temp = HEATER_0_MAXTEMP;
|
||||
else if (pid_temp < HEATER_0_MINTEMP) pid_temp = HEATER_0_MINTEMP;
|
||||
|
|
@ -2750,7 +2750,7 @@ bool lcd_wait_for_pinda(float temp) {
|
|||
bool target_temp_reached = true;
|
||||
|
||||
while (current_temperature_pinda > temp){
|
||||
lcd_display_message_fullscreen_P(_i("Waiting for PINDA probe cooling"));////MSG_WAITING_TEMP_PINDA c=20 r=3
|
||||
lcd_display_message_fullscreen_P(_T(MSG_WAITING_TEMP_PINDA));
|
||||
|
||||
lcd_putc_at(0, 4, LCD_STR_THERMOMETER[0]);
|
||||
lcd_printf_P(PSTR("%3d/%3d"), (int16_t)current_temperature_pinda, (int16_t) temp);
|
||||
|
|
@ -2779,7 +2779,7 @@ void lcd_wait_for_cool_down() {
|
|||
uint8_t fanSpeedBckp = fanSpeed;
|
||||
fanSpeed = 255;
|
||||
while ((degHotend(0)>MAX_HOTEND_TEMP_CALIBRATION) || (degBed() > MAX_BED_TEMP_CALIBRATION)) {
|
||||
lcd_display_message_fullscreen_P(_i("Waiting for nozzle and bed cooling"));////MSG_WAITING_TEMP c=20 r=4
|
||||
lcd_display_message_fullscreen_P(_T(MSG_WAITING_TEMP));
|
||||
|
||||
lcd_putc_at(0, 4, LCD_STR_THERMOMETER[0]);
|
||||
lcd_printf_P(PSTR("%3d/0"), (int16_t)degHotend(0));
|
||||
|
|
@ -2809,8 +2809,8 @@ bool lcd_calibrate_z_end_stop_manual(bool only_z)
|
|||
// Until confirmed by the confirmation dialog.
|
||||
for (;;) {
|
||||
const char *msg = only_z
|
||||
? _i("Calibrating Z. Rotate the knob to move the Z carriage up to the end stoppers. Click when done.")////MSG_MOVE_CARRIAGE_TO_THE_TOP_Z c=20 r=8
|
||||
: _i("Calibrating XYZ. Rotate the knob to move the Z carriage up to the end stoppers. Click when done.");////MSG_MOVE_CARRIAGE_TO_THE_TOP c=20 r=8
|
||||
? _T(MSG_MOVE_CARRIAGE_TO_THE_TOP_Z)
|
||||
: _T(MSG_MOVE_CARRIAGE_TO_THE_TOP);
|
||||
const char *msg_next = lcd_display_message_fullscreen_P(msg);
|
||||
const bool multi_screen = msg_next != NULL;
|
||||
unsigned long previous_millis_msg = _millis();
|
||||
|
|
@ -2845,7 +2845,7 @@ bool lcd_calibrate_z_end_stop_manual(bool only_z)
|
|||
}
|
||||
}
|
||||
// Let the user confirm, that the Z carriage is at the top end stoppers.
|
||||
uint8_t result = lcd_show_fullscreen_message_yes_no_and_wait_P(_i("Are left and right Z-carriages all up?"), false);////MSG_CONFIRM_CARRIAGE_AT_THE_TOP c=20 r=3
|
||||
uint8_t result = lcd_show_fullscreen_message_yes_no_and_wait_P(_T(MSG_CONFIRM_CARRIAGE_AT_THE_TOP), false);
|
||||
if (result == LCD_BUTTON_TIMEOUT)
|
||||
goto canceled;
|
||||
else if (result == LCD_LEFT_BUTTON_CHOICE)
|
||||
|
|
@ -3164,16 +3164,16 @@ void lcd_bed_calibration_show_result(BedSkewOffsetDetectionResultType result, ui
|
|||
{
|
||||
const char *msg = NULL;
|
||||
if (result == BED_SKEW_OFFSET_DETECTION_POINT_NOT_FOUND) {
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("XYZ calibration failed. Bed calibration point was not found."));////MSG_BED_SKEW_OFFSET_DETECTION_POINT_NOT_FOUND c=20 r=6
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_BED_SKEW_OFFSET_DETECTION_POINT_NOT_FOUND));
|
||||
} else if (result == BED_SKEW_OFFSET_DETECTION_FITTING_FAILED) {
|
||||
if (point_too_far_mask == 0)
|
||||
msg = _T(MSG_BED_SKEW_OFFSET_DETECTION_FITTING_FAILED);
|
||||
else if (point_too_far_mask == 2 || point_too_far_mask == 7)
|
||||
// Only the center point or all the three front points.
|
||||
msg = _i("XYZ calibration failed. Front calibration points not reachable.");////MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_BOTH_FAR c=20 r=6
|
||||
msg = _T(MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_BOTH_FAR);
|
||||
else if ((point_too_far_mask & 1) == 0)
|
||||
// The right and maybe the center point out of reach.
|
||||
msg = _i("XYZ calibration failed. Right front calibration point not reachable.");////MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_RIGHT_FAR c=20 r=6
|
||||
msg = _T(MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_RIGHT_FAR);
|
||||
else
|
||||
// The left and maybe the center point out of reach. //@todo Why isn't it found in the firmware.map
|
||||
msg = _n("XYZ calibration failed. Left front calibration point not reachable.");////MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_LEFT_FAR c=20 r=8
|
||||
|
|
@ -3182,10 +3182,10 @@ void lcd_bed_calibration_show_result(BedSkewOffsetDetectionResultType result, ui
|
|||
if (point_too_far_mask != 0) {
|
||||
if (point_too_far_mask == 2 || point_too_far_mask == 7)
|
||||
// Only the center point or all the three front points.
|
||||
msg = _i("XYZ calibration compromised. Front calibration points not reachable.");////MSG_BED_SKEW_OFFSET_DETECTION_WARNING_FRONT_BOTH_FAR c=20 r=8
|
||||
msg = _T(MSG_BED_SKEW_OFFSET_DETECTION_WARNING_FRONT_BOTH_FAR);
|
||||
else if ((point_too_far_mask & 1) == 0)
|
||||
// The right and maybe the center point out of reach.
|
||||
msg = _i("XYZ calibration compromised. Right front calibration point not reachable.");////MSG_BED_SKEW_OFFSET_DETECTION_WARNING_FRONT_RIGHT_FAR c=20 r=8
|
||||
msg = _T(MSG_BED_SKEW_OFFSET_DETECTION_WARNING_FRONT_RIGHT_FAR);
|
||||
else
|
||||
// The left and maybe the center point out of reach. //@todo Why isn't it found in the firmware.map
|
||||
msg = _n("XYZ calibration compromised. Left front calibration point not reachable.");////MSG_BED_SKEW_OFFSET_DETECTION_WARNING_FRONT_LEFT_FAR c=20 r=8
|
||||
|
|
@ -3198,13 +3198,13 @@ void lcd_bed_calibration_show_result(BedSkewOffsetDetectionResultType result, ui
|
|||
msg = _T(MSG_BED_SKEW_OFFSET_DETECTION_FITTING_FAILED);
|
||||
break;
|
||||
case BED_SKEW_OFFSET_DETECTION_PERFECT:
|
||||
msg = _i("XYZ calibration ok. X/Y axes are perpendicular. Congratulations!");////MSG_BED_SKEW_OFFSET_DETECTION_PERFECT c=20 r=8
|
||||
msg = _T(MSG_BED_SKEW_OFFSET_DETECTION_PERFECT);
|
||||
break;
|
||||
case BED_SKEW_OFFSET_DETECTION_SKEW_MILD:
|
||||
msg = _i("XYZ calibration all right. X/Y axes are slightly skewed. Good job!");////MSG_BED_SKEW_OFFSET_DETECTION_SKEW_MILD c=20 r=8
|
||||
msg = _T(MSG_BED_SKEW_OFFSET_DETECTION_SKEW_MILD);
|
||||
break;
|
||||
case BED_SKEW_OFFSET_DETECTION_SKEW_EXTREME:
|
||||
msg = _i("XYZ calibration all right. Skew will be corrected automatically.");////MSG_BED_SKEW_OFFSET_DETECTION_SKEW_EXTREME c=20 r=8
|
||||
msg = _T(MSG_BED_SKEW_OFFSET_DETECTION_SKEW_EXTREME);
|
||||
break;
|
||||
}
|
||||
lcd_show_fullscreen_message_and_wait_P(msg);
|
||||
|
|
@ -3230,7 +3230,7 @@ void lcd_temp_cal_show_result(bool result) {
|
|||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_PINDA_CALIBRATION_DONE));
|
||||
} else {
|
||||
SERIAL_ECHOLNPGM("PINDA calibration failed. Continue with pressing the knob.");
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("PINDA calibration failed"));////MSG_PINDA_CAL_FAILED c=20 r=4
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_PINDA_CAL_FAILED));
|
||||
}
|
||||
lcd_update_enable(true);
|
||||
lcd_update(2);
|
||||
|
|
@ -3346,9 +3346,9 @@ void lcd_move_menu_axis()
|
|||
{
|
||||
MENU_BEGIN();
|
||||
MENU_ITEM_BACK_P(_T(MSG_SETTINGS));
|
||||
MENU_ITEM_SUBMENU_P(_i("Move X"), lcd_move_x);////MSG_MOVE_X c=18
|
||||
MENU_ITEM_SUBMENU_P(_i("Move Y"), lcd_move_y);////MSG_MOVE_Y c=18
|
||||
MENU_ITEM_SUBMENU_P(_i("Move Z"), lcd_move_z);////MSG_MOVE_Z c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_MOVE_X), lcd_move_x);
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_MOVE_Y), lcd_move_y);
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_MOVE_Z), lcd_move_z);
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_EXTRUDER), lcd_move_e);
|
||||
MENU_END();
|
||||
}
|
||||
|
|
@ -3371,14 +3371,14 @@ static void lcd_sort_type_set() {
|
|||
static void lcd_crash_mode_info()
|
||||
{
|
||||
lcd_home();
|
||||
lcd_puts_P(_i("Crash detection can\nbe turned on only in\nNormal mode"));////MSG_CRASH_DET_ONLY_IN_NORMAL c=20 r=4
|
||||
lcd_puts_P(_T(MSG_CRASH_DET_ONLY_IN_NORMAL));
|
||||
menu_back_if_clicked();
|
||||
}
|
||||
|
||||
static void lcd_crash_mode_info2()
|
||||
{
|
||||
lcd_home();
|
||||
lcd_puts_P(_i("WARNING:\nCrash detection\ndisabled in\nStealth mode"));////MSG_CRASH_DET_STEALTH_FORCE_OFF c=20 r=4
|
||||
lcd_puts_P(_T(MSG_CRASH_DET_STEALTH_FORCE_OFF));
|
||||
menu_back_if_clicked();
|
||||
}
|
||||
#endif //TMC2130
|
||||
|
|
@ -3410,7 +3410,7 @@ static void lcd_silent_mode_set() {
|
|||
#ifdef TMC2130
|
||||
if (blocks_queued())
|
||||
{
|
||||
lcd_display_message_fullscreen_P(_i("Mode change in progress..."));////MSG_MODE_CHANGE_IN_PROGRESS c=20 r=3
|
||||
lcd_display_message_fullscreen_P(_T(MSG_MODE_CHANGE_IN_PROGRESS));
|
||||
// Wait until the planner queue is drained and the stepper routine achieves
|
||||
// an idle state.
|
||||
st_synchronize();
|
||||
|
|
@ -3447,7 +3447,7 @@ static void menu_setlang(uint8_t lang)
|
|||
{
|
||||
if (!lang_select(lang))
|
||||
{
|
||||
if (lcd_show_fullscreen_message_yes_no_and_wait_P(_i("Copy selected language?"), false, LCD_LEFT_BUTTON_CHOICE) == LCD_LEFT_BUTTON_CHOICE)////MSG_COPY_SEL_LANG c=20 r=3
|
||||
if (lcd_show_fullscreen_message_yes_no_and_wait_P(_T(MSG_COPY_SEL_LANG), false, LCD_LEFT_BUTTON_CHOICE) == LCD_LEFT_BUTTON_CHOICE)
|
||||
lang_boot_update_start(lang);
|
||||
lcd_update_enable(true);
|
||||
menu_goto(lcd_language_menu, 0, true, true);
|
||||
|
|
@ -3601,7 +3601,7 @@ void lcd_first_layer_calibration_reset()
|
|||
eeprom_read_block(sheet_name, &EEPROM_Sheets_base->s[(eeprom_read_byte(&(EEPROM_Sheets_base->active_sheet)))].name, sizeof(Sheet::name));
|
||||
lcd_home();
|
||||
float offset = static_cast<int16_t>(eeprom_read_word(reinterpret_cast<uint16_t*>(&EEPROM_Sheets_base->s[(eeprom_read_byte(&(EEPROM_Sheets_base->active_sheet)))].z_offset)))/cs.axis_steps_per_mm[Z_AXIS];
|
||||
lcd_printf_P(_i("Sheet %.7s\nZ offset: %+1.3fmm\n%cContinue\n%cReset"),////MSG_SHEET_OFFSET c=20 r=4
|
||||
lcd_printf_P(_T(MSG_SHEET_OFFSET),
|
||||
sheet_name, offset, menuData->reset ? ' ' : '>', menuData->reset ? '>' : ' ');// \n denotes line break, %.7s is replaced by 7 character long sheet name, %+1.3f is replaced by 6 character long floating point number, %c is replaced by > or white space (one character) based on whether first or second option is selected. % denoted place holders can not be reordered.
|
||||
|
||||
}
|
||||
|
|
@ -3630,7 +3630,7 @@ void lcd_v2_calibration() {
|
|||
}
|
||||
|
||||
if (!loaded) {
|
||||
lcd_display_message_fullscreen_P(_i("Please load filament first."));////MSG_PLEASE_LOAD_PLA c=20 r=4
|
||||
lcd_display_message_fullscreen_P(_T(MSG_PLEASE_LOAD_PLA));
|
||||
lcd_consume_click();
|
||||
for (uint_least8_t i = 0; i < 20; i++) { //wait max. 2s
|
||||
delay_keep_alive(100);
|
||||
|
|
@ -3653,7 +3653,7 @@ void lcd_wizard() {
|
|||
bool result = true;
|
||||
if (calibration_status_get(CALIBRATION_WIZARD_STEPS)) {
|
||||
// calibration already performed: ask before clearing the previous status
|
||||
result = !lcd_show_multiscreen_message_yes_no_and_wait_P(_i("Running Wizard will delete current calibration results and start from the beginning. Continue?"), false);////MSG_WIZARD_RERUN c=20 r=7
|
||||
result = !lcd_show_multiscreen_message_yes_no_and_wait_P(_T(MSG_WIZARD_RERUN), false);
|
||||
}
|
||||
if (result) {
|
||||
calibration_status_clear(CALIBRATION_WIZARD_STEPS);
|
||||
|
|
@ -3702,14 +3702,14 @@ static void wait_preheat()
|
|||
static void lcd_wizard_load() {
|
||||
if (MMU2::mmu2.Enabled()) {
|
||||
lcd_show_fullscreen_message_and_wait_P(
|
||||
_i("Please insert filament into the first tube of the MMU, then press the knob to load it.")); ////MSG_MMU_INSERT_FILAMENT_FIRST_TUBE c=20 r=6
|
||||
_T(MSG_MMU_INSERT_FILAMENT_FIRST_TUBE));
|
||||
// NOTE: a full screen message showing which filament is being inserted
|
||||
// is performed by M701. For this reason MSG_LOADING_FILAMENT is not
|
||||
// used here when a MMU is used.
|
||||
eFilamentAction = FilamentAction::MmuLoad;
|
||||
} else {
|
||||
lcd_show_fullscreen_message_and_wait_P(
|
||||
_i("Please insert filament into the extruder, then press the knob to load it.")); ////MSG_WIZARD_LOAD_FILAMENT c=20 r=6
|
||||
_T(MSG_WIZARD_LOAD_FILAMENT));
|
||||
lcd_update_enable(false);
|
||||
lcd_clear();
|
||||
lcd_puts_at_P(0, 2, _T(MSG_LOADING_FILAMENT));
|
||||
|
|
@ -3723,19 +3723,19 @@ static void lcd_wizard_load() {
|
|||
static void wizard_lay1cal_message(bool cold)
|
||||
{
|
||||
lcd_show_fullscreen_message_and_wait_P(
|
||||
_i("Now I will calibrate distance between tip of the nozzle and heatbed surface.")); ////MSG_WIZARD_V2_CAL c=20 r=8
|
||||
_T(MSG_WIZARD_V2_CAL));
|
||||
if (MMU2::mmu2.Enabled())
|
||||
{
|
||||
lcd_show_fullscreen_message_and_wait_P(
|
||||
_i("Select a filament for the First Layer Calibration and select it in the on-screen menu."));////MSG_SELECT_FIL_1ST_LAYERCAL c=20 r=7
|
||||
_T(MSG_SELECT_FIL_1ST_LAYERCAL));
|
||||
}
|
||||
else if (cold)
|
||||
{
|
||||
lcd_show_fullscreen_message_and_wait_P(
|
||||
_i("Select temperature which matches your material."));////MSG_SELECT_TEMP_MATCHES_MATERIAL c=20 r=4
|
||||
_T(MSG_SELECT_TEMP_MATCHES_MATERIAL));
|
||||
}
|
||||
lcd_show_fullscreen_message_and_wait_P(
|
||||
_i("The printer will start printing a zig-zag line. Rotate the knob until you reach the optimal height. Check the pictures in the handbook (Calibration chapter).")); ////MSG_WIZARD_V2_CAL_2 c=20 r=12
|
||||
_T(MSG_WIZARD_V2_CAL_2));
|
||||
}
|
||||
|
||||
//! @brief Printer first run wizard (Selftest and calibration)
|
||||
|
|
@ -3843,23 +3843,23 @@ void lcd_wizard(WizState state)
|
|||
}
|
||||
break;
|
||||
case S::Selftest:
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("First, I will run the selftest to check most common assembly problems."));////MSG_WIZARD_SELFTEST c=20 r=8
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_WIZARD_SELFTEST));
|
||||
wizard_event = lcd_selftest();
|
||||
state = (wizard_event ? S::Restore : S::Failed);
|
||||
break;
|
||||
case S::Xyz:
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("I will run xyz calibration now. It will take up to 24 mins."));////MSG_WIZARD_XYZ_CAL c=20 r=8
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_WIZARD_XYZ_CAL));
|
||||
wizard_event = gcode_M45(false, 0);
|
||||
state = (wizard_event ? S::Restore : S::Failed);
|
||||
break;
|
||||
case S::Z:
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Please remove shipping helpers first."));////MSG_REMOVE_SHIPPING_HELPERS c=20 r=3
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Now remove the test print from steel sheet."));////MSG_REMOVE_TEST_PRINT c=20 r=4
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_REMOVE_SHIPPING_HELPERS));
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_REMOVE_TEST_PRINT));
|
||||
wizard_event = lcd_show_fullscreen_message_yes_no_and_wait_P(_T(MSG_STEEL_SHEET_CHECK), false);
|
||||
if (wizard_event == LCD_MIDDLE_BUTTON_CHOICE) {
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_PLACE_STEEL_SHEET));
|
||||
}
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("I will run z calibration now."));////MSG_WIZARD_Z_CAL c=20 r=8
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_WIZARD_Z_CAL));
|
||||
wizard_event = gcode_M45(true, 0);
|
||||
if (!wizard_event) {
|
||||
state = S::Failed;
|
||||
|
|
@ -3868,7 +3868,7 @@ void lcd_wizard(WizState state)
|
|||
//current filament needs to be unloaded and then new filament should be loaded
|
||||
//start to preheat nozzle for unloading remaining PLA filament
|
||||
setTargetHotend(PLA_PREHEAT_HOTEND_TEMP);
|
||||
lcd_display_message_fullscreen_P(_i("Now I will preheat nozzle for PLA.")); ////MSG_WIZARD_WILL_PREHEAT c=20 r=4
|
||||
lcd_display_message_fullscreen_P(_T(MSG_WIZARD_WILL_PREHEAT));
|
||||
wait_preheat();
|
||||
unload_filament(FILAMENTCHANGE_FINALRETRACT); // unload current filament
|
||||
lcd_wizard_load(); // load filament
|
||||
|
|
@ -3878,7 +3878,7 @@ void lcd_wizard(WizState state)
|
|||
break;
|
||||
#ifdef THERMAL_MODEL
|
||||
case S::ThermalModel:
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Thermal model cal. takes approx. 12 mins. See\nprusa.io/tm-cal"));////MSG_TM_CAL c=20 r=4
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_TM_CAL));
|
||||
lcd_commands_type = LcdCommands::ThermalModel;
|
||||
end = true; // Leave wizard temporarily for TM cal.
|
||||
break;
|
||||
|
|
@ -3897,7 +3897,7 @@ void lcd_wizard(WizState state)
|
|||
break;
|
||||
case S::Preheat:
|
||||
menu_goto(lcd_preheat_menu, 0, true);
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Select nozzle preheat temperature which matches your material."));////MSG_SEL_PREHEAT_TEMP c=20 r=6
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_SEL_PREHEAT_TEMP));
|
||||
end = true; // Leave wizard temporarily for lcd_preheat_menu
|
||||
break;
|
||||
case S::LoadFilHot:
|
||||
|
|
@ -3920,15 +3920,15 @@ void lcd_wizard(WizState state)
|
|||
end = true; // Leave wizard temporarily for lcd_v2_calibration
|
||||
break;
|
||||
case S::RepeatLay1Cal:
|
||||
wizard_event = lcd_show_multiscreen_message_yes_no_and_wait_P(_i("Do you want to repeat last step to readjust distance between nozzle and heatbed?"), false);////MSG_WIZARD_REPEAT_V2_CAL c=20 r=7
|
||||
wizard_event = lcd_show_multiscreen_message_yes_no_and_wait_P(_T(MSG_WIZARD_REPEAT_V2_CAL), false);
|
||||
if (wizard_event == LCD_LEFT_BUTTON_CHOICE)
|
||||
{
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Please clean heatbed and then press the knob."));////MSG_WIZARD_CLEAN_HEATBED c=20 r=8
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_WIZARD_CLEAN_HEATBED));
|
||||
state = S::Lay1CalCold;
|
||||
}
|
||||
else
|
||||
{
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("If you have additional steel sheets, calibrate their presets in Settings - HW Setup - Steel sheets."));////MSG_ADDITIONAL_SHEETS c=20 r=8
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_ADDITIONAL_SHEETS));
|
||||
state = S::Restore;
|
||||
}
|
||||
break;
|
||||
|
|
@ -3983,11 +3983,11 @@ void lcd_settings_linearity_correction_menu(void)
|
|||
);
|
||||
MENU_ITEM_BACK_P(_T(MSG_SETTINGS));
|
||||
#ifdef TMC2130_LINEARITY_CORRECTION_XYZ
|
||||
MENU_ITEM_EDIT_int3_P(_i("X-correct"), &tmc2130_wave_fac[X_AXIS], TMC2130_WAVE_FAC1000_MIN-TMC2130_WAVE_FAC1000_STP, TMC2130_WAVE_FAC1000_MAX);////MSG_X_CORRECTION c=13
|
||||
MENU_ITEM_EDIT_int3_P(_i("Y-correct"), &tmc2130_wave_fac[Y_AXIS], TMC2130_WAVE_FAC1000_MIN-TMC2130_WAVE_FAC1000_STP, TMC2130_WAVE_FAC1000_MAX);////MSG_Y_CORRECTION c=13
|
||||
MENU_ITEM_EDIT_int3_P(_i("Z-correct"), &tmc2130_wave_fac[Z_AXIS], TMC2130_WAVE_FAC1000_MIN-TMC2130_WAVE_FAC1000_STP, TMC2130_WAVE_FAC1000_MAX);////MSG_Z_CORRECTION c=13
|
||||
MENU_ITEM_EDIT_int3_P(_T(MSG_X_CORRECTION), &tmc2130_wave_fac[X_AXIS], TMC2130_WAVE_FAC1000_MIN-TMC2130_WAVE_FAC1000_STP, TMC2130_WAVE_FAC1000_MAX);
|
||||
MENU_ITEM_EDIT_int3_P(_T(MSG_Y_CORRECTION), &tmc2130_wave_fac[Y_AXIS], TMC2130_WAVE_FAC1000_MIN-TMC2130_WAVE_FAC1000_STP, TMC2130_WAVE_FAC1000_MAX);
|
||||
MENU_ITEM_EDIT_int3_P(_T(MSG_Z_CORRECTION), &tmc2130_wave_fac[Z_AXIS], TMC2130_WAVE_FAC1000_MIN-TMC2130_WAVE_FAC1000_STP, TMC2130_WAVE_FAC1000_MAX);
|
||||
#endif //TMC2130_LINEARITY_CORRECTION_XYZ
|
||||
MENU_ITEM_EDIT_int3_P(_i("E-correct"), &tmc2130_wave_fac[E_AXIS], TMC2130_WAVE_FAC1000_MIN-TMC2130_WAVE_FAC1000_STP, TMC2130_WAVE_FAC1000_MAX);////MSG_EXTRUDER_CORRECTION c=13
|
||||
MENU_ITEM_EDIT_int3_P(_T(MSG_EXTRUDER_CORRECTION), &tmc2130_wave_fac[E_AXIS], TMC2130_WAVE_FAC1000_MIN-TMC2130_WAVE_FAC1000_STP, TMC2130_WAVE_FAC1000_MAX);
|
||||
MENU_END();
|
||||
}
|
||||
#endif // TMC2130
|
||||
|
|
@ -4421,7 +4421,7 @@ void lcd_hw_setup_menu(void) // can not be "static"
|
|||
MENU_ITEM_SUBMENU_P(_T(MSG_STEEL_SHEETS), sheets_menu);
|
||||
SETTINGS_NOZZLE;
|
||||
MENU_ITEM_FUNCTION_P(_T(MSG_NOZZLE_CNG_MENU),nozzle_change);
|
||||
MENU_ITEM_SUBMENU_P(_i("Checks"), lcd_checking_menu); ////MSG_CHECKS c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_CHECKS), lcd_checking_menu);
|
||||
|
||||
#if defined(FILAMENT_SENSOR) && (FILAMENT_SENSOR_TYPE == FSENSOR_IR_ANALOG)
|
||||
//! Fsensor Detection isn't ready for mmu yet it is temporarily disabled.
|
||||
|
|
@ -4452,12 +4452,12 @@ static void lcd_settings_menu()
|
|||
MENU_BEGIN();
|
||||
MENU_ITEM_BACK_P(_T(MSG_MAIN));
|
||||
|
||||
MENU_ITEM_SUBMENU_P(_i("Temperature"), lcd_control_temperature_menu);////MSG_TEMPERATURE c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_TEMPERATURE), lcd_control_temperature_menu);
|
||||
|
||||
if (!printer_active() || printingIsPaused())
|
||||
{
|
||||
MENU_ITEM_SUBMENU_P(_i("Move axis"), lcd_move_menu_axis);////MSG_MOVE_AXIS c=18
|
||||
MENU_ITEM_GCODE_P(_i("Disable steppers"), MSG_M84);////MSG_DISABLE_STEPPERS c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_MOVE_AXIS), lcd_move_menu_axis);
|
||||
MENU_ITEM_GCODE_P(_T(MSG_DISABLE_STEPPERS), MSG_M84);
|
||||
}
|
||||
|
||||
#ifdef FILAMENT_SENSOR
|
||||
|
|
@ -4488,7 +4488,7 @@ static void lcd_settings_menu()
|
|||
MENU_ITEM_SUBMENU_P(_T(MSG_MESH_BED_LEVELING), lcd_mesh_bed_leveling_settings);
|
||||
|
||||
#if defined (TMC2130) && defined (LINEARITY_CORRECTION)
|
||||
MENU_ITEM_SUBMENU_P(_i("Lin. correction"), lcd_settings_linearity_correction_menu);////MSG_LIN_CORRECTION c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_LIN_CORRECTION), lcd_settings_linearity_correction_menu);
|
||||
#endif //LINEARITY_CORRECTION && TMC2130
|
||||
#ifdef PINDA_THERMISTOR
|
||||
if(has_temperature_compensation())
|
||||
|
|
@ -4569,29 +4569,29 @@ static void lcd_calibration_menu()
|
|||
{
|
||||
MENU_BEGIN();
|
||||
MENU_ITEM_BACK_P(_T(MSG_MAIN));
|
||||
MENU_ITEM_FUNCTION_P(_i("Wizard"), lcd_wizard);////MSG_WIZARD c=17
|
||||
MENU_ITEM_FUNCTION_P(_T(MSG_WIZARD), lcd_wizard);
|
||||
if (lcd_commands_type == LcdCommands::Idle)
|
||||
{
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_V2_CALIBRATION), lcd_first_layer_calibration_reset);
|
||||
}
|
||||
MENU_ITEM_GCODE_P(_T(MSG_AUTO_HOME), G28W);
|
||||
#ifdef TMC2130
|
||||
MENU_ITEM_FUNCTION_P(_i("Belt test"), lcd_belttest_v);////MSG_BELTTEST c=18
|
||||
MENU_ITEM_FUNCTION_P(_T(MSG_BELTTEST), lcd_belttest_v);
|
||||
#endif //TMC2130
|
||||
MENU_ITEM_FUNCTION_P(_i("Selftest"), lcd_selftest_v);////MSG_SELFTEST c=18
|
||||
MENU_ITEM_FUNCTION_P(_T(MSG_SELFTEST), lcd_selftest_v);
|
||||
// MK2
|
||||
MENU_ITEM_FUNCTION_P(_i("Calibrate XYZ"), lcd_mesh_calibration);////MSG_CALIBRATE_BED c=18
|
||||
MENU_ITEM_FUNCTION_P(_T(MSG_CALIBRATE_BED), lcd_mesh_calibration);
|
||||
// "Calibrate Z" with storing the reference values to EEPROM.
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_HOMEYZ), lcd_mesh_calibration_z);
|
||||
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_MESH_BED_LEVELING), lcd_mesh_bedleveling); ////MSG_MESH_BED_LEVELING c=18
|
||||
|
||||
MENU_ITEM_SUBMENU_P(_i("Bed level correct"), lcd_adjust_bed);////MSG_BED_CORRECTION_MENU c=18
|
||||
MENU_ITEM_SUBMENU_P(_i("PID calibration"), pid_extruder);////MSG_PID_EXTRUDER c=17
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_BED_CORRECTION_MENU), lcd_adjust_bed);
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_PID_EXTRUDER), pid_extruder);
|
||||
#ifndef TMC2130
|
||||
MENU_ITEM_SUBMENU_P(_i("Show end stops"), menu_show_end_stops);////MSG_SHOW_END_STOPS c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_SHOW_END_STOPS), menu_show_end_stops);
|
||||
#endif
|
||||
MENU_ITEM_GCODE_P(_i("Reset XYZ calibr."), PSTR("M44"));////MSG_CALIBRATE_BED_RESET c=18
|
||||
MENU_ITEM_GCODE_P(_T(MSG_CALIBRATE_BED_RESET), PSTR("M44"));
|
||||
#ifdef PINDA_THERMISTOR
|
||||
if(has_temperature_compensation())
|
||||
MENU_ITEM_FUNCTION_P(_T(MSG_PINDA_CALIBRATION), lcd_calibrate_pinda);
|
||||
|
|
@ -5133,14 +5133,14 @@ static void lcd_sheet_menu()
|
|||
MENU_ITEM_BACK_P(_T(MSG_STEEL_SHEETS));
|
||||
|
||||
if(eeprom_is_sheet_initialized(selected_sheet)){
|
||||
MENU_ITEM_SUBMENU_P(_i("Select"), change_sheet); ////MSG_SELECT c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_SELECT), change_sheet);
|
||||
}
|
||||
|
||||
if (lcd_commands_type == LcdCommands::Idle)
|
||||
{
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_V2_CALIBRATION), activate_calibrate_sheet);
|
||||
}
|
||||
MENU_ITEM_SUBMENU_P(_i("Rename"), lcd_rename_sheet_menu); ////MSG_RENAME c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_RENAME), lcd_rename_sheet_menu);
|
||||
MENU_ITEM_FUNCTION_P(_T(MSG_RESET), lcd_reset_sheet);
|
||||
|
||||
MENU_END();
|
||||
|
|
@ -5257,7 +5257,7 @@ static void lcd_main_menu()
|
|||
if ( moves_planned() || printer_active()) {
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_TUNE), lcd_tune_menu);
|
||||
} else if (!Stopped) {
|
||||
MENU_ITEM_SUBMENU_P(_i("Preheat"), lcd_preheat_menu);////MSG_PREHEAT c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_PREHEAT), lcd_preheat_menu);
|
||||
if (M79_timer_get_status()) {
|
||||
if(GetPrinterState() == PrinterState::IsReady) {
|
||||
MENU_ITEM_FUNCTION_P(_T(MSG_SET_NOT_READY), lcd_printer_ready_state_toggle);
|
||||
|
|
@ -5313,14 +5313,14 @@ static void lcd_main_menu()
|
|||
MENU_ITEM_SUBMENU_P(_T(MSG_CARD_MENU), lcd_sdcard_menu);
|
||||
}
|
||||
#if SDCARDDETECT < 1
|
||||
MENU_ITEM_GCODE_P(_i("Change SD card"), PSTR("M21")); // SD-card changed by user ////MSG_CNG_SDCARD c=18
|
||||
MENU_ITEM_GCODE_P(_T(MSG_CNG_SDCARD), PSTR("M21")); // SD-card changed by user
|
||||
#endif //SDCARDDETECT
|
||||
}
|
||||
} else {
|
||||
bMain=true; // flag (i.e. 'fake parameter') for 'lcd_sdcard_menu()' function
|
||||
MENU_ITEM_BACK_P(_i("No SD card")); ////MSG_NO_CARD c=18
|
||||
MENU_ITEM_BACK_P(_T(MSG_NO_CARD));
|
||||
#if SDCARDDETECT < 1
|
||||
MENU_ITEM_GCODE_P(_i("Init. SD card"), PSTR("M21")); // Manually initialize the SD-card via user interface ////MSG_INIT_SDCARD c=18
|
||||
MENU_ITEM_GCODE_P(_T(MSG_INIT_SDCARD), PSTR("M21")); // Manually initialize the SD-card via user interface
|
||||
#endif //SDCARDDETECT
|
||||
}
|
||||
#endif //SDSUPPORT
|
||||
|
|
@ -5343,7 +5343,7 @@ static void lcd_main_menu()
|
|||
// filament sensor is reporting a detected filament
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_PRELOAD_TO_MMU), mmu_preload_filament_menu);
|
||||
}
|
||||
MENU_ITEM_SUBMENU_P(_i("Load to nozzle"), lcd_mmuLoadFilament);////MSG_LOAD_TO_NOZZLE c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_LOAD_TO_NOZZLE), lcd_mmuLoadFilament);
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_UNLOAD_FILAMENT), lcd_mmuUnloadFilament);
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_EJECT_FROM_MMU), lcd_mmuEjectFilament);
|
||||
#ifdef MMU_HAS_CUTTER
|
||||
|
|
@ -5356,7 +5356,7 @@ static void lcd_main_menu()
|
|||
if (fsensor.isEnabled()) {
|
||||
if (!fsensor.getFilamentPresent()) {
|
||||
if (fsensor.getAutoLoadEnabled()) {
|
||||
MENU_ITEM_SUBMENU_P(_i("AutoLoad filament"), lcd_menu_AutoLoadFilament);////MSG_AUTOLOAD_FILAMENT c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_AUTOLOAD_FILAMENT), lcd_menu_AutoLoadFilament);
|
||||
} else {
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_LOAD_FILAMENT), lcd_LoadFilament);
|
||||
}
|
||||
|
|
@ -5376,13 +5376,13 @@ static void lcd_main_menu()
|
|||
}
|
||||
}
|
||||
|
||||
MENU_ITEM_SUBMENU_P(_i("Statistics"), lcd_menu_statistics);////MSG_STATISTICS c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_STATISTICS), lcd_menu_statistics);
|
||||
|
||||
#if defined(TMC2130) || defined(FILAMENT_SENSOR)
|
||||
MENU_ITEM_SUBMENU_P(_i("Fail stats"), lcd_menu_fails_stats);////MSG_FAIL_STATS c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_FAIL_STATS), lcd_menu_fails_stats);
|
||||
#endif
|
||||
if (MMU2::mmu2.Enabled()) {
|
||||
MENU_ITEM_SUBMENU_P(_i("Fail stats MMU"), lcd_menu_fails_stats_mmu);////MSG_MMU_FAIL_STATS c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_MMU_FAIL_STATS), lcd_menu_fails_stats_mmu);
|
||||
}
|
||||
|
||||
#ifdef HOST_SHUTDOWN
|
||||
|
|
@ -5391,7 +5391,7 @@ static void lcd_main_menu()
|
|||
}
|
||||
#endif //HOST_SHUTOWN
|
||||
|
||||
MENU_ITEM_SUBMENU_P(_i("Support"), lcd_support_menu);////MSG_SUPPORT c=18
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_SUPPORT), lcd_support_menu);
|
||||
|
||||
MENU_END();
|
||||
}
|
||||
|
|
@ -5513,11 +5513,11 @@ static void lcd_tune_menu()
|
|||
refresh_saved_feedrate_multiplier_in_ram();
|
||||
);
|
||||
MENU_ITEM_BACK_P(_T(MSG_MAIN));
|
||||
MENU_ITEM_EDIT_int3_P(_i("Speed"), &feedmultiply, 10, 999);////MSG_SPEED c=15
|
||||
MENU_ITEM_EDIT_int3_P(_T(MSG_SPEED), &feedmultiply, 10, 999);
|
||||
|
||||
menuitems_temperature_common();
|
||||
|
||||
MENU_ITEM_EDIT_int3_P(_i("Flow"), &extrudemultiply, 10, 999);////MSG_FLOW c=15
|
||||
MENU_ITEM_EDIT_int3_P(_T(MSG_FLOW), &extrudemultiply, 10, 999);
|
||||
#ifdef LA_LIVE_K
|
||||
MENU_ITEM_EDIT_advance_K();
|
||||
#endif
|
||||
|
|
@ -5995,7 +5995,7 @@ static bool lcd_selftest_IRsensor(bool bStandalone)
|
|||
lcd_selftest_error(TestError::FsensorLevel,"HIGH","");
|
||||
return false;
|
||||
}
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Insert the filament (do not load it) into the extruder and then press the knob."));////MSG_INSERT_FIL c=20 r=6
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_INSERT_FIL));
|
||||
volt_IR_int = fsensor.getVoltRaw();
|
||||
printf_P(PSTR("Measured filament sensor low level: %4.2fV\n"), Raw2Voltage(volt_IR_int));
|
||||
if(volt_IR_int > (fsensor.IRsensor_Lmax_TRESHOLD)){
|
||||
|
|
@ -6017,17 +6017,17 @@ static void lcd_detect_IRsensor(){
|
|||
/// @todo Add autodetection with MMU2s
|
||||
loaded = fsensor.getFilamentPresent();
|
||||
if(loaded){
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Please unload the filament first, then repeat this action."));////MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_UNLOAD_FILAMENT_REPEAT));
|
||||
return;
|
||||
} else {
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Please check the IR sensor connection, unload filament if present."));////MSG_CHECK_IR_CONNECTION c=20 r=4
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_CHECK_IR_CONNECTION));
|
||||
bAction = lcd_selftest_IRsensor(true);
|
||||
}
|
||||
if(bAction){
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Sensor verified, remove the filament now."));////MSG_FS_VERIFIED c=20 r=3
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_FS_VERIFIED));
|
||||
fsensor.init();
|
||||
} else {
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Verification failed, remove the filament and try again."));////MSG_FIL_FAILED c=20 r=4
|
||||
lcd_show_fullscreen_message_and_wait_P(_T(MSG_FIL_FAILED));
|
||||
}
|
||||
}
|
||||
#endif //defined(FILAMENT_SENSOR) && (FILAMENT_SENSOR_TYPE == FSENSOR_IR_ANALOG)
|
||||
|
|
@ -6054,7 +6054,7 @@ bool lcd_selftest()
|
|||
#endif
|
||||
lcd_wait_for_cool_down();
|
||||
lcd_clear();
|
||||
lcd_puts_at_P(0, 0, _i("Selftest start"));////MSG_SELFTEST_START c=20
|
||||
lcd_puts_at_P(0, 0, _T(MSG_SELFTEST_START));
|
||||
#ifdef TMC2130
|
||||
FORCE_HIGH_POWER_START;
|
||||
#endif // TMC2130
|
||||
|
|
@ -6271,7 +6271,7 @@ bool lcd_selftest()
|
|||
if (_result)
|
||||
{
|
||||
calibration_status_set(CALIBRATION_STATUS_SELFTEST);
|
||||
lcd_setstatuspgm(_i("Selftest OK"));////MSG_SELFTEST_OK c=20
|
||||
lcd_setstatuspgm(_T(MSG_SELFTEST_OK));
|
||||
lcd_return_to_status();
|
||||
}
|
||||
else
|
||||
|
|
@ -6696,21 +6696,21 @@ static void lcd_selftest_error(TestError testError, const char *_error_1, const
|
|||
|
||||
lcd_clear();
|
||||
|
||||
lcd_puts_at_P(0, 0, _i("Selftest error!"));////MSG_SELFTEST_ERROR c=20
|
||||
lcd_puts_at_P(0, 1, _i("Please check:"));////MSG_SELFTEST_PLEASECHECK c=20
|
||||
lcd_puts_at_P(0, 0, _T(MSG_SELFTEST_ERROR));
|
||||
lcd_puts_at_P(0, 1, _T(MSG_SELFTEST_PLEASECHECK));
|
||||
|
||||
switch (testError)
|
||||
{
|
||||
case TestError::Heater:
|
||||
lcd_puts_at_P(0, 2, _i("Heater/Thermistor"));////MSG_SELFTEST_HEATERTHERMISTOR c=20
|
||||
lcd_puts_at_P(0, 3, _i("Not connected"));////MSG_SELFTEST_NOTCONNECTED c=20
|
||||
lcd_puts_at_P(0, 2, _T(MSG_SELFTEST_HEATERTHERMISTOR));
|
||||
lcd_puts_at_P(0, 3, _T(MSG_SELFTEST_NOTCONNECTED));
|
||||
break;
|
||||
case TestError::Bed:
|
||||
lcd_puts_at_P(0, 2, _i("Bed/Heater"));////MSG_SELFTEST_BEDHEATER c=20
|
||||
lcd_puts_at_P(0, 2, _T(MSG_SELFTEST_BEDHEATER));
|
||||
lcd_puts_at_P(0, 3, _T(MSG_SELFTEST_WIRINGERROR));
|
||||
break;
|
||||
case TestError::Endstops:
|
||||
lcd_puts_at_P(0, 2, _i("Endstops"));////MSG_SELFTEST_ENDSTOPS c=20
|
||||
lcd_puts_at_P(0, 2, _T(MSG_SELFTEST_ENDSTOPS));
|
||||
lcd_puts_at_P(0, 3, _T(MSG_SELFTEST_WIRINGERROR));
|
||||
lcd_set_cursor(18, 3);
|
||||
lcd_print(_error_1);
|
||||
|
|
@ -6719,12 +6719,12 @@ static void lcd_selftest_error(TestError testError, const char *_error_1, const
|
|||
lcd_puts_at_P(0, 2, _T(MSG_SELFTEST_MOTOR));
|
||||
lcd_set_cursor(18, 2);
|
||||
lcd_print(_error_1);
|
||||
lcd_puts_at_P(0, 3, _i("Endstop"));////MSG_SELFTEST_ENDSTOP c=16
|
||||
lcd_puts_at_P(0, 3, _T(MSG_SELFTEST_ENDSTOP));
|
||||
lcd_set_cursor(18, 3);
|
||||
lcd_print(_error_2);
|
||||
break;
|
||||
case TestError::Endstop:
|
||||
lcd_puts_at_P(0, 2, _i("Endstop not hit"));////MSG_SELFTEST_ENDSTOP_NOTHIT c=20
|
||||
lcd_puts_at_P(0, 2, _T(MSG_SELFTEST_ENDSTOP_NOTHIT));
|
||||
lcd_puts_at_P(0, 3, _T(MSG_SELFTEST_MOTOR));
|
||||
lcd_set_cursor(18, 3);
|
||||
lcd_print(_error_1);
|
||||
|
|
@ -6742,20 +6742,20 @@ static void lcd_selftest_error(TestError testError, const char *_error_1, const
|
|||
lcd_print(_error_1);
|
||||
break;
|
||||
case TestError::Pulley:
|
||||
lcd_puts_at_P(0, 2, _i("Loose pulley"));////MSG_LOOSE_PULLEY c=20
|
||||
lcd_puts_at_P(0, 2, _T(MSG_LOOSE_PULLEY));
|
||||
lcd_puts_at_P(0, 3, _T(MSG_SELFTEST_MOTOR));
|
||||
lcd_set_cursor(18, 3);
|
||||
lcd_print(_error_1);
|
||||
break;
|
||||
case TestError::Axis:
|
||||
lcd_puts_at_P(0, 2, _i("Axis length"));////MSG_SELFTEST_AXIS_LENGTH c=20
|
||||
lcd_puts_at_P(0, 3, _i("Axis"));////MSG_SELFTEST_AXIS c=16
|
||||
lcd_puts_at_P(0, 2, _T(MSG_SELFTEST_AXIS_LENGTH));
|
||||
lcd_puts_at_P(0, 3, _T(MSG_SELFTEST_AXIS));
|
||||
lcd_set_cursor(18, 3);
|
||||
lcd_print(_error_1);
|
||||
break;
|
||||
case TestError::SwappedFan:
|
||||
lcd_puts_at_P(0, 2, _i("Front/left fans"));////MSG_SELFTEST_FANS c=20
|
||||
lcd_puts_at_P(0, 3, _i("Swapped"));////MSG_SELFTEST_SWAPPED c=16
|
||||
lcd_puts_at_P(0, 2, _T(MSG_SELFTEST_FANS));
|
||||
lcd_puts_at_P(0, 3, _T(MSG_SELFTEST_SWAPPED));
|
||||
lcd_set_cursor(18, 3);
|
||||
lcd_print(_error_1);
|
||||
break;
|
||||
|
|
@ -6765,12 +6765,12 @@ static void lcd_selftest_error(TestError testError, const char *_error_1, const
|
|||
break;
|
||||
case TestError::TriggeringFsensor:
|
||||
lcd_puts_at_P(0, 2, _T(MSG_SELFTEST_FILAMENT_SENSOR));
|
||||
lcd_puts_at_P(0, 3, _i("False triggering"));////MSG_FALSE_TRIGGERING c=20
|
||||
lcd_puts_at_P(0, 3, _T(MSG_FALSE_TRIGGERING));
|
||||
break;
|
||||
case TestError::FsensorLevel:
|
||||
lcd_puts_at_P(0, 2, _T(MSG_SELFTEST_FILAMENT_SENSOR));
|
||||
lcd_set_cursor(0, 3);
|
||||
lcd_printf_P(_i("%s level expected"),_error_1);////MSG_SELFTEST_FS_LEVEL c=20
|
||||
lcd_printf_P(_T(MSG_SELFTEST_FS_LEVEL),_error_1);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -6971,18 +6971,18 @@ static uint8_t lcd_selftest_screen(TestScreen screen, uint8_t _progress, uint8_t
|
|||
if (screen == TestScreen::ExtruderFan) lcd_puts_P(_T(MSG_SELFTEST_FAN));
|
||||
if (screen == TestScreen::PrintFan) lcd_puts_P(_T(MSG_SELFTEST_FAN));
|
||||
if (screen == TestScreen::FansOk) lcd_puts_P(_T(MSG_SELFTEST_FAN));
|
||||
if (screen == TestScreen::EndStops) lcd_puts_P(_i("Checking endstops"));////MSG_SELFTEST_CHECK_ENDSTOPS c=20
|
||||
if (screen == TestScreen::EndStops) lcd_puts_P(_T(MSG_SELFTEST_CHECK_ENDSTOPS));
|
||||
if (screen == TestScreen::AxisX) lcd_puts_P(_T(MSG_CHECKING_X));
|
||||
if (screen == TestScreen::AxisY) lcd_puts_P(_T(MSG_CHECKING_Y));
|
||||
if (screen == TestScreen::AxisZ) lcd_puts_P(_i("Checking Z axis"));////MSG_SELFTEST_CHECK_Z c=20
|
||||
if (screen == TestScreen::AxisZ) lcd_puts_P(_T(MSG_SELFTEST_CHECK_Z));
|
||||
if (screen == TestScreen::Bed) lcd_puts_P(_T(MSG_SELFTEST_CHECK_BED));
|
||||
if (screen == TestScreen::Hotend
|
||||
|| screen == TestScreen::HotendOk) lcd_puts_P(_i("Checking hotend"));////MSG_SELFTEST_CHECK_HOTEND c=20
|
||||
|| screen == TestScreen::HotendOk) lcd_puts_P(_T(MSG_SELFTEST_CHECK_HOTEND));
|
||||
if (screen == TestScreen::Fsensor) lcd_puts_P(_T(MSG_SELFTEST_CHECK_FSENSOR));
|
||||
if (screen == TestScreen::FsensorOk) lcd_puts_P(_T(MSG_SELFTEST_CHECK_FSENSOR));
|
||||
if (screen == TestScreen::AllCorrect) lcd_puts_P(_i("All correct"));////MSG_SELFTEST_CHECK_ALLCORRECT c=20
|
||||
if (screen == TestScreen::AllCorrect) lcd_puts_P(_T(MSG_SELFTEST_CHECK_ALLCORRECT));
|
||||
if (screen == TestScreen::Failed) lcd_puts_P(_T(MSG_SELFTEST_FAILED));
|
||||
if (screen == TestScreen::Home) lcd_puts_P(_i("Calibrating home"));////MSG_CALIBRATING_HOME c=20
|
||||
if (screen == TestScreen::Home) lcd_puts_P(_T(MSG_CALIBRATING_HOME));
|
||||
|
||||
lcd_puts_at_P(0, 1, STR_SEPARATOR);
|
||||
if ((screen >= TestScreen::ExtruderFan) && (screen <= TestScreen::FansOk))
|
||||
|
|
@ -7067,7 +7067,7 @@ static bool check_file(const char* filename) {
|
|||
cmdqueue_reset();
|
||||
cmdqueue_serial_disabled = true;
|
||||
|
||||
menu_progressbar_init(bytesToCheck, _i("Checking file"));////MSG_CHECKING_FILE c=17
|
||||
menu_progressbar_init(bytesToCheck, _T(MSG_CHECKING_FILE));
|
||||
while (!card.eof() && !result) {
|
||||
menu_progressbar_update(card.get_sdpos() - startPos);
|
||||
card.sdprinting = true;
|
||||
|
|
@ -7136,7 +7136,7 @@ static void menu_action_sdfile(const char* filename)
|
|||
}
|
||||
|
||||
if (!check_file(selected_filename)) {
|
||||
result = !lcd_show_fullscreen_message_yes_no_and_wait_P(_i("File incomplete. Continue anyway?"), false);////MSG_FILE_INCOMPLETE c=20 r=3
|
||||
result = !lcd_show_fullscreen_message_yes_no_and_wait_P(_T(MSG_FILE_INCOMPLETE), false);
|
||||
lcd_update_enable(true);
|
||||
}
|
||||
if (result) {
|
||||
|
|
@ -7402,7 +7402,7 @@ void menu_lcd_lcdupdate_func(void)
|
|||
else
|
||||
{
|
||||
card.release();
|
||||
LCD_MESSAGERPGM(_i("Card removed"));////MSG_SD_REMOVED c=20
|
||||
LCD_MESSAGERPGM(_T(MSG_SD_REMOVED));
|
||||
}
|
||||
}
|
||||
#endif//CARDINSERTED
|
||||
|
|
|
|||
|
|
@ -206,11 +206,11 @@ bool show_upgrade_dialog_if_version_newer(const char *version_string)
|
|||
return false;
|
||||
|
||||
if (upgrade) {
|
||||
lcd_display_message_fullscreen_P(_i("New firmware version available:"));////MSG_NEW_FIRMWARE_AVAILABLE c=20 r=2
|
||||
lcd_display_message_fullscreen_P(_T(MSG_NEW_FIRMWARE_AVAILABLE));
|
||||
lcd_puts_at_P(0, 2, PSTR(""));
|
||||
for (const char *c = version_string; ! is_whitespace_or_nl_or_eol(*c); ++ c)
|
||||
lcd_putc(*c);
|
||||
lcd_puts_at_P(0, 3, _i("Please upgrade."));////MSG_NEW_FIRMWARE_PLEASE_UPGRADE c=20
|
||||
lcd_puts_at_P(0, 3, _T(MSG_NEW_FIRMWARE_PLEASE_UPGRADE));
|
||||
Sound_MakeCustom(50,1000,false);
|
||||
delay_keep_alive(500);
|
||||
Sound_MakeCustom(50,1000,false);
|
||||
|
|
|
|||
1193
lang/po/Firmware.pot
1193
lang/po/Firmware.pot
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue