mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-06 22:47:32 -06:00
Fix the spacing on the original english strings (#9596)
* Remove extra spaces between words * Remove extra spaces after punctuation * Remove extra spaces before punctuation * Always needs a space after punctuation * Always needs a space before parens * Remove trailing spaces before newline
This commit is contained in:
parent
020d31d600
commit
57a6f61349
54 changed files with 3911 additions and 3999 deletions
|
@ -3088,7 +3088,8 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
|||
if (jj.contains("errno")) {
|
||||
if (jj["errno"].is_number()) {
|
||||
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(text);
|
||||
}
|
||||
}
|
||||
|
@ -3100,10 +3101,12 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
|||
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 above 45\u2103.");
|
||||
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 above 45\u2103.");
|
||||
}
|
||||
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. And the target chamber temperature will automatically be set to 0\u2103.");
|
||||
text = _L("When you set the chamber temperature below 40\u2103, the chamber temperature control will not be activated. "
|
||||
"And the target chamber temperature will automatically be set to 0\u2103.");
|
||||
}
|
||||
if(!text.empty()){
|
||||
#if __WXOSX__
|
||||
|
@ -6132,7 +6135,7 @@ void DeviceManager::check_filaments_in_blacklist(std::string tag_vendor, std::st
|
|||
{
|
||||
{"TPU: not supported", _L("TPU is not supported by AMS.")},
|
||||
{"Bambu PET-CF/PA6-CF: not supported", _L("Bambu PET-CF/PA6-CF is not supported by AMS.")},
|
||||
{"PVA: flexible", _L("Damp PVA will become flexible and get stuck inside AMS,please take care to dry it before use.")},
|
||||
{"PVA: flexible", _L("Damp PVA will become flexible and get stuck inside AMS, please take care to dry it before use.")},
|
||||
{"CF/GF: hard and brittle", _L("CF/GF filaments are hard and brittle, It's easy to break or get stuck in AMS, please use with caution.")}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue