FIX: translation problem

jira: [STUDIO-11370]
Change-Id: I22bfc3c1805ac4ea9803cadaeec74a3787bec29f
(cherry picked from commit d702c290e015d05733ed67cbedb5e8bcc01aa7b9)
This commit is contained in:
xin.zhang 2025-04-29 15:59:08 +08:00 committed by Noisyfox
parent 9744d93406
commit 9a61fa7397

View file

@ -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);