diff --git a/apps/browser/src/_locales/en/messages.json b/apps/browser/src/_locales/en/messages.json index 6cebe0e231..5fbaee9d81 100644 --- a/apps/browser/src/_locales/en/messages.json +++ b/apps/browser/src/_locales/en/messages.json @@ -423,6 +423,9 @@ "note": { "message": "Note" }, + "noteLowercase": { + "message": "note" + }, "editItem": { "message": "Edit item" }, @@ -1456,6 +1459,9 @@ "typeLogin": { "message": "Login" }, + "typeLoginLowercase": { + "message": "login" + }, "typeLogins": { "message": "Logins" }, @@ -1465,9 +1471,15 @@ "typeCard": { "message": "Card" }, + "typeCardLowercase": { + "message": "card" + }, "typeIdentity": { "message": "Identity" }, + "typeIdentityLowercase": { + "message": "identity" + }, "newItemHeader":{ "message": "New $TYPE$", "placeholders": { diff --git a/apps/browser/src/vault/popup/components/vault-v2/view-v2/view-v2.component.ts b/apps/browser/src/vault/popup/components/vault-v2/view-v2/view-v2.component.ts index f65a096fbd..3770485f9b 100644 --- a/apps/browser/src/vault/popup/components/vault-v2/view-v2/view-v2.component.ts +++ b/apps/browser/src/vault/popup/components/vault-v2/view-v2/view-v2.component.ts @@ -87,13 +87,13 @@ export class ViewV2Component { setHeader(type: CipherType) { switch (type) { case CipherType.Login: - return this.i18nService.t("viewItemHeader", this.i18nService.t("typeLogin")); + return this.i18nService.t("viewItemHeader", this.i18nService.t("typeLoginLowercase")); case CipherType.Card: - return this.i18nService.t("viewItemHeader", this.i18nService.t("typeCard")); + return this.i18nService.t("viewItemHeader", this.i18nService.t("typeCardLowercase")); case CipherType.Identity: - return this.i18nService.t("viewItemHeader", this.i18nService.t("typeIdentity")); + return this.i18nService.t("viewItemHeader", this.i18nService.t("typeIdentityLowercase")); case CipherType.SecureNote: - return this.i18nService.t("viewItemHeader", this.i18nService.t("note").toLowerCase()); + return this.i18nService.t("viewItemHeader", this.i18nService.t("noteLowercase")); } }