ENH: optimize some description

JIRA: STUDIO-9527

Change-Id: I789e04a1727b16a8de8eac975ef6a3fea5c59d56
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2025-01-03 17:04:10 +08:00 committed by lane.wei
parent ec2412ddec
commit 6687bd048e
2 changed files with 3 additions and 2 deletions

View File

@ -6108,6 +6108,7 @@ void MachineObject::update_printer_preset_name()
{
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << " " << __LINE__ << "start update preset_name";
PresetBundle * preset_bundle = Slic3r::GUI::wxGetApp().preset_bundle;
if (!preset_bundle) return;
auto printer_model = MachineObject::get_preset_printer_model_name(this->printer_type);
std::set<std::string> diameter_set;
for (auto &nozzle : m_extder_data.extders) {

View File

@ -4949,7 +4949,7 @@ void GUI_App::process_network_msg(std::string dev_id, std::string msg)
else if (msg == "cert_revoked") {
BOOST_LOG_TRIVIAL(info) << "process_network_msg, cert_revoked";
if (!m_show_error_msgdlg) {
MessageDialog msg_dlg(nullptr, _L("The certificate has been revoked. Please check the time settings or update Bambu Studio and try again."), "", wxAPPLY | wxOK);
MessageDialog msg_dlg(nullptr, _L("The certificate has been revoked and the printing functions are unavailable. If you need printing. Please visit the official website at https://bambulab.com/ to download and update."), "", wxAPPLY | wxOK);
m_show_error_msgdlg = true;
auto modal_result = msg_dlg.ShowModal();
m_show_error_msgdlg = false;
@ -4958,7 +4958,7 @@ void GUI_App::process_network_msg(std::string dev_id, std::string msg)
else if (msg == "update_firmware_studio") {
BOOST_LOG_TRIVIAL(info) << "process_network_msg, firmware internal error";
if (!m_show_error_msgdlg) {
MessageDialog msg_dlg(nullptr, _L("Firmware internal error, please try to upgrade firmware version."), "", wxAPPLY | wxOK);
MessageDialog msg_dlg(nullptr, _L("Internal error. Please try upgrading the firmware and Studio version. If the issue persists, contact customer support."), "", wxAPPLY | wxOK);
m_show_error_msgdlg = true;
auto modal_result = msg_dlg.ShowModal();
m_show_error_msgdlg = false;