FIX: update some translation

jira: [none]
Change-Id: I8143271471dc4a535fa210549dca5c21a6798038
(cherry picked from commit 0a5989f56cc3e435fb89d17da3951b4100e0e319)
This commit is contained in:
xin.zhang
2025-02-12 17:57:52 +08:00
committed by Noisyfox
parent 0e5066c76c
commit 5506488954

View File

@@ -1551,18 +1551,17 @@ bool SelectMachineDialog::is_nozzle_type_match(ExtderData data, wxString& error_
wxString pos;
if (target_machine_nozzle_id == DEPUTY_NOZZLE_ID)
{
pos = _L("left");
pos = _L("left nozzle");
}
else if((target_machine_nozzle_id == MAIN_NOZZLE_ID))
else if ((target_machine_nozzle_id == MAIN_NOZZLE_ID))
{
pos = _L("right");
pos = _L("right nozzle");
}
error_message = wxString::Format(_L("The nozzle flow setting of %snozzle(%s) doesn't match with the slicing file(%s). "
"Please make sure the nozzle installed matches with settings in printer, "
"then set the corresponding printer preset while slicing."),
pos, flow_type_of_machine[target_machine_nozzle_id],
used_extruders_flow[it->first]);
error_message = wxString::Format(_L("The nozzle flow setting of %s(%s) doesn't match with the slicing file(%s). "
"Please make sure the nozzle installed matches with settings in printer, "
"then set the corresponding printer preset while slicing."),
pos, flow_type_of_machine[target_machine_nozzle_id], used_extruders_flow[it->first]);
return false;
}
}