mirror of
https://github.com/logto-io/logto.git
synced 2025-03-31 22:51:25 -05:00
fix: typos in phrases
This commit is contained in:
parent
afaaed9f29
commit
895208e0ee
4 changed files with 10 additions and 10 deletions
|
@ -37,12 +37,12 @@ const translation = {
|
|||
forgot_password: 'Forgot Password?',
|
||||
or: 'Or',
|
||||
enter_passcode: 'The passcode has been sent to {{address}}',
|
||||
resend_after_senconds: 'Resend after {{seconds}} seconds',
|
||||
resend_after_seconds: 'Resend after {{seconds}} seconds',
|
||||
resend_passcode: 'Resend Passcode',
|
||||
continue_with: 'Continue with',
|
||||
create_account_id_exsits:
|
||||
create_account_id_exists:
|
||||
'The account with {{type}} {{value}} already exists, would you like to sign in?',
|
||||
sign_in_id_does_not_exsits:
|
||||
sign_in_id_does_not_exists:
|
||||
'The account with {{type}} {{value}} does not exist, would you like to create a new account?',
|
||||
},
|
||||
error: {
|
||||
|
@ -380,7 +380,7 @@ const translation = {
|
|||
mode: 'Language mode',
|
||||
auto: 'Auto',
|
||||
fixed: 'Fixed',
|
||||
fallback: 'Fallback laguanges',
|
||||
fallback: 'Fallback languages',
|
||||
languages: {
|
||||
english: 'English',
|
||||
chinese: 'Chinese',
|
||||
|
|
|
@ -39,11 +39,11 @@ const translation = {
|
|||
forgot_password: '忘记密码?',
|
||||
or: '或',
|
||||
enter_passcode: '验证码已经发送至 {{ address }}',
|
||||
resend_after_senconds: '在 {{ seconds }} 秒后重发',
|
||||
resend_after_seconds: '在 {{ seconds }} 秒后重发',
|
||||
resend_passcode: '重发验证码',
|
||||
continue_with: '通过以下方式继续',
|
||||
create_account_id_exsits: '{{ type }}为 {{ value }} 的账号已存在,您要登录吗?',
|
||||
sign_in_id_does_not_exsits: '{{ type }}为 {{ value }} 的账号不存在,您要创建一个新账号吗?',
|
||||
create_account_id_exists: '{{ type }}为 {{ value }} 的账号已存在,您要登录吗?',
|
||||
sign_in_id_does_not_exists: '{{ type }}为 {{ value }} 的账号不存在,您要创建一个新账号吗?',
|
||||
},
|
||||
error: {
|
||||
username_password_mismatch: '用户名和密码不匹配。',
|
||||
|
@ -376,7 +376,7 @@ const translation = {
|
|||
mode: 'Language mode',
|
||||
auto: 'Auto',
|
||||
fixed: 'Fixed',
|
||||
fallback: 'Fallback laguanges',
|
||||
fallback: 'Fallback languages',
|
||||
languages: {
|
||||
english: 'English',
|
||||
chinese: 'Chinese',
|
||||
|
|
|
@ -32,7 +32,7 @@ describe('<PasscodeValidation />', () => {
|
|||
<PasscodeValidation type="sign-in" method="email" target={email} />
|
||||
);
|
||||
|
||||
expect(queryByText('description.resend_after_senconds')).not.toBeNull();
|
||||
expect(queryByText('description.resend_after_seconds')).not.toBeNull();
|
||||
|
||||
act(() => {
|
||||
jest.runAllTimers();
|
||||
|
|
|
@ -87,7 +87,7 @@ const PasscodeValidation = ({ type, method, className, target }: Props) => {
|
|||
}, [verifyPasscodeError]);
|
||||
|
||||
const renderCountDownMessage = useMemo(() => {
|
||||
const contents = t('description.resend_after_senconds', { seconds });
|
||||
const contents = t('description.resend_after_seconds', { seconds });
|
||||
|
||||
return (
|
||||
<div className={styles.message}>
|
||||
|
|
Loading…
Add table
Reference in a new issue