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;
|
this.open = !this.open;
|
||||||
},
|
},
|
||||||
abortAll() {
|
abortAll() {
|
||||||
if (confirm('Are you sure you want to abort?')) {
|
if (confirm(this.$t('upload.abortUpload'))) {
|
||||||
abortAllUploads();
|
abortAllUploads();
|
||||||
buttons.done('upload');
|
buttons.done('upload');
|
||||||
this.open = false;
|
this.open = false;
|
||||||
|
|||||||
@ -45,6 +45,9 @@
|
|||||||
"downloadFolder": "Download Folder",
|
"downloadFolder": "Download Folder",
|
||||||
"downloadSelected": "Download Selected"
|
"downloadSelected": "Download Selected"
|
||||||
},
|
},
|
||||||
|
"upload": {
|
||||||
|
"abortUpload": "Are you sure you want to abort?"
|
||||||
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
"forbidden": "You don't have permissions to access this.",
|
"forbidden": "You don't have permissions to access this.",
|
||||||
"internal": "Something really went wrong.",
|
"internal": "Something really went wrong.",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user