From 739cd8d25b4a5218d0284e64f1844fb143114ec9 Mon Sep 17 00:00:00 2001 From: kwiateusz Date: Mon, 15 Jul 2024 12:24:53 +0200 Subject: [PATCH] Add translation for Add account option in account switcher (#10058) --- apps/browser/src/_locales/en/messages.json | 3 +++ .../src/auth/popup/account-switching/account.component.html | 2 +- .../account-switching/services/account-switcher.service.ts | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/browser/src/_locales/en/messages.json b/apps/browser/src/_locales/en/messages.json index 5152028d377..63075053e39 100644 --- a/apps/browser/src/_locales/en/messages.json +++ b/apps/browser/src/_locales/en/messages.json @@ -3622,5 +3622,8 @@ "example": "Visa" } } + }, + "addAccount": { + "message": "Add account" } } diff --git a/apps/browser/src/auth/popup/account-switching/account.component.html b/apps/browser/src/auth/popup/account-switching/account.component.html index 301a127a7d9..f1657ff3c26 100644 --- a/apps/browser/src/auth/popup/account-switching/account.component.html +++ b/apps/browser/src/auth/popup/account-switching/account.component.html @@ -49,6 +49,6 @@ >
- {{ account.name }} + {{ account.name | i18n }}
diff --git a/apps/browser/src/auth/popup/account-switching/services/account-switcher.service.ts b/apps/browser/src/auth/popup/account-switching/services/account-switcher.service.ts index d60b0dfaebc..7cc9f8a92f2 100644 --- a/apps/browser/src/auth/popup/account-switching/services/account-switcher.service.ts +++ b/apps/browser/src/auth/popup/account-switching/services/account-switcher.service.ts @@ -80,7 +80,7 @@ export class AccountSwitcherService { if (!hasMaxAccounts) { options.push({ - name: "Add account", + name: "addAccount", id: this.SPECIAL_ADD_ACCOUNT_ID, isActive: false, });