From 4877f08ef73e18405f5c24f0262e9596573f14c1 Mon Sep 17 00:00:00 2001 From: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com> Date: Mon, 6 May 2024 00:41:15 +0100 Subject: [PATCH] Change cancel button to close and add period to end (#9047) --- apps/web/src/locales/en/messages.json | 4 ++-- .../app/admin-console/providers/settings/account.component.ts | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/web/src/locales/en/messages.json b/apps/web/src/locales/en/messages.json index f5fff9a81d..4840003abd 100644 --- a/apps/web/src/locales/en/messages.json +++ b/apps/web/src/locales/en/messages.json @@ -7961,8 +7961,8 @@ } } }, - "deleteProviderWarningDesc": { - "message": "You must unlink all clients before you can delete $ID$", + "deleteProviderWarningDescription": { + "message": "You must unlink all clients before you can delete $ID$.", "placeholders": { "id": { "content": "$1", diff --git a/bitwarden_license/bit-web/src/app/admin-console/providers/settings/account.component.ts b/bitwarden_license/bit-web/src/app/admin-console/providers/settings/account.component.ts index 0dace2945e..e2b8aeaffd 100644 --- a/bitwarden_license/bit-web/src/app/admin-console/providers/settings/account.component.ts +++ b/bitwarden_license/bit-web/src/app/admin-console/providers/settings/account.component.ts @@ -81,8 +81,9 @@ export class AccountComponent { if (providerClients.data != null && providerClients.data.length > 0) { await this.dialogService.openSimpleDialog({ title: { key: "deleteProviderName", placeholders: [this.provider.name] }, - content: { key: "deleteProviderWarningDesc", placeholders: [this.provider.name] }, + content: { key: "deleteProviderWarningDescription", placeholders: [this.provider.name] }, acceptButtonText: { key: "ok" }, + cancelButtonText: { key: "close" }, type: "danger", });