FIX: update some translation

jira: [none]
Change-Id: I0b6e14b78c26188b20d8303444ed294eee64dff2
(cherry picked from commit 3bef21933f60e3c813881232ef4fea44db56f395)
This commit is contained in:
xin.zhang
2025-01-20 09:26:56 +08:00
committed by Noisyfox
parent 4fb8ab03fe
commit 6cbdfe76c8
2 changed files with 10 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ void AMSSetting::create()
m_title_Insert_material_auto_read->Wrap(AMS_SETTING_BODY_WIDTH); m_title_Insert_material_auto_read->Wrap(AMS_SETTING_BODY_WIDTH);
m_sizer_Insert_material->Add(m_title_Insert_material_auto_read, 0, wxALL | wxEXPAND, 0); m_sizer_Insert_material->Add(m_title_Insert_material_auto_read, 0, wxALL | wxEXPAND, 0);
wxBoxSizer *m_sizer_Insert_material_tip = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer *m_sizer_Insert_material_tip = new wxBoxSizer(wxHORIZONTAL);
m_sizer_Insert_material_tip_inline = new wxBoxSizer(wxVERTICAL); m_sizer_Insert_material_tip_inline = new wxBoxSizer(wxVERTICAL);
@@ -105,7 +105,7 @@ void AMSSetting::create()
m_title_starting_auto_read->Wrap(AMS_SETTING_BODY_WIDTH); m_title_starting_auto_read->Wrap(AMS_SETTING_BODY_WIDTH);
m_sizer_starting->Add(m_title_starting_auto_read, 1, wxEXPAND, 0); m_sizer_starting->Add(m_title_starting_auto_read, 1, wxEXPAND, 0);
wxBoxSizer *m_sizer_starting_tip = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer *m_sizer_starting_tip = new wxBoxSizer(wxHORIZONTAL);
m_sizer_starting_tip->Add(0, 0, 0, wxLEFT, 10); m_sizer_starting_tip->Add(0, 0, 0, wxLEFT, 10);
@@ -152,9 +152,7 @@ void AMSSetting::create()
// tip line // tip line
m_sizer_remain_inline = new wxBoxSizer(wxVERTICAL); m_sizer_remain_inline = new wxBoxSizer(wxVERTICAL);
m_tip_remain_line1 = new Label(m_panel_body, m_tip_remain_line1 = new Label(m_panel_body, _L("AMS will attempt to estimate the remaining capacity of the Bambu Lab filaments."));
_L("The AMS will estimate Bambu filament's remaining capacity after the filament info is updated. During printing, remaining capacity will be updated automatically.")
);
m_tip_remain_line1->SetFont(::Label::Body_13); m_tip_remain_line1->SetFont(::Label::Body_13);
m_tip_remain_line1->SetForegroundColour(AMS_SETTING_GREY700); m_tip_remain_line1->SetForegroundColour(AMS_SETTING_GREY700);
m_tip_remain_line1->SetSize(wxSize(AMS_SETTING_BODY_WIDTH, -1)); m_tip_remain_line1->SetSize(wxSize(AMS_SETTING_BODY_WIDTH, -1));
@@ -238,7 +236,7 @@ void AMSSetting::create()
m_panel_img->Layout(); m_panel_img->Layout();
m_sizer_img->Fit(m_panel_img); m_sizer_img->Fit(m_panel_img);
m_sizer_remain_block = new wxBoxSizer(wxVERTICAL); m_sizer_remain_block = new wxBoxSizer(wxVERTICAL);
m_sizer_remain_block->Add(m_sizer_remain, 0, wxEXPAND | wxTOP, FromDIP(8)); m_sizer_remain_block->Add(m_sizer_remain, 0, wxEXPAND | wxTOP, FromDIP(8));
m_sizer_remain_block->Add(0, 0, 0, wxTOP, 8); m_sizer_remain_block->Add(0, 0, 0, wxTOP, 8);
m_sizer_remain_block->Add(m_sizer_remain_tip, 0, wxLEFT, 18); m_sizer_remain_block->Add(m_sizer_remain_tip, 0, wxLEFT, 18);
@@ -285,7 +283,7 @@ void AMSSetting::create()
else { else {
m_sizer_remain_block->Show(false); m_sizer_remain_block->Show(false);
} }
} }
}); });
} }
@@ -500,9 +498,9 @@ wxStaticText *AMSSetting::append_text(wxString text)
return widget; return widget;
} }
void AMSSetting::on_dpi_changed(const wxRect &suggested_rect) void AMSSetting::on_dpi_changed(const wxRect &suggested_rect)
{ {
//m_button_auto_demarcate->SetMinSize(AMS_SETTING_BUTTON_SIZE); //m_button_auto_demarcate->SetMinSize(AMS_SETTING_BUTTON_SIZE);
} }
}} // namespace Slic3r::GUI }} // namespace Slic3r::GUI

View File

@@ -1970,7 +1970,8 @@ void AmsReplaceMaterialDialog::update_to_nozzle(int nozzle_id)
} }
else else
{ {
label_txt->SetLabelText(_L("If there are two identical filaments in AMS, AMS filament backup will be enabled. \n(Currently supporting automatic supply of consumables with the same brand, material type, and color)")); label_txt->SetLabelText(_L("When the current filament runs out, the printer will use identical filament to continue printing.\n"
"*Identical filament: same brand, type and color."));
} }
label_txt->Wrap(FromDIP(380)); label_txt->Wrap(FromDIP(380));