ENH:translate text

jira:none
Change-Id: I2d37d7ba4867b1507d2a8073dfdfc836b7c8e112
(cherry picked from commit 5427e9e0522b370e85ef0b2eab8394ae5f41ed40)
This commit is contained in:
zhou.xu
2025-01-19 22:18:09 +08:00
committed by Noisyfox
parent 996ca9752e
commit 8c06b19a7b
5 changed files with 5 additions and 5 deletions

View File

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

View File

@@ -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;

View File

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

View File

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