mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-06 22:47:32 -06:00
FIX: add cali translate
Jira: XXXX Change-Id: I39bb2be58bea7c3fc631f20464ffcebc3ecde171
This commit is contained in:
parent
9639f77bab
commit
2e2fe7506c
24 changed files with 198 additions and 36 deletions
|
@ -4101,7 +4101,16 @@ int MachineObject::parse_json(std::string payload)
|
|||
GUI::wxGetApp().CallAfter([cali_mode, reason] {
|
||||
wxString info = "";
|
||||
if (reason == "invalid nozzle_diameter") {
|
||||
info = _L("Invalid nozzle diameter");
|
||||
info = _L("This calibration does not support the currently selected nozzle diameter");
|
||||
}
|
||||
else if (reason == "invalid handle_flowrate_cali param") {
|
||||
info = _L("Current flowrate cali param is invalid");
|
||||
}
|
||||
else if (reason == "nozzle_diameter is not matched") {
|
||||
info = _L("Selected diameter and machine diameter do not match");
|
||||
}
|
||||
else if (reason == "generate auto filament cali gcode failure") {
|
||||
info = _L("Failed to generate cali gcode");
|
||||
}
|
||||
else {
|
||||
info = reason;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue