Skip to content

Commit 1a4be44

Browse files
committed
Add current scope to scope actions label
Signed-off-by: Christopher Ng <[email protected]>
1 parent 9d3b98b commit 1a4be44

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

apps/settings/src/components/PersonalInfo/shared/FederationControl.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,11 @@ export default {
102102
103103
computed: {
104104
ariaLabel() {
105-
return t('settings', 'Change scope level of {accountProperty}', { accountProperty: this.accountPropertyLowerCase })
105+
return t('settings', 'Change scope level, current scope of {accountProperty} is {scope}', { accountProperty: this.accountPropertyLowerCase, scope: this.scopeDisplayNameLowerCase })
106+
},
107+
108+
scopeDisplayNameLowerCase() {
109+
return SCOPE_PROPERTY_ENUM[this.scope].displayName.toLocaleLowerCase()
106110
},
107111
108112
scopeIcon() {

dist/settings-vue-settings-personal-info.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-vue-settings-personal-info.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)