summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-07-09 19:17:48 +0200
committerGitHub <noreply@github.com>2020-07-09 19:17:48 +0200
commit85486a5cc87079c6816d9e36d32b4bda308d55f1 (patch)
treec241bf850261930b699624f6ca9c3ddbd3b214a7
parenta4cf136706de2f21573e7c19878269cea47ddd96 (diff)
parent9ce7b60c49d4b4ce825cd9c15a98acb99951d0cd (diff)
downloadnextcloud-server-85486a5cc87079c6816d9e36d32b4bda308d55f1.tar.gz
nextcloud-server-85486a5cc87079c6816d9e36d32b4bda308d55f1.zip
Merge pull request #21771 from nextcloud/techdebt/noid/clarify-scopes-for-profile-data
Clarify the scopes for profile data federation
-rw-r--r--apps/settings/js/federationscopemenu.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/settings/js/federationscopemenu.js b/apps/settings/js/federationscopemenu.js
index a2ca77bbf8c..170aec15a85 100644
--- a/apps/settings/js/federationscopemenu.js
+++ b/apps/settings/js/federationscopemenu.js
@@ -27,22 +27,22 @@
this._scopes = [
{
name: 'private',
- displayName: (this.field === 'avatar' || this.field === 'displayname' || this.field === 'email') ? t('settings', 'Local') : t('settings', 'Private'),
- tooltip: (this.field === 'avatar' || this.field === 'displayname' || this.field === 'email') ? t('settings', 'Only visible to local users') : t('settings', 'Only visible to you'),
+ displayName: t('settings', 'Private'),
+ tooltip: t('settings', "Don't synchronize to servers"),
iconClass: 'icon-password',
active: false
},
{
name: 'contacts',
- displayName: t('settings', 'Contacts'),
- tooltip: t('settings', 'Visible to local users and to trusted servers'),
+ displayName: t('settings', 'Trusted'),
+ tooltip: t('settings', 'Only synchronize to trusted servers'),
iconClass: 'icon-contacts-dark',
active: false
},
{
name: 'public',
displayName: t('settings', 'Public'),
- tooltip: t('settings', 'Will be synced to a global and public address book'),
+ tooltip: t('settings', 'Synchronize to trusted servers and the global and public address book'),
iconClass: 'icon-link',
active: false
}
@@ -106,13 +106,13 @@
}
switch (currentlyActiveValue) {
- case "private":
+ case 'private':
this._scopes[0].active = true;
break;
- case "contacts":
+ case 'contacts':
this._scopes[1].active = true;
break;
- case "public":
+ case 'public':
this._scopes[2].active = true;
break;
}