From 7e8db714d42db28a1e69af04c0ab57f34da80e7c Mon Sep 17 00:00:00 2001 From: milk Date: Mon, 19 May 2025 11:16:56 +0800 Subject: [PATCH] ENH:Edit the link copy and add a translation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit jira:[none] Change-Id: I33276e517b118d69762124ed50ee90e0a70f1c7b --- src/slic3r/GUI/SendToPrinter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slic3r/GUI/SendToPrinter.cpp b/src/slic3r/GUI/SendToPrinter.cpp index 85904abfb..b2d82d5a8 100644 --- a/src/slic3r/GUI/SendToPrinter.cpp +++ b/src/slic3r/GUI/SendToPrinter.cpp @@ -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->SetFont(::Label::Body_13); 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->Show(); @@ -1542,7 +1542,7 @@ void SendToPrinterDialog::show_status(PrintDialogStatus status, std::vectorSetLabel("Try to connect."); + m_connecting_printer_msg->SetLabel(_L("Try to connect")); update_print_status_msg(wxEmptyString, true, true); m_connecting_panel->Show(); m_animaicon->Play(); @@ -1553,7 +1553,7 @@ void SendToPrinterDialog::show_status(PrintDialogStatus status, std::vectorSetLabel("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); m_connecting_panel->Show(); m_animaicon->Stop();