From dcbcb266ccb3fa4becfbe327056cf0b581866036 Mon Sep 17 00:00:00 2001 From: szaimen Date: Thu, 7 Apr 2022 16:22:12 +0200 Subject: [PATCH] update the wording of external storage deletion Signed-off-by: szaimen --- apps/files_external/js/settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index 46092d57e67..9bf7339a3bb 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -479,7 +479,7 @@ MountOptionsDropdown.prototype = { mountOptionsFilesystemCheckOnce: t('files_external', 'Never'), mountOptionsFilesystemCheckDA: t('files_external', 'Once every direct access'), mountOptionsReadOnlyLabel: t('files_external', 'Read only'), - deleteLabel: t('files_external', 'Delete') + deleteLabel: t('files_external', 'Disconnect') })); this.$el = $el; @@ -1163,7 +1163,7 @@ MountConfigListView.prototype = _.extend({ } var storage = new this._storageConfigClass(configId); - OC.dialogs.confirm(t('files_external', 'Are you sure you want to delete this external storage?', { + OC.dialogs.confirm(t('files_external', 'Are you sure you want to disconnect this external storage? It will make the storage unavailable in Nextcloud and will lead to a deletion of these files and folders on any sync client that is currently connected but will not delete any files and folders on the external storage itself.', { storage: this.mountPoint }), t('files_external', 'Delete storage?'), function(confirm) { if (confirm) {