Add translation for Add account option in account switcher (#10058)

This commit is contained in:
kwiateusz 2024-07-15 12:24:53 +02:00 committed by GitHub
parent 410d1c6394
commit 739cd8d25b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View File

@ -3622,5 +3622,8 @@
"example": "Visa"
}
}
},
"addAccount": {
"message": "Add account"
}
}

View File

@ -49,6 +49,6 @@
>
<i class="bwi bwi-plus tw-text-2xl" aria-hidden="true"></i>
<div>
{{ account.name }}
{{ account.name | i18n }}
</div>
</button>

View File

@ -80,7 +80,7 @@ export class AccountSwitcherService {
if (!hasMaxAccounts) {
options.push({
name: "Add account",
name: "addAccount",
id: this.SPECIAL_ADD_ACCOUNT_ID,
isActive: false,
});