mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-28 15:33:16 +08:00
FIX: translation problem
jira: [STUDIO-11370] Change-Id: I22bfc3c1805ac4ea9803cadaeec74a3787bec29f
This commit is contained in:
parent
94b6e7b78b
commit
d702c290e0
@ -1127,9 +1127,9 @@ void PrinterFileSystem::RequestUploadFile()
|
||||
if (result != SUCCESS && result != CONTINUE && result != FILE_EXIST) {
|
||||
std::string error_msg = "";
|
||||
if (result == ERROR_CANCEL) {
|
||||
error_msg = L("User cancels task.");
|
||||
error_msg = _L("User cancels task.").ToStdString();
|
||||
} else if (result == FILE_READ_WRITE_ERR || result == FILE_OPEN_ERR) {
|
||||
error_msg = L("Failed to read file, please try again.");
|
||||
error_msg = _L("Failed to read file, please try again.").ToStdString();
|
||||
}
|
||||
wxLogWarning("PrinterFileSystem::UploadFile error: %d\n", result);
|
||||
SendChangedEvent(EVT_UPLOAD_CHANGED, FF_UPLOADCANCEL, error_msg, result);
|
||||
|
Loading…
x
Reference in New Issue
Block a user