summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-11-30 11:11:40 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-11-30 13:25:28 +0100
commit4b19c7a85188fbb981be76a4031cc09bbfdca8ea (patch)
treeeda8f8763a5f10fa93eab2908c2d6d9863355cef /settings
parent8656462edb4ef21184ed4fe499246166a512e26a (diff)
downloadnextcloud-server-4b19c7a85188fbb981be76a4031cc09bbfdca8ea.tar.gz
nextcloud-server-4b19c7a85188fbb981be76a4031cc09bbfdca8ea.zip
Fix translation of federation scope menu
* l10n in Nextcloud works by extracting the values only passed on their location and not based on the first parameter * we need to change the translation pool from `core` to `settings` then * fixes #7345 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/federationscopemenu.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/settings/js/federationscopemenu.js b/settings/js/federationscopemenu.js
index a9f41831b94..ff6acb43644 100644
--- a/settings/js/federationscopemenu.js
+++ b/settings/js/federationscopemenu.js
@@ -46,22 +46,22 @@
this._scopes = [
{
name: 'private',
- displayName: (this.field === 'avatar' || this.field === 'displayname') ? t('core', 'Local') : t('core', 'Private'),
- tooltip: (this.field === 'avatar' || this.field === 'displayname') ? t('core', 'Only visible to local users') : t('core', 'Only visible to you'),
+ displayName: (this.field === 'avatar' || this.field === 'displayname') ? t('settings', 'Local') : t('settings', 'Private'),
+ tooltip: (this.field === 'avatar' || this.field === 'displayname') ? t('settings', 'Only visible to local users') : t('settings', 'Only visible to you'),
icon: OC.imagePath('core', 'actions/password'),
active: false
},
{
name: 'contacts',
- displayName: t('core', 'Contacts'),
- tooltip: t('core', 'Visible to local users and to trusted servers'),
+ displayName: t('settings', 'Contacts'),
+ tooltip: t('settings', 'Visible to local users and to trusted servers'),
icon: OC.imagePath('core', 'places/contacts-dark'),
active: false
},
{
name: 'public',
- displayName: t('core', 'Public'),
- tooltip: t('core', 'Will be synced to a global and public address book'),
+ displayName: t('settings', 'Public'),
+ tooltip: t('settings', 'Will be synced to a global and public address book'),
icon: OC.imagePath('core', 'places/link'),
active: false
}