diff --git a/src/filebrowser/auto-update-mgr.cpp b/src/filebrowser/auto-update-mgr.cpp index 55b64aea1..b473094e6 100644 --- a/src/filebrowser/auto-update-mgr.cpp +++ b/src/filebrowser/auto-update-mgr.cpp @@ -241,7 +241,9 @@ void AutoUpdateManager::onUpdateTaskFinished(bool success) } else if (task->httpErrorCode() == 441) { error_msg = tr("File does not exist"); } else if (task->httpErrorCode() == 442) { - error_msg = tr("File count limit exceeded"); + error_msg = tr("File size exceeds limit"); + } else if (task->httpErrorCode() == 447) { + error_msg = tr("Number of file exceeds limit"); } else { error_msg = task->errorString(); } diff --git a/src/filebrowser/file-browser-dialog.cpp b/src/filebrowser/file-browser-dialog.cpp index d42e20f22..42b5a4085 100644 --- a/src/filebrowser/file-browser-dialog.cpp +++ b/src/filebrowser/file-browser-dialog.cpp @@ -1076,7 +1076,9 @@ void FileBrowserDialog::onUploadFinished(bool success) } else if (task->httpErrorCode() == 401) { _error = tr("Authorization expired"); } else if (task->httpErrorCode() == 442) { - _error = tr("File count limit exceeded"); + _error = tr("File size exceeds limit"); + } else if (task->httpErrorCode() == 447) { + _error = tr("Number of file exceeds limit"); } else { _error = task->errorString(); }