From 7aa6957d71524607f667828c5ea5363ad8a0ce29 Mon Sep 17 00:00:00 2001 From: tao wang Date: Sat, 12 Oct 2024 09:39:06 +0800 Subject: [PATCH] FIX:disable some translations Change-Id: I921b7e77626824bbb7c30a588769666d7c2faac0 --- src/slic3r/GUI/MsgDialog.cpp | 2 +- src/slic3r/GUI/StatusPanel.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/MsgDialog.cpp b/src/slic3r/GUI/MsgDialog.cpp index 6f639757f..0e093e412 100644 --- a/src/slic3r/GUI/MsgDialog.cpp +++ b/src/slic3r/GUI/MsgDialog.cpp @@ -661,7 +661,7 @@ NetworkErrorDialog::NetworkErrorDialog(wxWindow* parent) checkbox->SetValue(false); - auto checkbox_title = new Label(this, _L("Dont't show this dialog again")); + auto checkbox_title = new Label(this, _L("Don't show this dialog again")); checkbox_title->SetForegroundColour(0x323A3C); checkbox_title->SetFont(::Label::Body_14); checkbox_title->Wrap(-1); diff --git a/src/slic3r/GUI/StatusPanel.cpp b/src/slic3r/GUI/StatusPanel.cpp index 6fff429eb..b7de72f9d 100644 --- a/src/slic3r/GUI/StatusPanel.cpp +++ b/src/slic3r/GUI/StatusPanel.cpp @@ -3261,9 +3261,9 @@ void StatusPanel::on_axis_ctrl_xy(wxCommandEvent &event) if (event.GetInt() == 7) { obj->command_axis_control("X", 1.0, 1.0f, 3000); } if (event.GetInt() == 8) { if (axis_go_home_dlg == nullptr) { - axis_go_home_dlg = new SecondaryCheckDialog(this->GetParent(), wxID_ANY, _L("Axis go home")); - axis_go_home_dlg->update_text(_L("Are you sure you want to home now?")); - axis_go_home_dlg->m_button_ok->SetLabel(_L("Home")); + axis_go_home_dlg = new SecondaryCheckDialog(this->GetParent(), wxID_ANY, _L("Auto homing")); + axis_go_home_dlg->update_text(_L("Are you sure you want to trigger auto homing?")); + axis_go_home_dlg->m_button_ok->SetLabel("Homing"); axis_go_home_dlg->Bind(EVT_SECONDARY_CHECK_CONFIRM, [this](wxCommandEvent& e) { if (obj) { BOOST_LOG_TRIVIAL(info) << "Axis have go home";