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/spotty-terms-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@clerk/localizations': minor
'@clerk/clerk-js': minor
'@clerk/shared': minor
---

Add a subtitle on the Reset password session task screen
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('TaskResetPassword', () => {

fixtures.clerk.user?.updatePassword.mockResolvedValue({});
const { getByRole, userEvent, getByLabelText } = render(<TaskResetPassword />, { wrapper });
await waitFor(() => getByRole('heading', { name: /Reset password/i }));
await waitFor(() => getByRole('heading', { name: /Reset your password/i }));

await userEvent.type(getByLabelText(/new password/i), 'testtest');
await userEvent.type(getByLabelText(/confirm password/i), 'testtest');
Expand All @@ -73,7 +73,7 @@ describe('TaskResetPassword', () => {
});
});
const { getByRole, getByTestId } = render(<TaskResetPassword />, { wrapper });
await waitFor(() => getByRole('heading', { name: /Reset password/i }));
await waitFor(() => getByRole('heading', { name: /Reset your password/i }));

const identifierField = getByTestId('hidden-identifier');
expect(identifierField).toHaveValue('test@clerk.com');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ const TaskResetPasswordInternal = () => {
<Card.Content>
<Header.Root showLogo>
<Header.Title localizationKey={localizationKeys('taskResetPassword.title')} />
<Header.Subtitle localizationKey={localizationKeys('taskResetPassword.subtitle')} />
</Header.Root>
<Card.Alert>{card.error}</Card.Alert>
<Col
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 @@ -870,6 +870,7 @@ export const arSA: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -878,6 +878,7 @@ export const beBY: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -874,6 +874,7 @@ export const bgBG: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/bn-IN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,7 @@ export const bnIN: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -873,6 +873,7 @@ export const caES: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -884,6 +884,7 @@ export const csCZ: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -871,6 +871,7 @@ export const daDK: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -888,6 +888,7 @@ export const deDE: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -875,6 +875,7 @@ export const elGR: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -875,6 +875,7 @@ export const enGB: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
Expand Down
3 changes: 2 additions & 1 deletion packages/localizations/src/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,8 @@ export const enUS: LocalizationResource = {
actionLink: 'Sign out',
actionText: 'Signed in as {{identifier}}',
},
title: 'Reset password',
subtitle: 'Your account requires a new password before you can continue',
title: 'Reset your password',
},
unstable__errors: {
already_a_member_in_organization: '{{email}} is already a member of the organization.',
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/es-CR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,7 @@ export const esCR: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -874,6 +874,7 @@ export const esES: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -881,6 +881,7 @@ export const esMX: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/es-UY.ts
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,7 @@ export const esUY: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/fa-IR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,7 @@ export const faIR: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -874,6 +874,7 @@ export const fiFI: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -889,6 +889,7 @@ export const frFR: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -864,6 +864,7 @@ export const heIL: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/hi-IN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,7 @@ export const hiIN: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -875,6 +875,7 @@ export const hrHR: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -872,6 +872,7 @@ export const huHU: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -879,6 +879,7 @@ export const idID: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -875,6 +875,7 @@ export const isIS: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -881,6 +881,7 @@ export const itIT: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -885,6 +885,7 @@ export const jaJP: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/kk-KZ.ts
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,7 @@ export const kkKZ: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -866,6 +866,7 @@ export const koKR: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -873,6 +873,7 @@ export const mnMN: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/ms-MY.ts
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,7 @@ export const msMY: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -872,6 +872,7 @@ export const nbNO: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/nl-BE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,7 @@ export const nlBE: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -873,6 +873,7 @@ export const nlNL: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -878,6 +878,7 @@ export const plPL: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -885,6 +885,7 @@ export const ptBR: LocalizationResource = {
actionLink: 'Sair',
actionText: 'Conectado como {{identifier}}',
},
subtitle: undefined,
title: 'Resetar senha',
},
unstable__errors: {
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 @@ -871,6 +871,7 @@ export const ptPT: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -886,6 +886,7 @@ export const roRO: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -885,6 +885,7 @@ export const ruRU: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -878,6 +878,7 @@ export const skSK: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -871,6 +871,7 @@ export const srRS: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -876,6 +876,7 @@ export const svSE: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/ta-IN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,7 @@ export const taIN: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
Expand Down
1 change: 1 addition & 0 deletions packages/localizations/src/te-IN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,7 @@ export const teIN: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -874,6 +874,7 @@ export const thTH: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
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 @@ -874,6 +874,7 @@ export const trTR: LocalizationResource = {
actionLink: undefined,
actionText: undefined,
},
subtitle: undefined,
title: undefined,
},
unstable__errors: {
Expand Down
Loading
Loading