mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-27 09:59:48 -07:00
FIX: add translate key
jira: [STUDIO-10586] Change-Id: Ice409b9459230254bbaaa4f706761d6927d8bdf8 (cherry picked from commit 5509447a6d500142ef3d078773678e37ba2f03e0)
This commit is contained in:
parent
6c9cbfc848
commit
e924a04fb8
2 changed files with 5 additions and 5 deletions
|
|
@ -30,7 +30,7 @@ uiDeviceUpdateVersion::uiDeviceUpdateVersion(wxWindow* parent,
|
|||
|
||||
void uiDeviceUpdateVersion::UpdateInfo(const MachineObject::ModuleVersionInfo& info)
|
||||
{
|
||||
SetName(info.product_name);
|
||||
SetName(I18N::translate(info.product_name));
|
||||
SetSerial(info.sn);
|
||||
SetVersion(info.sw_ver, info.sw_new_ver);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,10 +17,10 @@ static const wxColour TEXT_FAILED_CLR = wxColour(255, 111, 0);
|
|||
static const std::unordered_map<wxString, wxString> ACCESSORY_DISPLAY_STR = {
|
||||
{"N3F", "AMS 2 PRO"},
|
||||
{"N3S", "AMS HT"},
|
||||
{"O2L_PC", "Air Pump"},
|
||||
{"O2L_10B", "Laser 10w"},
|
||||
{"O2L_40B", "Laser 40w"},
|
||||
{"O2L_PCM", "Cutting Module"},
|
||||
{"O2L_PC", L("Air Pump")},
|
||||
{"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"},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue