Skip to content

Commit 7518f3a

Browse files
committed
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
1 parent 0f5145e commit 7518f3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/localizations/src/utils/enUS_v4.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ export const enUS_v4: any = {
518518
title: 'Delete account',
519519
messageLine1: 'Are you sure you want to delete your account?',
520520
messageLine2: 'This action is permanent and irreversible.',
521-
actionDescription: 'Type Delete account below to continue.',
521+
actionDescription: 'Type "Delete account" below to continue.',
522522
confirm: 'Delete account',
523523
},
524524
},
@@ -564,13 +564,13 @@ export const enUS_v4: any = {
564564
'Are you sure you want to leave this organization? You will lose access to this organization and its applications.',
565565
messageLine2: 'This action is permanent and irreversible.',
566566
successMessage: 'You have left the organization.',
567-
actionDescription: 'Type {{organizationName}} below to continue.',
567+
actionDescription: 'Type "{{organizationName}}" below to continue.',
568568
},
569569
deleteOrganization: {
570570
title: 'Delete organization',
571571
messageLine1: 'Are you sure you want to delete this organization?',
572572
messageLine2: 'This action is permanent and irreversible.',
573-
actionDescription: 'Type {{organizationName}} below to continue.',
573+
actionDescription: 'Type "{{organizationName}}" below to continue.',
574574
successMessage: 'You have deleted the organization.',
575575
},
576576
},

0 commit comments

Comments
 (0)