Add QIDI model and opptimize user avatars

This commit is contained in:
QIDI TECH
2024-09-20 09:38:18 +08:00
parent 71eb63a2eb
commit 73e8cede50
14 changed files with 35 additions and 46 deletions

View File

@@ -175,10 +175,9 @@ wxString OctoPrint::get_test_ok_msg () const
wxString OctoPrint::get_test_failed_msg (wxString &msg) const
{
return GUI::from_u8((boost::format("%s: %s\n\n%s")
% _utf8(L("Could not connect to OctoPrint"))
% std::string(msg.ToUTF8())
% _utf8(L("Note: OctoPrint version at least 1.1.0 is required."))).str());
return GUI::from_u8((boost::format("%s: %s\n")
% _utf8(L("Could not connect to Moonraker"))
% std::string(msg.ToUTF8())).str());
}
bool OctoPrint::upload(PrintHostUpload upload_data, ProgressFn prorgess_fn, ErrorFn error_fn) const