Fix spacing and punctuation issues (#11244)

This commit is contained in:
Alexandre Folle de Menezes
2025-11-17 06:35:53 -03:00
committed by GitHub
parent c11053dfe7
commit 77f7514d97
41 changed files with 1082 additions and 1848 deletions

View File

@@ -2928,7 +2928,7 @@ int MachineObject::parse_json(std::string tunnel, std::string payload, bool key_
}
} else {
if (jj["errno"].get<int>() == -2) {
wxString text = _L("The current chamber temperature or the target chamber temperature exceeds 45\u2103. In order to avoid extruder clogging,low temperature filament(PLA/PETG/TPU) is not allowed to be loaded.");
wxString text = _L("The current chamber temperature or the target chamber temperature exceeds 45\u2103. In order to avoid extruder clogging, low temperature filament(PLA/PETG/TPU) is not allowed to be loaded.");
GUI::wxGetApp().push_notification(this, text);
}
}
@@ -2941,7 +2941,7 @@ int MachineObject::parse_json(std::string tunnel, std::string payload, bool key_
if (jj["errno"].is_number()) {
wxString text;
if (jj["errno"].get<int>() == -2) {
text = _L("Low temperature filament(PLA/PETG/TPU) is loaded in the extruder.In order to avoid extruder clogging,it is not allowed to set the chamber temperature.");
text = _L("Low temperature filament(PLA/PETG/TPU) is loaded in the extruder. In order to avoid extruder clogging, it is not allowed to set the chamber temperature.");
}
else if (jj["errno"].get<int>() == -4) {
text = _L("When you set the chamber temperature below 40\u2103, the chamber temperature control will not be activated, "