Skip to content

Commit

Permalink
Add translation for Add account option in account switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiateusz committed Jul 10, 2024
1 parent 3f0f5af commit 5b179e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions apps/browser/src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3636,5 +3636,8 @@
"example": "Visa"
}
}
},
"addAccount": {
"message": "Add account"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@
>
<i class="bwi bwi-plus tw-text-2xl" aria-hidden="true"></i>
<div>
{{ account.name }}
{{ account.name | i18n }}
</div>
</button>
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class AccountSwitcherService {

if (!hasMaxAccounts) {
options.push({
name: "Add account",
name: "addAccount",
id: this.SPECIAL_ADD_ACCOUNT_ID,
isActive: false,
});
Expand Down

0 comments on commit 5b179e7

Please sign in to comment.