FIX:disable some translations

Change-Id: I921b7e77626824bbb7c30a588769666d7c2faac0
This commit is contained in:
tao wang 2024-10-12 09:39:06 +08:00 committed by Lane.Wei
parent f64fdb1dd5
commit 7aa6957d71
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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";