diff --git a/apps/web/src/app/core/event.service.ts b/apps/web/src/app/core/event.service.ts index 809a66bb6da..14c87181f62 100644 --- a/apps/web/src/app/core/event.service.ts +++ b/apps/web/src/app/core/event.service.ts @@ -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; diff --git a/apps/web/src/locales/en/messages.json b/apps/web/src/locales/en/messages.json index 37ac0ceeb73..05f00fc9536 100644 --- a/apps/web/src/locales/en/messages.json +++ b/apps/web/src/locales/en/messages.json @@ -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": {