1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

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
3 changed files with 5 additions and 2 deletions

View File

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

View File

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

View File

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