From 379e6314367a82a4e065f02355b853c4e068e75d Mon Sep 17 00:00:00 2001 From: "xin.zhang" Date: Tue, 25 Feb 2025 14:31:32 +0800 Subject: [PATCH] FIX: the translation problem jira: [STUDIO-10531] Change-Id: I59b12a4efe181a98093bbbd5d3c341613609fc8e --- src/slic3r/GUI/DeviceTab/uiDeviceUpdateVersion.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/DeviceTab/uiDeviceUpdateVersion.cpp b/src/slic3r/GUI/DeviceTab/uiDeviceUpdateVersion.cpp index bd3e63cc1..4d1390f96 100644 --- a/src/slic3r/GUI/DeviceTab/uiDeviceUpdateVersion.cpp +++ b/src/slic3r/GUI/DeviceTab/uiDeviceUpdateVersion.cpp @@ -12,8 +12,8 @@ #include -#define SERIAL_STR "Serial:" -#define VERSION_STR "Version:" +#define SERIAL_STR L("Serial:") +#define VERSION_STR L("Version:") using namespace Slic3r::GUI; @@ -68,8 +68,8 @@ void uiDeviceUpdateVersion::CreateWidgets() m_dev_snl = new wxStaticText(this, wxID_ANY, "_"); m_dev_version = new wxStaticText(this, wxID_ANY, "_"); - wxStaticText* serial_text = new wxStaticText(this, wxID_ANY, SERIAL_STR); - wxStaticText* version_text = new wxStaticText(this, wxID_ANY, VERSION_STR); + wxStaticText* serial_text = new wxStaticText(this, wxID_ANY, _L(SERIAL_STR)); + wxStaticText* version_text = new wxStaticText(this, wxID_ANY, _L(VERSION_STR)); // The main sizer wxFlexGridSizer* main_sizer = new wxFlexGridSizer(3, 3, 0, 0);