FIX:fixed that the load/unload text is not translated

Change-Id: I99a4212568b056a212a0874622e5e2f4f2a581b7
This commit is contained in:
tao wang 2023-02-27 19:41:16 +08:00 committed by Lane.Wei
parent 4da6149845
commit cee236e1aa

View file

@ -2133,7 +2133,7 @@ void AMSControl::msw_rescale()
void AMSControl::UpdateStepCtrl()
{
static wxString FILAMENT_LOAD_STEP_STRING[LOAD_STEP_COUNT] = {
wxString FILAMENT_LOAD_STEP_STRING[LOAD_STEP_COUNT] = {
_L("Heat the nozzle"),
_L("Cut filament"),
_L("Pull back current filament"),
@ -2141,14 +2141,14 @@ void AMSControl::UpdateStepCtrl()
_L("Purge old filament"),
};
static wxString VT_TRAY_LOAD_STEP_STRING[VT_LOAD_STEP_COUNT] = {
wxString VT_TRAY_LOAD_STEP_STRING[VT_LOAD_STEP_COUNT] = {
_L("Heat the nozzle"),
_L("Feed new filament from external spool"),
_L("Confirm whether the filament has been extruded"),
_L("Purge old filament"),
};
static wxString FILAMENT_UNLOAD_STEP_STRING[UNLOAD_STEP_COUNT] = {
wxString FILAMENT_UNLOAD_STEP_STRING[UNLOAD_STEP_COUNT] = {
_L("Heat the nozzle"),
_L("Cut filament"),
_L("Pull back current filament")