FIX: add translate key
jira: [STUDIO-10586] Change-Id: Ice409b9459230254bbaaa4f706761d6927d8bdf8
This commit is contained in:
parent
8b237bf959
commit
5509447a6d
|
@ -30,7 +30,7 @@ uiDeviceUpdateVersion::uiDeviceUpdateVersion(wxWindow* parent,
|
||||||
|
|
||||||
void uiDeviceUpdateVersion::UpdateInfo(const MachineObject::ModuleVersionInfo& info)
|
void uiDeviceUpdateVersion::UpdateInfo(const MachineObject::ModuleVersionInfo& info)
|
||||||
{
|
{
|
||||||
SetName(info.product_name);
|
SetName(I18N::translate(info.product_name));
|
||||||
SetSerial(info.sn);
|
SetSerial(info.sn);
|
||||||
SetVersion(info.sw_ver, info.sw_new_ver);
|
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 = {
|
static const std::unordered_map<wxString, wxString> ACCESSORY_DISPLAY_STR = {
|
||||||
{"N3F", "AMS 2 PRO"},
|
{"N3F", "AMS 2 PRO"},
|
||||||
{"N3S", "AMS HT"},
|
{"N3S", "AMS HT"},
|
||||||
{"O2L_PC", "Air Pump"},
|
{"O2L_PC", L("Air Pump")},
|
||||||
{"O2L_10B", "Laser 10w"},
|
{"O2L_10B", L("Laser 10w")},
|
||||||
{"O2L_40B", "Laser 40w"},
|
{"O2L_40B", L("Laser 40w")},
|
||||||
{"O2L_PCM", "Cutting Module"},
|
{"O2L_PCM", L("Cutting Module")},
|
||||||
{"O2L_ACM", "Active Cutting Module"},
|
{"O2L_ACM", "Active Cutting Module"},
|
||||||
{"O2L_UCM", "Ultrasonic Cutting Module"},
|
{"O2L_UCM", "Ultrasonic Cutting Module"},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue