Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/pink-wolves-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@clerk/localizations': patch
'@clerk/clerk-js': patch
'@clerk/types': patch
---

Update profile components plans page heading from `Switch plans` to `Plans`
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const OrganizationPlansPageInternal = () => {
>
<Header.BackLink onClick={() => void navigate('../', { searchParams: new URLSearchParams('tab=plans') })}>
<Header.Title
localizationKey={localizationKeys('organizationProfile.billingPage.switchPlansSection.title')}
localizationKey={localizationKeys('organizationProfile.plansPage.title')}
textVariant='h2'
/>
</Header.BackLink>
Expand All @@ -36,7 +36,7 @@ const OrganizationPlansPageInternal = () => {
<Alert
variant='info'
colorScheme='info'
title={localizationKeys('organizationProfile.billingPage.alerts.noPermissionsToManageBilling')}
title={localizationKeys('organizationProfile.plansPage.alerts.noPermissionsToManageBilling')}
/>
</Protect>
<PricingTableContext.Provider value={{ componentName: 'PricingTable', mode: 'modal' }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ function Card(props: CardProps) {
</Tooltip.Trigger>
{isSignedIn && !canManageBilling && (
<Tooltip.Content
text={localizationKeys('organizationProfile.billingPage.alerts.noPermissionsToManageBilling')}
text={localizationKeys('organizationProfile.plansPage.alerts.noPermissionsToManageBilling')}
/>
)}
</Tooltip.Root>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const PlansPageInternal = () => {
>
<Header.BackLink onClick={() => void navigate('../', { searchParams: new URLSearchParams('tab=plans') })}>
<Header.Title
localizationKey={localizationKeys('userProfile.billingPage.switchPlansSection.title')}
localizationKey={localizationKeys('userProfile.plansPage.title')}
textVariant='h2'
/>
</Header.BackLink>
Expand Down
25 changes: 19 additions & 6 deletions packages/localizations/src/ar-SA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export const arSA: LocalizationResource = {
title: undefined,
},
lineItems: {
title__statementId: undefined,
title__paymentMethod: undefined,
title__statementId: undefined,
title__subscriptionBegins: undefined,
title__totalPaid: undefined,
},
Expand All @@ -67,6 +67,7 @@ export const arSA: LocalizationResource = {
subscribe: undefined,
switchPlan: undefined,
switchToAnnual: undefined,
switchToMonthly: undefined,
viewFeatures: undefined,
year: undefined,
},
Expand Down Expand Up @@ -162,9 +163,6 @@ export const arSA: LocalizationResource = {
badge__manualInvitation: 'ليس هناك تسجيل تلقائي',
badge__unverified: 'لم يتم التحقق منها',
billingPage: {
alerts: {
noPermissionsToManageBilling: undefined,
},
paymentSourcesSection: {
actionLabel__default: undefined,
actionLabel__remove: undefined,
Expand All @@ -183,8 +181,8 @@ export const arSA: LocalizationResource = {
title: undefined,
},
start: {
headerTitle__statements: undefined,
headerTitle__plans: undefined,
headerTitle__statements: undefined,
headerTitle__subscriptions: undefined,
},
subscriptionsListSection: {
Expand All @@ -194,6 +192,9 @@ export const arSA: LocalizationResource = {
subscriptionsSection: {
actionLabel__default: undefined,
},
switchPlansSection: {
title: undefined,
},
title: undefined,
},
createDomainPage: {
Expand Down Expand Up @@ -258,6 +259,12 @@ export const arSA: LocalizationResource = {
members: 'الأعضاء',
title: 'المنظمة',
},
plansPage: {
alerts: {
noPermissionsToManageBilling: undefined,
},
title: undefined,
},
profilePage: {
dangerSection: {
deleteOrganization: {
Expand Down Expand Up @@ -772,8 +779,8 @@ export const arSA: LocalizationResource = {
title: undefined,
},
start: {
headerTitle__statements: undefined,
headerTitle__plans: undefined,
headerTitle__statements: undefined,
headerTitle__subscriptions: undefined,
},
subscriptionsListSection: {
Expand All @@ -783,6 +790,9 @@ export const arSA: LocalizationResource = {
subscriptionsSection: {
actionLabel__default: undefined,
},
switchPlansSection: {
title: undefined,
},
title: undefined,
},
connectedAccountPage: {
Expand Down Expand Up @@ -924,6 +934,9 @@ export const arSA: LocalizationResource = {
verifySubtitle: 'أدخل رمز التحقق المرسل إلى {{identifier}}',
verifyTitle: 'التحقق من رقم الهاتف',
},
plansPage: {
title: undefined,
},
profilePage: {
fileDropAreaHint: 'أرفع صورة بصيغة JPG, PNG, GIF أو WEBP أقل من 10 ميغابايت',
imageFormDestructiveActionSubtitle: 'حذف صورة الملف الشخصي',
Expand Down
25 changes: 19 additions & 6 deletions packages/localizations/src/be-BY.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export const beBY: LocalizationResource = {
title: undefined,
},
lineItems: {
title__statementId: undefined,
title__paymentMethod: undefined,
title__statementId: undefined,
title__subscriptionBegins: undefined,
title__totalPaid: undefined,
},
Expand All @@ -67,6 +67,7 @@ export const beBY: LocalizationResource = {
subscribe: undefined,
switchPlan: undefined,
switchToAnnual: undefined,
switchToMonthly: undefined,
viewFeatures: undefined,
year: undefined,
},
Expand Down Expand Up @@ -163,9 +164,6 @@ export const beBY: LocalizationResource = {
badge__manualInvitation: 'No automatic enrollment',
badge__unverified: 'Unverified',
billingPage: {
alerts: {
noPermissionsToManageBilling: undefined,
},
paymentSourcesSection: {
actionLabel__default: undefined,
actionLabel__remove: undefined,
Expand All @@ -184,8 +182,8 @@ export const beBY: LocalizationResource = {
title: undefined,
},
start: {
headerTitle__statements: undefined,
headerTitle__plans: undefined,
headerTitle__statements: undefined,
headerTitle__subscriptions: undefined,
},
subscriptionsListSection: {
Expand All @@ -195,6 +193,9 @@ export const beBY: LocalizationResource = {
subscriptionsSection: {
actionLabel__default: undefined,
},
switchPlansSection: {
title: undefined,
},
title: undefined,
},
createDomainPage: {
Expand Down Expand Up @@ -259,6 +260,12 @@ export const beBY: LocalizationResource = {
members: 'Members',
title: 'Organization',
},
plansPage: {
alerts: {
noPermissionsToManageBilling: undefined,
},
title: undefined,
},
profilePage: {
dangerSection: {
deleteOrganization: {
Expand Down Expand Up @@ -780,8 +787,8 @@ export const beBY: LocalizationResource = {
title: undefined,
},
start: {
headerTitle__statements: undefined,
headerTitle__plans: undefined,
headerTitle__statements: undefined,
headerTitle__subscriptions: undefined,
},
subscriptionsListSection: {
Expand All @@ -791,6 +798,9 @@ export const beBY: LocalizationResource = {
subscriptionsSection: {
actionLabel__default: undefined,
},
switchPlansSection: {
title: undefined,
},
title: undefined,
},
connectedAccountPage: {
Expand Down Expand Up @@ -939,6 +949,9 @@ export const beBY: LocalizationResource = {
verifySubtitle: 'Увядзіце код пацверджання, адпраўлены на {{identifier}}',
verifyTitle: 'Праверыць нумар тэлефона',
},
plansPage: {
title: undefined,
},
profilePage: {
fileDropAreaHint: 'Загрузіце малюнак у фарматах JPG, PNG, GIF або WEBP памерам менш за 10 МБ',
imageFormDestructiveActionSubtitle: 'Выдаліць малюнак',
Expand Down
25 changes: 19 additions & 6 deletions packages/localizations/src/bg-BG.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export const bgBG: LocalizationResource = {
title: undefined,
},
lineItems: {
title__statementId: undefined,
title__paymentMethod: undefined,
title__statementId: undefined,
title__subscriptionBegins: undefined,
title__totalPaid: undefined,
},
Expand All @@ -67,6 +67,7 @@ export const bgBG: LocalizationResource = {
subscribe: undefined,
switchPlan: undefined,
switchToAnnual: undefined,
switchToMonthly: undefined,
viewFeatures: undefined,
year: undefined,
},
Expand Down Expand Up @@ -161,9 +162,6 @@ export const bgBG: LocalizationResource = {
badge__manualInvitation: 'Няма автоматично включване',
badge__unverified: 'Неверифициран',
billingPage: {
alerts: {
noPermissionsToManageBilling: undefined,
},
paymentSourcesSection: {
actionLabel__default: undefined,
actionLabel__remove: undefined,
Expand All @@ -182,8 +180,8 @@ export const bgBG: LocalizationResource = {
title: undefined,
},
start: {
headerTitle__statements: undefined,
headerTitle__plans: undefined,
headerTitle__statements: undefined,
headerTitle__subscriptions: undefined,
},
subscriptionsListSection: {
Expand All @@ -193,6 +191,9 @@ export const bgBG: LocalizationResource = {
subscriptionsSection: {
actionLabel__default: undefined,
},
switchPlansSection: {
title: undefined,
},
title: undefined,
},
createDomainPage: {
Expand Down Expand Up @@ -258,6 +259,12 @@ export const bgBG: LocalizationResource = {
members: 'Членове',
title: 'Организация',
},
plansPage: {
alerts: {
noPermissionsToManageBilling: undefined,
},
title: undefined,
},
profilePage: {
dangerSection: {
deleteOrganization: {
Expand Down Expand Up @@ -771,8 +778,8 @@ export const bgBG: LocalizationResource = {
title: undefined,
},
start: {
headerTitle__statements: undefined,
headerTitle__plans: undefined,
headerTitle__statements: undefined,
headerTitle__subscriptions: undefined,
},
subscriptionsListSection: {
Expand All @@ -782,6 +789,9 @@ export const bgBG: LocalizationResource = {
subscriptionsSection: {
actionLabel__default: undefined,
},
switchPlansSection: {
title: undefined,
},
title: undefined,
},
connectedAccountPage: {
Expand Down Expand Up @@ -929,6 +939,9 @@ export const bgBG: LocalizationResource = {
verifySubtitle: 'Enter the verification code sent to {{identifier}}',
verifyTitle: 'Verify phone number',
},
plansPage: {
title: undefined,
},
profilePage: {
fileDropAreaHint: 'Препоръчителен размер 1:1, до 10MB.',
imageFormDestructiveActionSubtitle: 'Премахни',
Expand Down
Loading