diff --git a/packages/phrases-ui/src/locales/en.ts b/packages/phrases-ui/src/locales/en.ts index 77a541561..65cdfe745 100644 --- a/packages/phrases-ui/src/locales/en.ts +++ b/packages/phrases-ui/src/locales/en.ts @@ -33,7 +33,7 @@ const translation = { reminder: 'Reminder', not_found: '404 Not Found', agree_with_terms: 'I have read and agree to the ', - agree_with_terms_modal: 'Please read the {{terms}} and then agree the box first.', + agree_with_terms_modal: 'To proceed, please agree to the {{terms}}.', terms_of_use: 'Terms of Use', create_account: 'Create Account', forgot_password: 'Forgot Password?', @@ -53,20 +53,19 @@ const translation = { social_bind_with_existing: 'We find a related account, you can bind it directly.', }, error: { - username_password_mismatch: 'Username and password do not match.', - username_required: 'Username is required.', - password_required: 'Password is required.', - username_exists: 'Username already exists.', - username_should_not_start_with_number: 'Username should not start with a number.', + username_password_mismatch: 'Username and password do not match', + username_required: 'Username is required', + password_required: 'Password is required', + username_exists: 'Username already exists', + username_should_not_start_with_number: 'Username should not start with a number', username_valid_charset: 'Username should only contain letters, numbers, or underscore.', invalid_email: 'The email is invalid', invalid_phone: 'The phone number is invalid', - password_min_length: 'Password requires a minimum of {{min}} characters.', - passwords_do_not_match: 'Passwords do not match.', - agree_terms_required: 'You must agree to the Terms of Use before continuing.', - invalid_passcode: 'The passcode is invalid.', - invalid_connector_auth: 'The authorization is invalid.', - invalid_connector_request: 'The connector data is invalid.', + password_min_length: 'Password requires a minimum of {{min}} characters', + passwords_do_not_match: 'Passwords do not match', + 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.', 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 ce4e8f067..0de84a36e 100644 --- a/packages/phrases-ui/src/locales/zh-cn.ts +++ b/packages/phrases-ui/src/locales/zh-cn.ts @@ -16,7 +16,7 @@ const translation = { action: { sign_in: '登录', continue: '继续', - create_account: '创建账号', + create_account: '创建帐号', create: '创建', enter_passcode: '输入验证码', cancel: '取消', @@ -35,7 +35,7 @@ const translation = { reminder: '提示', not_found: '404 页面不存在', agree_with_terms: '我已阅读并同意 ', - agree_with_terms_modal: 'Please read the {{terms}} and then agree the box first.', + agree_with_terms_modal: '请先同意 {{terms}} 以继续', terms_of_use: '使用条款', create_account: '创建账号', forgot_password: '忘记密码?', @@ -45,28 +45,27 @@ const translation = { 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: '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.', + 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: '我们找到了一个匹配的帐号,你可以直接绑定。', }, error: { - username_password_mismatch: '用户名和密码不匹配。', + username_password_mismatch: '用户名和密码不匹配', username_required: '用户名必填', password_required: '密码必填', - username_exists: '用户名已存在。', - username_should_not_start_with_number: '用户名不能以数字开头。', + username_exists: '用户名已存在', + username_should_not_start_with_number: '用户名不能以数字开头', username_valid_charset: '用户名只能包含英文字母、数字或下划线。', - invalid_email: '无效的邮箱。', - invalid_phone: '无效的手机号。', - password_min_length: '密码最少需要{{min}}个字符。', - passwords_do_not_match: '密码不匹配。', - agree_terms_required: '你需要同意使用条款以继续。', - invalid_passcode: '无效的验证码。', - invalid_connector_auth: '登录失败。', - invalid_connector_request: '无效的登录请求。', + invalid_email: '无效的邮箱', + invalid_phone: '无效的手机号', + password_min_length: '密码最少需要{{min}}个字符', + passwords_do_not_match: '密码不匹配', + invalid_passcode: '无效的验证码', + invalid_connector_auth: '登录失败', + invalid_connector_request: '无效的登录请求', unknown: '未知错误,请稍后重试。', invalid_session: '未找到有效的会话,请重新登录。', },