Merge pull request #31879 from nextcloud/enh/noid/update-external-storage-wording

update the wording of external storage deletion
pull/31903/head
Simon L 2022-04-08 14:57:13 +07:00 committed by GitHub
commit d752dca6c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

@ -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) {