fix(i18n,a11y): fix missing or incorrect translations in aria-label
strings (#2837)
This commit is contained in:
parent
77f0e2c2f8
commit
bd8cfc7b57
9 changed files with 11 additions and 10 deletions
|
@ -20,7 +20,7 @@ function clickUser(user: UserLogin) {
|
|||
<button
|
||||
flex rounded
|
||||
cursor-pointer
|
||||
aria-label="Switch user"
|
||||
:aria-label="$t('action.switch_account')"
|
||||
:class="user.account.acct === currentUser?.account.acct ? '' : 'op25 grayscale'"
|
||||
hover="filter-none op100"
|
||||
@click="clickUser(user)"
|
||||
|
|
|
@ -36,7 +36,7 @@ function processSignIn() {
|
|||
<button
|
||||
flex rounded px4 py3 text-left
|
||||
hover:bg-active cursor-pointer transition-100
|
||||
aria-label="Switch user"
|
||||
:aria-label="$t('action.switch_account')"
|
||||
@click="clickUser(user)"
|
||||
>
|
||||
<AccountInfo :account="user.account" :hover-card="false" square />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue