FIX: media error message

Change-Id: I6fb9879b03fee6fab3b0aa2123cfe67c9b5916dc
This commit is contained in:
chunmao.guo 2023-06-14 10:00:56 +08:00 committed by Lane.Wei
parent 11fb7fb89f
commit ac4f641222
5 changed files with 14 additions and 12 deletions

View file

@ -31,7 +31,8 @@ wxDEFINE_EVENT(EVT_FILE_CALLBACK, wxCommandEvent);
static wxBitmap default_thumbnail;
static std::map<int, std::string> error_messages = {
{PrinterFileSystem::FILE_TYPE_ERR, L("Not supported on the current printer version.")}
{PrinterFileSystem::FILE_TYPE_ERR, L("Not supported on the current printer version.")},
{PrinterFileSystem::STORAGE_UNAVAILABLE, L("Storage unavailable, insert SD card.")}
};
struct StaticBambuLib : BambuLib {

View file

@ -51,6 +51,7 @@ public:
FILE_READ_ERR = 14,
FILE_CHECK_ERR = 15,
FILE_TYPE_ERR = 16,
STORAGE_UNAVAILABLE = 17,
};