mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-09 00:31:19 +00:00
Update Translations + String improvements (#16142)
Co-authored-by: Alexandre Folle de Menezes <afmenez@gmail.com>
This commit is contained in:
co-authored by
Alexandre Folle de Menezes
parent
c1e6de7e4e
commit
eb5b9a77b9
@@ -46,8 +46,8 @@ static const std::unordered_map<wxString, wxString> ACCESSORY_DISPLAY_STR = {
|
||||
{"O2L_10B", L("Laser 10W")},
|
||||
{"O2L_40B", L("Laser 40W")},
|
||||
{"O2L_PCM", L("Cutting Module")},
|
||||
{"O2L_ACM", "Active Cutting Module"},
|
||||
{"O2L_UCM", "Ultrasonic Cutting Module"},
|
||||
{"O2L_ACM", L("Active Cutting Module")},
|
||||
{"O2L_UCM", L("Ultrasonic Cutting Module")},
|
||||
{"O2L-AFP", L("Auto Fire Extinguishing System")},
|
||||
{"O2L-FTS", L("Filament Track Switch")},
|
||||
};
|
||||
@@ -976,7 +976,7 @@ void MachineInfoPanel::update_ams_ext(MachineObject *obj)
|
||||
wxString result = it->second.name.substr(0, pos);
|
||||
result.MakeUpper();
|
||||
if (auto str_it = ACCESSORY_DISPLAY_STR.find(result); str_it != ACCESSORY_DISPLAY_STR.end())
|
||||
result = str_it->second;
|
||||
result = _L(str_it->second);
|
||||
ams_device_name = result + "-%s";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user