ENH:Edit the link copy and add a translation

jira:[none]

Change-Id: I33276e517b118d69762124ed50ee90e0a70f1c7b
This commit is contained in:
milk 2025-05-19 11:16:56 +08:00 committed by lane.wei
parent fe5814e81f
commit 7e8db714d4

View File

@ -291,7 +291,7 @@ SendToPrinterDialog::SendToPrinterDialog(Plater *plater)
m_connecting_printer_msg = new wxStaticText(m_connecting_panel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER_HORIZONTAL); m_connecting_printer_msg = new wxStaticText(m_connecting_panel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER_HORIZONTAL);
m_connecting_printer_msg->SetFont(::Label::Body_13); m_connecting_printer_msg->SetFont(::Label::Body_13);
m_connecting_printer_msg->SetForegroundColour(*wxBLACK); m_connecting_printer_msg->SetForegroundColour(*wxBLACK);
m_connecting_printer_msg->SetLabel("Try to connect"); m_connecting_printer_msg->SetLabel(_L("Try to connect"));
/*m_connecting_printer_msg->Hide();*/ /*m_connecting_printer_msg->Hide();*/
m_connecting_printer_msg->Show(); m_connecting_printer_msg->Show();
@ -1542,7 +1542,7 @@ void SendToPrinterDialog::show_status(PrintDialogStatus status, std::vector<wxSt
//connecting //connecting
if(status == PrintDialogStatus::PrintStatusConnecting) if(status == PrintDialogStatus::PrintStatusConnecting)
{ {
m_connecting_printer_msg->SetLabel("Try to connect."); m_connecting_printer_msg->SetLabel(_L("Try to connect"));
update_print_status_msg(wxEmptyString, true, true); update_print_status_msg(wxEmptyString, true, true);
m_connecting_panel->Show(); m_connecting_panel->Show();
m_animaicon->Play(); m_animaicon->Play();
@ -1553,7 +1553,7 @@ void SendToPrinterDialog::show_status(PrintDialogStatus status, std::vector<wxSt
return; return;
} else if (status == PrintDialogStatus::PrintStatusReconnecting) { } else if (status == PrintDialogStatus::PrintStatusReconnecting) {
m_connecting_printer_msg->SetLabel("Click the spinning icon to retry."); m_connecting_printer_msg->SetLabel(_L("Connection failed. Click the icon to retry"));
update_print_status_msg(wxEmptyString, true, true); update_print_status_msg(wxEmptyString, true, true);
m_connecting_panel->Show(); m_connecting_panel->Show();
m_animaicon->Stop(); m_animaicon->Stop();