From faa918d872049233f16d382a0acef43b2b7ab60a Mon Sep 17 00:00:00 2001 From: tao wang Date: Wed, 18 Jan 2023 11:45:35 +0800 Subject: [PATCH] ENH:update the title text of the enter ip address Change-Id: I308b72cfa1dfcd138c3314f60db0556adae805dc --- src/slic3r/GUI/MediaPlayCtrl.cpp | 2 +- src/slic3r/GUI/ReleaseNote.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/MediaPlayCtrl.cpp b/src/slic3r/GUI/MediaPlayCtrl.cpp index 33c2b33a4..6a82a252a 100644 --- a/src/slic3r/GUI/MediaPlayCtrl.cpp +++ b/src/slic3r/GUI/MediaPlayCtrl.cpp @@ -233,7 +233,7 @@ void MediaPlayCtrl::Stop(wxString const &msg) ++m_failed_retry; if (m_failed_code != 0 && !m_tutk_support) { m_next_retry = wxDateTime(); // stop retry - if (wxGetApp().show_modal_ip_address_enter_dialog(_L("Failed to start liveview"))) { + if (wxGetApp().show_modal_ip_address_enter_dialog(_L("LAN Connection Failed (Failed to start liveview)"))) { m_failed_retry = 0; m_next_retry = wxDateTime::Now(); } diff --git a/src/slic3r/GUI/ReleaseNote.cpp b/src/slic3r/GUI/ReleaseNote.cpp index a6d5568f7..d93cdfb86 100644 --- a/src/slic3r/GUI/ReleaseNote.cpp +++ b/src/slic3r/GUI/ReleaseNote.cpp @@ -876,7 +876,7 @@ void ConfirmBeforeSendDialog::rescale() } InputIpAddressDialog::InputIpAddressDialog(wxWindow* parent) - :DPIDialog(static_cast(wxGetApp().mainframe), wxID_ANY, _L("Unable to connect printer"), wxDefaultPosition, wxDefaultSize, wxCAPTION | wxCLOSE_BOX) + :DPIDialog(static_cast(wxGetApp().mainframe), wxID_ANY, _L("LAN Connection Failed (Sending print file)"), wxDefaultPosition, wxDefaultSize, wxCAPTION | wxCLOSE_BOX) { std::string icon_path = (boost::format("%1%/images/BambuStudioTitle.ico") % resources_dir()).str(); SetIcon(wxIcon(encode_path(icon_path.c_str()), wxBITMAP_TYPE_ICO)); @@ -887,8 +887,8 @@ InputIpAddressDialog::InputIpAddressDialog(wxWindow* parent) m_line_top->SetBackgroundColour(wxColour(166, 169, 170)); m_sizer_main->Add(m_line_top, 0, wxEXPAND, 0); - comfirm_before_enter_text = _L("First,please confirm Bambu Studio and your printer are in same LAN."); - comfirm_after_enter_text = _L("Then,if the IP and Access Code below are different from the actual values on your printer,please correct them."); + comfirm_before_enter_text = _L("Step 1. please confirm Bambu Studio and your printer are in same LAN."); + comfirm_after_enter_text = _L("Step 2. if the IP and Access Code below are different from the actual values on your printer,please correct them."); m_tip1 = new Label(this, comfirm_before_enter_text);