ENH:update the title text of the enter ip address

Change-Id: I308b72cfa1dfcd138c3314f60db0556adae805dc
This commit is contained in:
tao wang 2023-01-18 11:45:35 +08:00 committed by Lane.Wei
parent 9a8f832498
commit faa918d872
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -876,7 +876,7 @@ void ConfirmBeforeSendDialog::rescale()
}
InputIpAddressDialog::InputIpAddressDialog(wxWindow* parent)
:DPIDialog(static_cast<wxWindow*>(wxGetApp().mainframe), wxID_ANY, _L("Unable to connect printer"), wxDefaultPosition, wxDefaultSize, wxCAPTION | wxCLOSE_BOX)
:DPIDialog(static_cast<wxWindow*>(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);