FIX: update the text

jira: [STUDIO-]
Change-Id: I91a6a1e7f788150fcbff42936b8e4db1e5e69f59
This commit is contained in:
xin.zhang 2025-03-21 15:23:23 +08:00 committed by lane.wei
parent 89ae8046c9
commit 92e038b741
1 changed files with 2 additions and 2 deletions

View File

@ -2401,7 +2401,7 @@ wxString SelectMachineDialog::format_steel_name(NozzleType type)
return _L("Stainless Steel"); return _L("Stainless Steel");
} }
return wxEmptyString; return _L("Unknown");
} }
void SelectMachineDialog::EnableEditing(bool enable) void SelectMachineDialog::EnableEditing(bool enable)
@ -3545,7 +3545,7 @@ void SelectMachineDialog::update_show_status()
if (!is_same_nozzle_type(extder, filament_type)) if (!is_same_nozzle_type(extder, filament_type))
{ {
std::vector<wxString> error_msg; std::vector<wxString> error_msg;
error_msg.emplace_back(wxString::Format(_L("Printing high temperature material(%s material) with %s may cause nozzle damage"), error_msg.emplace_back(wxString::Format(_L("Printing high temperature material(%s) with %s nozzle may cause nozzle damage, please check the type of nozzle"),
filament_type, format_steel_name(extder.current_nozzle_type))); filament_type, format_steel_name(extder.current_nozzle_type)));
return show_status(PrintDialogStatus::PrintStatusNozzleTypeMismatch, error_msg); return show_status(PrintDialogStatus::PrintStatusNozzleTypeMismatch, error_msg);
} }