From 7518f3a52bd8ac6d2b6e57ea828c097309fda3cc Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Fri, 2 May 2025 15:17:32 +0200 Subject: [PATCH] chore(clerk-js,localizations): align en-US strings for danger zone with other translations The action description for `organizationProfile.profilePage.dangerSection.deleteOrganization`, `organizationProfile.profilePage.dangerSection.leaveOrganization`, and `userProfile.deletePage` wasn't aligned with any other translation which put the organization name or the phrase to type into the confirmation field in double quotes. https://github.com/clerk/javascript/blob/62692cb5af643ab1369421a2b961f32c701a70e3/packages/localizations/src/en-GB.ts#L215-L229 https://github.com/clerk/javascript/blob/62692cb5af643ab1369421a2b961f32c701a70e3/packages/localizations/src/en-GB.ts#L757-L763 https://github.com/clerk/javascript/blob/62692cb5af643ab1369421a2b961f32c701a70e3/packages/localizations/src/en-US.ts#L209-L223 https://github.com/clerk/javascript/blob/62692cb5af643ab1369421a2b961f32c701a70e3/packages/localizations/src/en-US.ts#L753-L759 --- packages/localizations/src/utils/enUS_v4.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/localizations/src/utils/enUS_v4.ts b/packages/localizations/src/utils/enUS_v4.ts index eb2499c7cf9..fcc20b6fa82 100644 --- a/packages/localizations/src/utils/enUS_v4.ts +++ b/packages/localizations/src/utils/enUS_v4.ts @@ -518,7 +518,7 @@ export const enUS_v4: any = { title: 'Delete account', messageLine1: 'Are you sure you want to delete your account?', messageLine2: 'This action is permanent and irreversible.', - actionDescription: 'Type Delete account below to continue.', + actionDescription: 'Type "Delete account" below to continue.', confirm: 'Delete account', }, }, @@ -564,13 +564,13 @@ export const enUS_v4: any = { 'Are you sure you want to leave this organization? You will lose access to this organization and its applications.', messageLine2: 'This action is permanent and irreversible.', successMessage: 'You have left the organization.', - actionDescription: 'Type {{organizationName}} below to continue.', + actionDescription: 'Type "{{organizationName}}" below to continue.', }, deleteOrganization: { title: 'Delete organization', messageLine1: 'Are you sure you want to delete this organization?', messageLine2: 'This action is permanent and irreversible.', - actionDescription: 'Type {{organizationName}} below to continue.', + actionDescription: 'Type "{{organizationName}}" below to continue.', successMessage: 'You have deleted the organization.', }, },