diff --git a/packages/phrases-ui/src/locales/en.ts b/packages/phrases-ui/src/locales/en.ts index 9161572d9..b87a878ee 100644 --- a/packages/phrases-ui/src/locales/en.ts +++ b/packages/phrases-ui/src/locales/en.ts @@ -9,7 +9,7 @@ const translation = { secondary: { sign_in_with: 'Sign in with {{methods, list(type: disjunction;)}}', social_bind_with: - 'Already have an account? Sign in to bind {{methods, list(type: disjunction;)}} with your social identity.', + 'Already have an account? Sign in to link {{methods, list(type: disjunction;)}} with your social identity.', }, action: { sign_in: 'Sign In', @@ -19,7 +19,7 @@ const translation = { enter_passcode: 'Enter Passcode', confirm: 'Confirm', cancel: 'Cancel', - bind: 'Binding with {{address}}', + bind: 'Link with {{address}}', back: 'Go Back', nav_back: 'Back', agree: 'Agree', @@ -28,7 +28,6 @@ const translation = { }, description: { email: 'email', - phone: 'phone', phone_number: 'phone number', reminder: 'Reminder', not_found: '404 Not Found', @@ -47,10 +46,10 @@ const translation = { 'The account with {{type}} {{value}} already exists, would you like to sign in?', sign_in_id_does_not_exists: 'The account with {{type}} {{value}} does not exist, would you like to create a new account?', - bind_account_title: 'Binding Logto account', - social_create_account: 'No account? You can create a new account and bind.', - social_bind_account: 'Already have an account? Sign in to bind it with your social identity.', - social_bind_with_existing: 'We find a related account, you can bind it directly.', + bind_account_title: 'Link account', + social_create_account: 'No account? You can create a new account and link.', + social_bind_account: 'Already have an account? Sign in to link it with your social identity.', + social_bind_with_existing: 'We find a related account, you can link it directly.', }, error: { username_password_mismatch: 'Username and password do not match', @@ -66,7 +65,7 @@ const translation = { invalid_passcode: 'The passcode is invalid', invalid_connector_auth: 'The authorization is invalid', invalid_connector_request: 'The connector data is invalid', - unknown: 'Unknown error, please try again later.', + unknown: 'Unknown error. Please try again later.', invalid_session: 'Session not found. Please go back and sign in again.', }, }; diff --git a/packages/phrases-ui/src/locales/zh-cn.ts b/packages/phrases-ui/src/locales/zh-cn.ts index 0de84a36e..b2e66ffca 100644 --- a/packages/phrases-ui/src/locales/zh-cn.ts +++ b/packages/phrases-ui/src/locales/zh-cn.ts @@ -30,27 +30,26 @@ const translation = { }, description: { email: '邮箱', - phone: '手机', phone_number: '手机', reminder: '提示', not_found: '404 页面不存在', agree_with_terms: '我已阅读并同意 ', agree_with_terms_modal: '请先同意 {{terms}} 以继续', terms_of_use: '使用条款', - create_account: '创建账号', + create_account: '创建帐号', forgot_password: '忘记密码?', or: '或', - enter_passcode: '验证码已经发送至您的{{ address }}', + enter_passcode: '验证码已经发送至你的{{ address }}', passcode_sent: '验证码已经发送', resend_after_seconds: '在 {{ seconds }} 秒后重发', resend_passcode: '重发验证码', continue_with: '通过以下方式继续', - create_account_id_exists: '{{ type }}为 {{ value }} 的帐号已存在,您要登录吗?', - sign_in_id_does_not_exists: '{{ type }}为 {{ value }} 的帐号不存在,您要创建一个新帐号吗?', - bind_account_title: '绑定 Logto 帐号', - social_create_account: '没有帐号?您可以创建一个账号并绑定。', - social_bind_account: '已有账号?登录以绑定社交身份。', - social_bind_with_existing: '我们找到了一个匹配的帐号,你可以直接绑定。', + create_account_id_exists: '{{ type }}为 {{ value }} 的帐号已存在,你要登录吗?', + sign_in_id_does_not_exists: '{{ type }}为 {{ value }} 的帐号不存在,你要创建一个新帐号吗?', + bind_account_title: '绑定帐号', + social_create_account: '没有帐号?你可以创建一个帐号并绑定。', + social_bind_account: '已有帐号?登录以绑定社交身份。', + social_bind_with_existing: '找到了一个匹配的帐号,你可以直接绑定。', }, error: { username_password_mismatch: '用户名和密码不匹配', @@ -67,7 +66,7 @@ const translation = { invalid_connector_auth: '登录失败', invalid_connector_request: '无效的登录请求', unknown: '未知错误,请稍后重试。', - invalid_session: '未找到有效的会话,请重新登录。', + invalid_session: '未找到会话,请返回并重新登录。', }, }; diff --git a/packages/ui/src/pages/Passcode/index.tsx b/packages/ui/src/pages/Passcode/index.tsx index 607c834c9..e419c7646 100644 --- a/packages/ui/src/pages/Passcode/index.tsx +++ b/packages/ui/src/pages/Passcode/index.tsx @@ -49,7 +49,7 @@ const Passcode = () => {
{t('action.enter_passcode')}
{t('description.enter_passcode', { - address: t(`description.${method === 'email' ? 'email' : 'phone'}`), + address: t(`description.${method === 'email' ? 'email' : 'phone_number'}`), })}