From 8c06b19a7b6a5cddf802b209392c11358655855d Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Sun, 19 Jan 2025 22:18:09 +0800 Subject: [PATCH] ENH:translate text jira:none Change-Id: I2d37d7ba4867b1507d2a8073dfdfc836b7c8e112 (cherry picked from commit 5427e9e0522b370e85ef0b2eab8394ae5f41ed40) --- localization/i18n/list.txt | 2 +- src/slic3r/GUI/AMSMaterialsSetting.cpp | 2 +- src/slic3r/GUI/FilamentMapDialog.cpp | 2 +- src/slic3r/GUI/FilamentMapPanel.cpp | 2 +- src/slic3r/GUI/Plater.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/localization/i18n/list.txt b/localization/i18n/list.txt index 596c886c61..ef3ce5874b 100644 --- a/localization/i18n/list.txt +++ b/localization/i18n/list.txt @@ -77,7 +77,7 @@ src/slic3r/GUI/MainFrame.cpp src/slic3r/GUI/MediaPlayCtrl.cpp src/slic3r/GUI/MediaFilePanel.cpp src/slic3r/GUI/ImageGrid.cpp -src/slic3r/GUI/ImageSwitchButton.cpp +src/slic3r/GUI/Widgets/ImageSwitchButton.cpp src/slic3r/GUI/Printer/PrinterFileSystem.cpp src/slic3r/GUI/Mouse3DController.cpp src/slic3r/GUI/SelectMachinePop.cpp diff --git a/src/slic3r/GUI/AMSMaterialsSetting.cpp b/src/slic3r/GUI/AMSMaterialsSetting.cpp index f07945aa84..fdbd98332b 100644 --- a/src/slic3r/GUI/AMSMaterialsSetting.cpp +++ b/src/slic3r/GUI/AMSMaterialsSetting.cpp @@ -260,7 +260,7 @@ void AMSMaterialsSetting::create_panel_normal(wxWindow* parent) m_panel_SN->Fit(); wxBoxSizer* m_tip_sizer = new wxBoxSizer(wxHORIZONTAL); - m_tip_readonly = new Label(parent, L""); + m_tip_readonly = new Label(parent, ""); m_tip_readonly->SetForegroundColour(*wxBLACK); m_tip_readonly->SetBackgroundColour(*wxWHITE); m_tip_readonly->SetMinSize(wxSize(FromDIP(380), -1)); diff --git a/src/slic3r/GUI/FilamentMapDialog.cpp b/src/slic3r/GUI/FilamentMapDialog.cpp index 31703642f5..fb851a9c60 100644 --- a/src/slic3r/GUI/FilamentMapDialog.cpp +++ b/src/slic3r/GUI/FilamentMapDialog.cpp @@ -138,7 +138,7 @@ FilamentMapDialog::FilamentMapDialog(wxWindow *parent, m_auto_btn = new CapsuleButton(this, PageType::ptAuto, _L("Auto"), false); m_manual_btn = new CapsuleButton(this, PageType::ptManual, _L("Custom"), false); if (show_default) - m_default_btn = new CapsuleButton(this, PageType::ptDefault, _L("Default"), true); + m_default_btn = new CapsuleButton(this, PageType::ptDefault, _L("Same as Global"), true); else m_default_btn = nullptr; diff --git a/src/slic3r/GUI/FilamentMapPanel.cpp b/src/slic3r/GUI/FilamentMapPanel.cpp index 3546403cd8..2c41c38602 100644 --- a/src/slic3r/GUI/FilamentMapPanel.cpp +++ b/src/slic3r/GUI/FilamentMapPanel.cpp @@ -343,7 +343,7 @@ FilamentMapDefaultPanel::FilamentMapDefaultPanel(wxWindow *parent) : wxPanel(par { auto sizer = new wxBoxSizer(wxHORIZONTAL); - m_label = new Label(this, _L("The filament grouping for current plate follows the global settings.")); + m_label = new Label(this, _L("The filament grouping method for current plate is determined by the dropdown option at the slicing plate button.")); m_label->SetFont(Label::Body_14); m_label->SetBackgroundColour(*wxWHITE); diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index ad66fbb847..ea2ad8ed51 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -1637,7 +1637,7 @@ Sidebar::Sidebar(Plater *parent) wxBoxSizer* bSizer39; bSizer39 = new wxBoxSizer( wxHORIZONTAL ); p->m_filament_icon = new ScalableButton(p->m_panel_filament_title, wxID_ANY, "filament"); - p->m_staticText_filament_settings = new Label(p->m_panel_filament_title, _L("Project's filaments")); + p->m_staticText_filament_settings = new Label(p->m_panel_filament_title, _L("Project Filaments")); bSizer39->Add(p->m_filament_icon, 0, wxALIGN_CENTER | wxLEFT, FromDIP(SidebarProps::TitlebarMargin())); bSizer39->AddSpacer(FromDIP(SidebarProps::ElementSpacing())); bSizer39->Add( p->m_staticText_filament_settings, 0, wxALIGN_CENTER );