mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-11 10:10:25 +01:00
Add new translation messages for view header.
This commit is contained in:
parent
180bc299f8
commit
4e8877fe71
@ -423,6 +423,9 @@
|
|||||||
"note": {
|
"note": {
|
||||||
"message": "Note"
|
"message": "Note"
|
||||||
},
|
},
|
||||||
|
"noteLowercase": {
|
||||||
|
"message": "note"
|
||||||
|
},
|
||||||
"editItem": {
|
"editItem": {
|
||||||
"message": "Edit item"
|
"message": "Edit item"
|
||||||
},
|
},
|
||||||
@ -1456,6 +1459,9 @@
|
|||||||
"typeLogin": {
|
"typeLogin": {
|
||||||
"message": "Login"
|
"message": "Login"
|
||||||
},
|
},
|
||||||
|
"typeLoginLowercase": {
|
||||||
|
"message": "login"
|
||||||
|
},
|
||||||
"typeLogins": {
|
"typeLogins": {
|
||||||
"message": "Logins"
|
"message": "Logins"
|
||||||
},
|
},
|
||||||
@ -1465,9 +1471,15 @@
|
|||||||
"typeCard": {
|
"typeCard": {
|
||||||
"message": "Card"
|
"message": "Card"
|
||||||
},
|
},
|
||||||
|
"typeCardLowercase": {
|
||||||
|
"message": "card"
|
||||||
|
},
|
||||||
"typeIdentity": {
|
"typeIdentity": {
|
||||||
"message": "Identity"
|
"message": "Identity"
|
||||||
},
|
},
|
||||||
|
"typeIdentityLowercase": {
|
||||||
|
"message": "identity"
|
||||||
|
},
|
||||||
"newItemHeader":{
|
"newItemHeader":{
|
||||||
"message": "New $TYPE$",
|
"message": "New $TYPE$",
|
||||||
"placeholders": {
|
"placeholders": {
|
||||||
|
@ -87,13 +87,13 @@ export class ViewV2Component {
|
|||||||
setHeader(type: CipherType) {
|
setHeader(type: CipherType) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case CipherType.Login:
|
case CipherType.Login:
|
||||||
return this.i18nService.t("viewItemHeader", this.i18nService.t("typeLogin"));
|
return this.i18nService.t("viewItemHeader", this.i18nService.t("typeLoginLowercase"));
|
||||||
case CipherType.Card:
|
case CipherType.Card:
|
||||||
return this.i18nService.t("viewItemHeader", this.i18nService.t("typeCard"));
|
return this.i18nService.t("viewItemHeader", this.i18nService.t("typeCardLowercase"));
|
||||||
case CipherType.Identity:
|
case CipherType.Identity:
|
||||||
return this.i18nService.t("viewItemHeader", this.i18nService.t("typeIdentity"));
|
return this.i18nService.t("viewItemHeader", this.i18nService.t("typeIdentityLowercase"));
|
||||||
case CipherType.SecureNote:
|
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