summaryrefslogtreecommitdiffstats
path: root/apps/settings/src
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-07-07 18:54:23 +0000
committerChristopher Ng <chrng8@gmail.com>2022-07-07 19:02:24 +0000
commitad0f2db2920f0fd46b8df0aec60ce2da09017a9d (patch)
tree80e764bc58fb63f6ac428eaa93d39d6cd4653b04 /apps/settings/src
parent9d3b98ba214ad98c93750e8a392912f4737185f8 (diff)
downloadnextcloud-server-ad0f2db2920f0fd46b8df0aec60ce2da09017a9d.tar.gz
nextcloud-server-ad0f2db2920f0fd46b8df0aec60ce2da09017a9d.zip
Add current scope to scope actions label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/settings/src')
-rw-r--r--apps/settings/src/components/PersonalInfo/shared/FederationControl.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue b/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue
index 5a68791f0fe..e8d3c99682b 100644
--- a/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue
+++ b/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue
@@ -102,7 +102,11 @@ export default {
computed: {
ariaLabel() {
- return t('settings', 'Change scope level of {accountProperty}', { accountProperty: this.accountPropertyLowerCase })
+ return t('settings', 'Change scope level of {accountProperty}, current scope is {scope}', { accountProperty: this.accountPropertyLowerCase, scope: this.scopeDisplayNameLowerCase })
+ },
+
+ scopeDisplayNameLowerCase() {
+ return SCOPE_PROPERTY_ENUM[this.scope].displayName.toLocaleLowerCase()
},
scopeIcon() {