Skip to content

Commit

Permalink
chore(localizations): Rename email id to email address (#3242)
Browse files Browse the repository at this point in the history
* chore(localizations): Rename email id to email address

* chore(localizations): Rename email id to email address
  • Loading branch information
panteliselef authored Apr 23, 2024
1 parent 956d879 commit de1d75d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/empty-actors-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/localizations': minor
---

Replace "email ID" with "email address" in `en-US.ts` for `signIn.forgotPassword.subtitle_email`
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ describe('SignInFactorOne', () => {
screen.getByText('Forgot Password?');
screen.getByText('Or, sign in with another method');
await userEvent.click(screen.getByText('Reset your password'));
screen.getByText('First, enter the code sent to your email ID');
screen.getByText('First, enter the code sent to your email address');
});

it('shows a UI error when submission fails', async () => {
Expand Down Expand Up @@ -270,7 +270,7 @@ describe('SignInFactorOne', () => {
});

await userEvent.click(screen.getByText('Reset your password'));
screen.getByText('First, enter the code sent to your email ID');
screen.getByText('First, enter the code sent to your email address');
});
});

Expand Down
2 changes: 1 addition & 1 deletion packages/localizations/src/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export const enUS: LocalizationResource = {
formTitle: 'Reset password code',
resendButton: "Didn't receive a code? Resend",
subtitle: 'to reset your password',
subtitle_email: 'First, enter the code sent to your email ID',
subtitle_email: 'First, enter the code sent to your email address',
subtitle_phone: 'First, enter the code sent to your phone',
title: 'Reset password',
},
Expand Down

0 comments on commit de1d75d

Please sign in to comment.