FIX: update some text and images

jira: [STUDIO-9548] [STUDIO-8978]
Change-Id: I7cb42c5afd91cd4f3c1d751fbaef5f4d6251c0e6
(cherry picked from commit cdf10bc27aa7deb29bd78beda2d49df84d19e502)
This commit is contained in:
xin.zhang
2025-01-08 20:28:17 +08:00
committed by Noisyfox
parent f50534eeab
commit 4c7dca1a0b
2 changed files with 16 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ ConnectPrinterDialog::ConnectPrinterDialog(wxWindow *parent, wxWindowID id, cons
sizer_top->Add(0, FromDIP(35)); sizer_top->Add(0, FromDIP(35));
m_staticText_hints = new wxStaticText(this, wxID_ANY, _L("You can find it in \"Settings > Network > Connection code\"\non the printer, as shown in the figure:"), wxDefaultPosition, wxDefaultSize, 0); m_staticText_hints = new wxStaticText(this, wxID_ANY, _L("You can find it in \"Settings > Network > Access code\"\non the printer, as shown in the figure:"), wxDefaultPosition, wxDefaultSize, 0);
m_staticText_hints->SetFont(Label::Body_15); m_staticText_hints->SetFont(Label::Body_15);
m_staticText_hints->SetForegroundColour(wxColour(50, 58, 61)); m_staticText_hints->SetForegroundColour(wxColour(50, 58, 61));
m_staticText_hints->Wrap(-1); m_staticText_hints->Wrap(-1);
@@ -127,6 +127,19 @@ void ConnectPrinterDialog::init_bitmap()
else { else {
m_diagram_bmp = create_scaled_bitmap(img_str+"_en", nullptr, 190); m_diagram_bmp = create_scaled_bitmap(img_str+"_en", nullptr, 190);
} }
// traverse the guide text
{
// traverse the guide text
if (m_obj->printer_type == "O1D")
{
m_staticText_hints->SetLabel(_L("You can find it in \"Setting > Setting > LAN only > Access Code\"\non the printer, as shown in the figure:"));
}
else
{
m_staticText_hints->SetLabel(_L("You can find it in \"Settings > Network > Access code\"\non the printer, as shown in the figure:"));
}
}
} }
else{ else{
if (language == "zh_CN") { if (language == "zh_CN") {

View File

@@ -44,7 +44,7 @@ wxString get_stage_string(int stage)
case 2: case 2:
return _L("Heatbed preheating"); return _L("Heatbed preheating");
case 3: case 3:
return _L("Sweeping XY mech mode"); return _L("Vibration compensation");
case 4: case 4:
return _L("Changing filament"); return _L("Changing filament");
case 5: case 5:
@@ -88,7 +88,7 @@ wxString get_stage_string(int stage)
case 24: case 24:
return _L("Filament loading"); return _L("Filament loading");
case 25: case 25:
return _L("Motor noise calibration"); return _L("Motor noise cancellation");
case 26: case 26:
return _L("Paused due to AMS lost"); return _L("Paused due to AMS lost");
case 27: case 27: