feat: add confirm dialog for leaving the page if an upload is in progress

This commit is contained in:
Elias Schneider
2024-11-14 18:04:11 +01:00
parent e1a5d19544
commit d8084e401d
4 changed files with 60 additions and 3 deletions

View File

@@ -286,6 +286,8 @@ export default {
// /upload
"upload.title": "Upload",
"upload.notify.confirm-leave":
"Are you sure you want to leave this page? Your upload will be canceled.",
"upload.notify.generic-error":
"An error occurred while finishing your share.",
"upload.notify.count-failed": "{count} files failed to upload. Trying again.",