]> source.dussan.org Git - nextcloud-server.git/commitdiff
update the wording of external storage deletion 31879/head
authorszaimen <szaimen@e.mail.de>
Thu, 7 Apr 2022 14:22:12 +0000 (16:22 +0200)
committerszaimen <szaimen@e.mail.de>
Thu, 7 Apr 2022 15:25:14 +0000 (17:25 +0200)
Signed-off-by: szaimen <szaimen@e.mail.de>
apps/files_external/js/settings.js

index 46092d57e67edef69c06aace8f0be520656e770e..9bf7339a3bbb358a1df465de712d79aa23501daf 100644 (file)
@@ -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) {