Skip to content

Commit

Permalink
feat(clerk-js,localizations,types): Add optional combined flow signup…
Browse files Browse the repository at this point in the history
… start title (#4983)
  • Loading branch information
alexcarpenter authored Jan 23, 2025
1 parent 9867924 commit bdb537a
Show file tree
Hide file tree
Showing 42 changed files with 52 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/wicked-squids-judge.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
---

Add sign up title localization for use in sign-in-or-up flow.
6 changes: 5 additions & 1 deletion packages/clerk-js/src/ui/components/SignUp/SignUpStart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,11 @@ function _SignUpStart(): JSX.Element {
<Card.Root>
<Card.Content>
<Header.Root showLogo>
<Header.Title localizationKey={localizationKeys('signUp.start.title')} />
<Header.Title
localizationKey={
isCombinedFlow ? localizationKeys('signUp.start.titleCombined') : localizationKeys('signUp.start.title')
}
/>
<Header.Subtitle localizationKey={localizationKeys('signUp.start.subtitle')} />
</Header.Root>
<Card.Alert>{card.error}</Card.Alert>
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/ar-SA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ export const arSA: LocalizationResource = {
actionText: 'لديك حساب بالفعل؟',
subtitle: 'للمتابعة إلى {{applicationName}}',
title: 'أنشاء حساب جديد',
titleCombined: 'أنشاء حساب جديد',
},
},
socialButtonsBlockButton: 'للمتابعة مع {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/be-BY.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ export const beBY: LocalizationResource = {
actionText: 'Ужо ёсць акаўнт?',
subtitle: 'каб працягнуць працу ў "{{applicationName}}"',
title: 'Стварыце Ваш акаўнт',
titleCombined: 'Стварыце Ваш акаўнт',
},
},
socialButtonsBlockButton: 'Працягнуць з дапамогай {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/bg-BG.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,7 @@ export const bgBG: LocalizationResource = {
actionText: 'Вече имате акаунт?',
subtitle: 'Добре дошли! Моля, попълнете данните, за да започнете.',
title: 'Създайте своя акаунт',
titleCombined: 'Създайте своя акаунт',
},
},
socialButtonsBlockButton: 'Продължи с {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/ca-ES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ export const caES: LocalizationResource = {
actionText: 'Ja tens un compte?',
subtitle: 'Benvingut! Si us plau, completa els detalls per començar.',
title: 'Crea el teu compte',
titleCombined: 'Crea el teu compte',
},
},
socialButtonsBlockButton: 'Continua amb {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/cs-CZ.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ export const csCZ: LocalizationResource = {
actionText: 'Máte účet?',
subtitle: 'pro pokračování do {{applicationName}}',
title: 'Vytvořte si účet',
titleCombined: 'Vytvořte si účet',
},
},
socialButtonsBlockButton: 'Pokračovat s {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/da-DK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ export const daDK: LocalizationResource = {
actionText: 'Har du en konto?',
subtitle: 'Forsæt til {{applicationName}}',
title: 'Opret din konto',
titleCombined: 'Opret din konto',
},
},
socialButtonsBlockButton: 'Forsæt med {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/de-DE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ export const deDE: LocalizationResource = {
actionText: 'Haben Sie ein Konto?',
subtitle: 'weiter zu {{applicationName}}',
title: 'Erstelle deinen Account',
titleCombined: 'Erstelle deinen Account',
},
},
socialButtonsBlockButton: 'Weiter mit {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/el-GR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ export const elGR: LocalizationResource = {
actionText: 'Έχετε ήδη λογαριασμό;',
subtitle: 'για να συνεχίσετε στο {{applicationName}}',
title: 'Δημιουργήστε τον λογαριασμό σας',
titleCombined: 'Δημιουργήστε τον λογαριασμό σας',
},
},
socialButtonsBlockButton: 'Συνέχεια με {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/en-GB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ export const enGB: LocalizationResource = {
actionText: 'Already have an account?',
subtitle: 'Welcome! Please fill in the details to get started.',
title: 'Create your account',
titleCombined: 'Create your account',
},
},
socialButtonsBlockButton: 'Continue with {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ export const enUS: LocalizationResource = {
actionText: 'Already have an account?',
subtitle: 'Welcome! Please fill in the details to get started.',
title: 'Create your account',
titleCombined: 'Create your account',
},
},
socialButtonsBlockButton: 'Continue with {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/es-ES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ export const esES: LocalizationResource = {
actionText: '¿Ya tienes una cuenta?',
subtitle: 'para continuar en {{applicationName}}',
title: 'Crea tu cuenta',
titleCombined: 'Crea tu cuenta',
},
},
socialButtonsBlockButton: 'Continuar con {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/es-MX.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ export const esMX: LocalizationResource = {
actionText: '¿Tienes una cuenta?',
subtitle: 'para continuar con {{applicationName}}',
title: 'Crea tu cuenta',
titleCombined: 'Crea tu cuenta',
},
},
socialButtonsBlockButton: 'Continuar con {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/fi-FI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ export const fiFI: LocalizationResource = {
actionText: 'Onko sinulla jo tili?',
subtitle: 'Tervetuloa! Luo tili jatkaaksesi.',
title: 'Luo tili',
titleCombined: 'Luo tili',
},
},
socialButtonsBlockButton: 'Jatka palvelun {{provider|titleize}} avulla',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/fr-FR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ export const frFR: LocalizationResource = {
actionText: 'Vous avez déjà un compte ?',
subtitle: 'pour continuer vers {{applicationName}}',
title: 'Créez votre compte',
titleCombined: 'Créez votre compte',
},
},
socialButtonsBlockButton: 'Continuer avec {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/he-IL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ export const heIL: LocalizationResource = {
actionText: 'יש לך חשבון?',
subtitle: 'להמשיך אל {{applicationName}}',
title: 'צור את החשבון שלך',
titleCombined: 'צור את החשבון שלך',
},
},
socialButtonsBlockButton: 'המשך עם {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/hr-HR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ export const hrHR: LocalizationResource = {
actionText: 'Već imate račun?',
subtitle: 'Dobrodošli! Molimo ispunite detalje za početak.',
title: 'Kreirajte svoj račun',
titleCombined: 'Kreirajte svoj račun',
},
},
socialButtonsBlockButton: 'Nastavite s {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/hu-HU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,7 @@ export const huHU: LocalizationResource = {
actionText: 'Van már fiókod?',
subtitle: 'Üdv! Kérlek add meg az adatokat, hogy elkezdhesd.',
title: 'Fiók létrehozása',
titleCombined: 'Fiók létrehozása',
},
},
socialButtonsBlockButton: 'Folytatás {{provider|titleize}} segítségével',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/id-ID.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ export const idID: LocalizationResource = {
actionText: 'Sudah punya akun?',
subtitle: 'Selamat datang! Silakan isi detail untuk memulai.',
title: 'Buat akun Anda',
titleCombined: 'Buat akun Anda',
},
},
socialButtonsBlockButton: 'Lanjutkan dengan {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/is-IS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ export const isIS: LocalizationResource = {
actionText: 'Ertu með reikning?',
subtitle: 'Velkomin! Vinsamlegast fylltu út upplýsingar til að byrja.',
title: 'Stofna reikning',
titleCombined: 'Stofna reikning',
},
},
socialButtonsBlockButton: 'Halda áfram með {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/it-IT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ export const itIT: LocalizationResource = {
actionText: 'Hai già un account?',
subtitle: 'per continuare su {{applicationName}}',
title: 'Crea il tuo account',
titleCombined: 'Crea il tuo account',
},
},
socialButtonsBlockButton: 'Continua con {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/ja-JP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,7 @@ export const jaJP: LocalizationResource = {
actionText: 'アカウントをお持ちですか?',
subtitle: '{{applicationName}}へのアクセスを続ける',
title: 'アカウントを作成',
titleCombined: 'アカウントを作成',
},
},
socialButtonsBlockButton: '{{provider|titleize}}で続ける',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/ko-KR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ export const koKR: LocalizationResource = {
actionText: '계정이 있으신가요?',
subtitle: '환영합니다! 아래 정보를 입력해주세요.',
title: '계정 만들기',
titleCombined: '계정 만들기',
},
},
socialButtonsBlockButton: '{{provider|titleize}}로 계속하기',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/mn-MN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ export const mnMN: LocalizationResource = {
actionText: 'Бүртгэлтэй юу?',
subtitle: 'Тавтай морил! Эхлэхийн тулд дэлгэрэнгүй мэдээллийг бөглөнө үү.',
title: 'Бүртгэл үүсгэх',
titleCombined: 'Бүртгэл үүсгэх',
},
},
socialButtonsBlockButton: '{{provider|titleize}}-р үргэлжлүүлэх',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/nb-NO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,7 @@ export const nbNO: LocalizationResource = {
actionText: 'Har du allerede en konto?',
subtitle: 'for å fortsette til {{applicationName}}',
title: 'Opprett kontoen din',
titleCombined: 'Opprett kontoen din',
},
},
socialButtonsBlockButton: 'Fortsett med {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/nl-NL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,7 @@ export const nlNL: LocalizationResource = {
actionText: 'Heb je al een account?',
subtitle: 'om door te gaan naar {{applicationName}}',
title: 'Maak je account aan',
titleCombined: 'Maak je account aan',
},
},
socialButtonsBlockButton: 'Ga verder met {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/pl-PL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ export const plPL: LocalizationResource = {
actionText: 'Masz już konto?',
subtitle: 'aby kontynuować w {{applicationName}}',
title: 'Utwórz swoje konto',
titleCombined: 'Utwórz swoje konto',
},
},
socialButtonsBlockButton: 'Kontynuuj z {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ export const ptBR: LocalizationResource = {
actionText: 'Possui uma conta?',
subtitle: 'para continuar em {{applicationName}}',
title: 'Criar sua conta',
titleCombined: 'Criar sua conta',
},
},
socialButtonsBlockButton: 'Continuar com {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/pt-PT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ export const ptPT: LocalizationResource = {
actionText: 'Já tem uma conta?',
subtitle: 'para continuar em {{applicationName}}',
title: 'Criar a sua conta',
titleCombined: 'Criar a sua conta',
},
},
socialButtonsBlockButton: 'Continuar com {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/ro-RO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ export const roRO: LocalizationResource = {
actionText: 'Aveți un cont?',
subtitle: 'pentru a continua la {{applicationName}}',
title: 'Creați-vă un cont',
titleCombined: 'Creați-vă un cont',
},
},
socialButtonsBlockButton: 'Continuați cu {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/ru-RU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ export const ruRU: LocalizationResource = {
actionText: 'Уже есть учетная запись?',
subtitle: 'чтобы продолжить работу в "{{applicationName}}"',
title: 'Создайте Вашу учетную запись',
titleCombined: 'Создайте Вашу учетную запись',
},
},
socialButtonsBlockButton: 'Продолжить с помощью {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/sk-SK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ export const skSK: LocalizationResource = {
actionText: 'Máte účet?',
subtitle: 'pre pokračovanie do {{applicationName}}',
title: 'Vytvorte si účet',
titleCombined: 'Vytvorte si účet',
},
},
socialButtonsBlockButton: 'Pokračovať s {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/sr-RS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ export const srRS: LocalizationResource = {
actionText: 'Već imaš nalog?',
subtitle: 'Dobrodošao! Molimo popuni detalje da započneš.',
title: 'Kreiraj svoj nalog',
titleCombined: 'Kreiraj svoj nalog',
},
},
socialButtonsBlockButton: 'Nastavi sa {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/sv-SE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ export const svSE: LocalizationResource = {
actionText: 'Har du redan ett konto?',
subtitle: 'för att fortsätta till {{applicationName}}',
title: 'Skapa ditt konto',
titleCombined: 'Skapa ditt konto',
},
},
socialButtonsBlockButton: 'Fortsätt med {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/th-TH.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ export const thTH: LocalizationResource = {
actionText: 'มีบัญชีอยู่แล้วใช่หรือไม่?',
subtitle: 'ยินดีต้อนรับ! โปรดกรอกข้อมูลเพื่อเริ่มต้น',
title: 'สร้างบัญชีของคุณ',
titleCombined: 'สร้างบัญชีของคุณ',
},
},
socialButtonsBlockButton: 'ดำเนินการต่อด้วย {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/tr-TR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ export const trTR: LocalizationResource = {
actionText: 'Hesabınız var mı?',
subtitle: '{{applicationName}} ile devam etmek için',
title: 'Hesap oluştur',
titleCombined: 'Hesap oluştur',
},
},
socialButtonsBlockButton: '{{provider|titleize}} ile giriş yapın',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/uk-UA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ export const ukUA: LocalizationResource = {
actionText: 'Уже є акаунт?',
subtitle: 'щоб продовжити роботу в "{{applicationName}}"',
title: 'Створіть Ваш акаунт',
titleCombined: 'Створіть Ваш акаунт',
},
},
socialButtonsBlockButton: 'Продовжити за допомогою {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/vi-VN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ export const viVN: LocalizationResource = {
actionText: 'Đã có tài khoản?',
subtitle: 'để tiếp tục với {{applicationName}}',
title: 'Tạo tài khoản của bạn',
titleCombined: 'Tạo tài khoản của bạn',
},
},
socialButtonsBlockButton: 'Tiếp tục với {{provider|titleize}}',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ export const zhCN: LocalizationResource = {
actionText: '已经有账户了?',
subtitle: '继续使用 {{applicationName}}',
title: '创建您的账户',
titleCombined: '创建您的账户',
},
},
socialButtonsBlockButton: '使用 {{provider|titleize}} 登录',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/zh-TW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ export const zhTW: LocalizationResource = {
actionText: '已經有帳戶了?',
subtitle: '繼續使用 {{applicationName}}',
title: '創建您的帳戶',
titleCombined: '創建您的帳戶',
},
},
socialButtonsBlockButton: '使用 {{provider|titleize}} 登錄',
Expand Down
1 change: 1 addition & 0 deletions packages/types/src/localization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ type _LocalizationResource = {
signUp: {
start: {
title: LocalizationValue;
titleCombined: LocalizationValue;
subtitle: LocalizationValue;
actionText: LocalizationValue;
actionLink: LocalizationValue;
Expand Down

0 comments on commit bdb537a

Please sign in to comment.