Add current scope to scope actions label

Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
Christopher Ng 2022-07-07 18:54:23 +00:00
parent 9d3b98ba21
commit ad0f2db292
3 changed files with 8 additions and 4 deletions

View file

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long