mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-25 12:15:18 +01:00
Add new translation messages for view header.
This commit is contained in:
parent
180bc299f8
commit
4e8877fe71
@ -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": {
|
||||
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user