FIX: modify some text

jira: none
Change-Id: If3f90adda34bc3088f7a43ccf294d82c14180263
This commit is contained in:
zhimin.zeng 2025-03-21 09:34:21 +08:00 committed by lane.wei
parent c43497fdca
commit 5b056ee0ae
2 changed files with 7 additions and 10 deletions

View File

@ -4251,16 +4251,16 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionFloat(0.6));
def = this->add("top_color_penetration_layers", coInt);
def->label = L("Top color layers");
def->label = L("Top paint penetration layers");
def->category = L("Strength");
def->tooltip = L("This is the number of layers affected by the top color.");
def->tooltip = L("This is the number of layers of top paint penetration.");
def->min = 1;
def->set_default_value(new ConfigOptionInt(4));
def = this->add("bottom_color_penetration_layers", coInt);
def->label = L("Bottom color layers");
def->label = L("Bottom paint penetration layers");
def->category = L("Strength");
def->tooltip = L("This is the number of layers affected by the bottom color.");
def->tooltip = L("This is the number of layers of top bottom penetration.");
def->min = 1;
def->set_default_value(new ConfigOptionInt(3));

View File

@ -608,8 +608,7 @@ void CalibrationPresetPage::create_selection_panel(wxWindow* parent)
on_device_connected(curr_obj);
});
wxString sync_text = _L("Sync printer information") + _L(" Synced");
m_sync_button_text = new Label(parent, sync_text);
m_sync_button_text = new Label(parent, _L("AMS and nozzle information are synced"));
m_sync_button_text->SetFont(Label::Head_14);
m_sync_button_text->Wrap(-1);
sync_button_sizer->Add(m_btn_sync);
@ -1732,13 +1731,11 @@ void CalibrationPresetPage::update_sync_button_status()
if (synced) {
m_btn_sync->SetBorderColor(synced_colour);
m_btn_sync->SetIcon("ams_nozzle_sync");
wxString sync_text = _L("Sync printer information") + _L(" (Synced)");
m_sync_button_text->SetLabel(sync_text);
m_sync_button_text->SetLabel(_L("AMS and nozzle information are synced"));
} else {
m_btn_sync->SetBorderColor(not_synced_colour);
m_btn_sync->SetIcon("printer_sync");
wxString sync_text = _L("Sync printer information") + _L(" (Not synced)");
m_sync_button_text->SetLabel(sync_text);
m_sync_button_text->SetLabel(_L("Sync AMS and nozzle information"));
}
};