mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 08:21:39 -06:00
fix(client): report failed Book Dock uploads
The Book Dock discarded every upload failure, so a rejected file looked like nothing happened. List failed files with a translated reason, offer retry where it can help, and stop a failed token refresh, abort or timeout from stalling the upload queue. Dropped files of unsupported types are reported instead of ignored. Refs #1739
This commit is contained in:
@@ -7054,6 +7054,22 @@
|
||||
"nFailed": "{count} failed",
|
||||
"nTotal": "{count} total"
|
||||
},
|
||||
"uploadFailures": {
|
||||
"heading": "{count, plural, one {Could not upload # file} other {Could not upload # files}}",
|
||||
"dismissAll": "Dismiss all",
|
||||
"retry": "Retry uploading {name}",
|
||||
"dismiss": "Dismiss {name}",
|
||||
"reason": {
|
||||
"unsupported": "Unsupported file type: .{extension}",
|
||||
"noExtension": "The file has no extension, so its format is unknown",
|
||||
"tooLarge": "Larger than the {limit} upload limit",
|
||||
"tooLargeServer": "Larger than the server upload limit",
|
||||
"tooLargeProxy": "Rejected as too large before it reached BookOrbit, likely by a reverse proxy",
|
||||
"storageFull": "The server is out of storage space",
|
||||
"network": "Could not reach the server",
|
||||
"status": "Upload failed (HTTP {status})"
|
||||
}
|
||||
},
|
||||
"fileList": {
|
||||
"emptyTitle": "No files in Book Dock",
|
||||
"emptyMessageDefault": "Upload files or drop them in the Book Dock folder",
|
||||
|
||||
Reference in New Issue
Block a user