Skip to content

Commit 7c3c1f7

Browse files
fix(localizations): Typo in subscription details (#6672)
Co-authored-by: Robert Soriano <[email protected]>
1 parent 53dadcf commit 7c3c1f7

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changeset/smooth-clouds-fetch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@clerk/localizations": patch
3+
---
4+
5+
Fixed a typo when canceling a free trial.

packages/clerk-js/src/ui/components/SubscriptionDetails/__tests__/SubscriptionDetails.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ describe('SubscriptionDetails', () => {
12141214
expect(getByText('Cancel free trial for Pro Plan plan?')).toBeVisible();
12151215
expect(
12161216
getByText(
1217-
"Your trial will stay active until February 1, 2021. After that, you'll lose access to trial features. You won't be changed.",
1217+
"Your trial will stay active until February 1, 2021. After that, you'll lose access to trial features. You won't be charged.",
12181218
),
12191219
).toBeVisible();
12201220
expect(getByText('Keep free trial')).toBeVisible();

packages/localizations/src/en-US.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const enUS: LocalizationResource = {
6666
billedMonthlyOnly: 'Only billed monthly',
6767
cancelFreeTrial: 'Cancel free trial',
6868
cancelFreeTrialAccessUntil:
69-
"Your trial will stay active until {{ date | longDate('en-US') }}. After that, you'll lose access to trial features. You won't be changed.",
69+
"Your trial will stay active until {{ date | longDate('en-US') }}. After that, you'll lose access to trial features. You won't be charged.",
7070
cancelFreeTrialTitle: 'Cancel free trial for {{plan}} plan?',
7171
cancelSubscription: 'Cancel subscription',
7272
cancelSubscriptionAccessUntil:

0 commit comments

Comments
 (0)