feat: Add i18n support for abort confirmation message
This commit is contained in:
parent
3288576957
commit
8d146e11af
@ -69,7 +69,7 @@ export default {
|
||||
this.open = !this.open;
|
||||
},
|
||||
abortAll() {
|
||||
if (confirm('Are you sure you want to abort?')) {
|
||||
if (confirm(this.$t('upload.abortUpload'))) {
|
||||
abortAllUploads();
|
||||
buttons.done('upload');
|
||||
this.open = false;
|
||||
|
||||
@ -45,6 +45,9 @@
|
||||
"downloadFolder": "Download Folder",
|
||||
"downloadSelected": "Download Selected"
|
||||
},
|
||||
"upload": {
|
||||
"abortUpload": "Are you sure you want to abort?"
|
||||
},
|
||||
"errors": {
|
||||
"forbidden": "You don't have permissions to access this.",
|
||||
"internal": "Something really went wrong.",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user