Skip to content

Commit b9f95a2

Browse files
authored
Merge branch 'main' into rob/nextjs-token-acceptance-improvements
2 parents bc2074f + 656851d commit b9f95a2

File tree

13 files changed

+28
-12
lines changed

13 files changed

+28
-12
lines changed

.changeset/mean-chicken-press.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.changeset/tiny-snails-wonder.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+
Adds clickable Terms of Service and Privacy Policy links to the following localizations: `be-BY`, `bg-BG`, `cs-CZ`, `es-ES`, `it-IT`, `nl-BE`, `nl-NL`, `pt-PT`, and `tr-TR`.

.cursor/rules/nextjs.mdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Pages Router Data Fetching
7777
- Use getServerSideProps for server-side rendering on each request
7878
- Use getStaticPaths with getStaticProps for dynamic static generation
7979
- Implement ISR (Incremental Static Regeneration) with revalidate option
80-
- Use SWR or React Query for client-side data fetching
80+
- Use SWR for client-side data fetching
8181
- Cache API responses appropriately based on data volatility
8282

8383
Data Fetching Best Practices
@@ -138,7 +138,7 @@ API Route Structure
138138
- Organize API routes in app/api directory matching your URL structure
139139
- Use HTTP methods correctly (GET for reading, POST for creating, etc.)
140140
- Implement proper error handling with appropriate HTTP status codes
141-
- Validate request data using libraries like Zod or Joi
141+
- Validate request data using libraries like Zod
142142
- Use middleware for authentication and request validation
143143
- Document API endpoints with TypeScript interfaces
144144

.cursor/rules/react.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Local State
4242

4343
Global State
4444
- Use Context API for theme/authentication
45-
- Use Redux Toolkit for complex state
45+
- Consider state management solutions for complex state
4646
- Implement proper state selectors
4747
- Use proper state normalization
4848
- Implement proper state persistence

packages/localizations/src/be-BY.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,8 @@ export const beBY: LocalizationResource = {
664664
checkbox: {
665665
label__onlyPrivacyPolicy: 'Я згаджаюся з палітыкай канфідэнцыяльнасці',
666666
label__onlyTermsOfService: 'Я згаджаюся з умовамі выкарыстання',
667-
label__termsOfServiceAndPrivacyPolicy: 'Я згаджаюся з умовамі выкарыстання і палітыкай канфідэнцыяльнасці',
667+
label__termsOfServiceAndPrivacyPolicy:
668+
'Я згаджаюся з {{ termsOfServiceLink || link("умовамі выкарыстання") }} і {{ privacyPolicyLink || link("палітыкай канфідэнцыяльнасці") }}',
668669
},
669670
continue: {
670671
subtitle: 'Калі ласка, пагадзіцеся з умовамі, каб працягнуць.',

packages/localizations/src/bg-BG.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,8 @@ export const bgBG: LocalizationResource = {
660660
checkbox: {
661661
label__onlyPrivacyPolicy: 'Съгласен съм само с политиката за конфиденциалност',
662662
label__onlyTermsOfService: 'Съгласен съм само с условията за ползване',
663-
label__termsOfServiceAndPrivacyPolicy: 'Съгласен съм с условията за ползване и политиката за конфиденциалност',
663+
label__termsOfServiceAndPrivacyPolicy:
664+
'Съгласен съм с {{ termsOfServiceLink || link("условията за ползване") }} и {{ privacyPolicyLink || link("политиката за конфиденциалност") }}',
664665
},
665666
continue: {
666667
subtitle: 'Продължете, за да завършите процеса',

packages/localizations/src/cs-CZ.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,8 @@ export const csCZ: LocalizationResource = {
658658
checkbox: {
659659
label__onlyPrivacyPolicy: 'Souhlasím s politikou ochrany osobních údajů',
660660
label__onlyTermsOfService: 'Souhlasím s podmínkami služby',
661-
label__termsOfServiceAndPrivacyPolicy: 'Souhlasím s podmínkami služby a politikou ochrany osobních údajů',
661+
label__termsOfServiceAndPrivacyPolicy:
662+
'Souhlasím s {{ termsOfServiceLink || link("podmínkami služby") }} a {{ privacyPolicyLink || link("politikou ochrany osobních údajů") }}',
662663
},
663664
continue: {
664665
subtitle: 'Pokračujte pro dokončení registrace.',

packages/localizations/src/es-ES.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,8 @@ export const esES: LocalizationResource = {
661661
checkbox: {
662662
label__onlyPrivacyPolicy: 'He leído y acepto la Política de Privacidad',
663663
label__onlyTermsOfService: 'He leído y acepto los Términos de Servicio',
664-
label__termsOfServiceAndPrivacyPolicy: 'He leído y acepto los Términos de Servicio y la Política de Privacidad',
664+
label__termsOfServiceAndPrivacyPolicy:
665+
'He leído y acepto los {{ termsOfServiceLink || link("Términos de Servicio") }} y la {{ privacyPolicyLink || link("Política de Privacidad") }}',
665666
},
666667
continue: {
667668
subtitle: 'Al continuar, aceptas las condiciones mencionadas.',

packages/localizations/src/it-IT.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,8 @@ export const itIT: LocalizationResource = {
660660
checkbox: {
661661
label__onlyPrivacyPolicy: 'Accetto la Politica sulla Privacy',
662662
label__onlyTermsOfService: 'Accetto i Termini di Servizio',
663-
label__termsOfServiceAndPrivacyPolicy: 'Accetto i Termini di Servizio e la Politica sulla Privacy',
663+
label__termsOfServiceAndPrivacyPolicy:
664+
'Accetto i {{ termsOfServiceLink || link("Termini di Servizio") }} e la {{ privacyPolicyLink || link("Politica sulla Privacy") }}',
664665
},
665666
continue: {
666667
subtitle: 'Per completare la registrazione, accetta i termini e la privacy policy.',

packages/localizations/src/nl-BE.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,8 @@ export const nlBE: LocalizationResource = {
660660
checkbox: {
661661
label__onlyPrivacyPolicy: 'Ik accepteer het Privacybeleid',
662662
label__onlyTermsOfService: 'Ik accepteer de Algemene Voorwaarden',
663-
label__termsOfServiceAndPrivacyPolicy: 'Ik accepteer de Algemene Voorwaarden en het Privacybeleid',
663+
label__termsOfServiceAndPrivacyPolicy:
664+
'Ik accepteer de {{ termsOfServiceLink || link("Algemene Voorwaarden") }} en het {{ privacyPolicyLink || link("Privacybeleid") }}',
664665
},
665666
continue: {
666667
subtitle: 'Door verder te gaan, ga je akkoord met de bovenstaande voorwaarden.',

0 commit comments

Comments
 (0)