mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-30 19:30:40 -07:00
FIX: translation problem
jira: [STUDIO-11370] Change-Id: I22bfc3c1805ac4ea9803cadaeec74a3787bec29f (cherry picked from commit d702c290e015d05733ed67cbedb5e8bcc01aa7b9)
This commit is contained in:
parent
9744d93406
commit
9a61fa7397
1 changed files with 2 additions and 2 deletions
|
|
@ -1123,9 +1123,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…
Add table
Add a link
Reference in a new issue