1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-06 19:53:59 +00:00

updating messages

This commit is contained in:
cd-bitwarden
2025-06-24 11:28:33 -04:00
parent fb2d255105
commit 3ffb4f8759
2 changed files with 21 additions and 12 deletions

View File

@@ -467,20 +467,20 @@ export class EventService {
break;
// Secrets Manager
case EventType.Secret_Retrieved:
msg = this.i18nService.t("accessedSecret", this.formatSecretId(ev));
humanReadableMsg = this.i18nService.t("accessedSecret", this.getShortId(ev.secretId));
msg = this.i18nService.t("accessedSecretWithId", this.formatSecretId(ev));
humanReadableMsg = this.i18nService.t("accessedSecretWithId", this.getShortId(ev.secretId));
break;
case EventType.Secret_Created:
msg = this.i18nService.t("createdSecret", this.formatSecretId(ev));
humanReadableMsg = this.i18nService.t("createdSecret", this.getShortId(ev.secretId));
msg = this.i18nService.t("createdSecretWithId", this.formatSecretId(ev));
humanReadableMsg = this.i18nService.t("createdSecretWithId", this.getShortId(ev.secretId));
break;
case EventType.Secret_Deleted:
msg = this.i18nService.t("deletedSecret", this.formatSecretId(ev));
humanReadableMsg = this.i18nService.t("deletedSecret", this.getShortId(ev.secretId));
msg = this.i18nService.t("deletedSecretWithId", this.formatSecretId(ev));
humanReadableMsg = this.i18nService.t("deletedSecretWithId", this.getShortId(ev.secretId));
break;
case EventType.Secret_Edited:
msg = this.i18nService.t("editedSecret", this.formatSecretId(ev));
humanReadableMsg = this.i18nService.t("editedSecret", this.getShortId(ev.secretId));
msg = this.i18nService.t("editedSecretWithId", this.formatSecretId(ev));
humanReadableMsg = this.i18nService.t("editedSecretWithId", this.getShortId(ev.secretId));
break;
default:
break;

View File

@@ -8204,7 +8204,7 @@
"errorReadingImportFile": {
"message": "An error occurred when trying to read the import file"
},
"accessedSecret": {
"accessedSecretWithId": {
"message": "Accessed secret with identifier: $SECRET_ID$",
"placeholders": {
"secret_id": {
@@ -8213,7 +8213,16 @@
}
}
},
"editedSecret": {
"accessedSecret": {
"message": "Accessed secret $SECRET_ID$.",
"placeholders": {
"secret_id": {
"content": "$1",
"example": "4d34e8a8"
}
}
},
"editedSecretWithId": {
"message": "Edited a secret with identifier: $SECRET_ID$",
"placeholders": {
"secret_id": {
@@ -8222,7 +8231,7 @@
}
}
},
"deletedSecret": {
"deletedSecretWithId": {
"message": "Deleted a secret with identifier: $SECRET_ID$",
"placeholders": {
"secret_id": {
@@ -8231,7 +8240,7 @@
}
}
},
"createdSecret": {
"createdSecretWithId": {
"message": "Created a new secret with identifier: $SECRET_ID$",
"placeholders": {
"secret_id": {