0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-24 22:41:28 -05:00

refactor(ui): update some content (#2763)

This commit is contained in:
simeng-li 2022-12-30 16:41:08 +08:00 committed by GitHub
parent 4d65db08b2
commit 9088e547ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 13 additions and 21 deletions

View file

@ -48,7 +48,6 @@ const translation = {
passcode_sent: 'Der Bestätigungscode wurde erneut gesendet',
resend_after_seconds: 'Nach <span>{{seconds}}</span> Sekunden erneut senden',
resend_passcode: 'Bestätigungscode erneut senden',
continue_with: 'Weiter mit',
create_account_id_exists:
'Das Konto mit {{type}} {{value}} existiert bereits, möchtest du dich anmelden?',
sign_in_id_does_not_exist:
@ -73,7 +72,7 @@ const translation = {
have_account: 'Already had an account?', // UNTRANSLATED
enter_password: 'Enter Password', // UNTRANSLATED
enter_password_for: 'Sign in with the password to {{method}} {{value}}', // UNTRANSLATED
enter_username: 'Enter username', // UNTRANSLATED
enter_username: 'Set username', // UNTRANSLATED
enter_username_description:
'Username is an alternative for sign-in. Username must contain only letters, numbers, and underscores.', // UNTRANSLATED
link_email: 'Link email', // UNTRANSLATED

View file

@ -46,7 +46,6 @@ const translation = {
passcode_sent: 'The verification code has been resent',
resend_after_seconds: 'Resend after <span>{{seconds}}</span> seconds',
resend_passcode: 'Resend verification code',
continue_with: 'Continue with',
create_account_id_exists:
'The account with {{type}} {{value}} already exists, would you like to sign in?',
sign_in_id_does_not_exist:
@ -69,7 +68,7 @@ const translation = {
have_account: 'Already had an account?',
enter_password: 'Enter Password',
enter_password_for: 'Sign in with the password to {{method}} {{value}}',
enter_username: 'Enter username',
enter_username: 'Set username',
enter_username_description:
'Username is an alternative for sign-in. Username must contain only letters, numbers, and underscores.',
link_email: 'Link email',

View file

@ -48,7 +48,6 @@ const translation = {
passcode_sent: 'Le code a été renvoyé',
resend_after_seconds: 'Renvoyer après <span>{{seconds}}</span> secondes',
resend_passcode: 'Renvoyer le code',
continue_with: 'Continuer avec',
create_account_id_exists:
'Le compte avec {{type}} {{value}} existe déjà, voulez-vous vous connecter ?',
sign_in_id_does_not_exist:
@ -73,7 +72,7 @@ const translation = {
have_account: 'Already had an account?', // UNTRANSLATED
enter_password: 'Enter Password', // UNTRANSLATED
enter_password_for: 'Sign in with the password to {{method}} {{value}}', // UNTRANSLATED
enter_username: 'Enter username', // UNTRANSLATED
enter_username: 'Set username', // UNTRANSLATED
enter_username_description:
'Username is an alternative for sign-in. Username must contain only letters, numbers, and underscores.', // UNTRANSLATED
link_email: 'Link email', // UNTRANSLATED

View file

@ -48,7 +48,6 @@ const translation = {
passcode_sent: '비밀번호가 재전송 되었습니다.',
resend_after_seconds: '<span>{{seconds}}</span> 초 후에 재전송',
resend_passcode: '비밀번호 재전송',
continue_with: '계속하기',
create_account_id_exists: '{{type}} {{value}} 계정이 이미 존재해요. 로그인하시겠어요?',
sign_in_id_does_not_exist: '{type}} {{value}} 계정이 존재하지 않아요. 새로 만드시겠어요?',
sign_in_id_does_not_exist_alert: '{{type}} {{value}} 계정이 존재하지 않아요.',

View file

@ -48,7 +48,6 @@ const translation = {
passcode_sent: 'O código de verificação foi reenviado',
resend_after_seconds: 'Reenviar depois <span>{{seconds}}</span> segundos',
resend_passcode: 'Reenviar código de verificação',
continue_with: 'Continue com',
create_account_id_exists: 'A conta com {{type}} {{value}} já existe, gostaria de entrar?',
sign_in_id_does_not_exist:
'A conta com {{type}} {{value}} não existe, gostaria de criar uma nova conta?',

View file

@ -48,7 +48,6 @@ const translation = {
passcode_sent: 'A senha foi reenviada',
resend_after_seconds: 'Reenviar após <span>{{seconds}}</span> segundos',
resend_passcode: 'Reenviar senha',
continue_with: 'Continuar com',
create_account_id_exists: 'A conta com {{type}} {{value}} já existe, gostaria de fazer login?',
sign_in_id_does_not_exist: 'A conta com {{type}} {{value}} não existe, gostaria de criar uma?',
sign_in_id_does_not_exist_alert: 'The account with {{type}} {{value}} does not exist.', // UNTRANSLATED
@ -69,7 +68,7 @@ const translation = {
have_account: 'Already had an account?', // UNTRANSLATED
enter_password: 'Enter Password', // UNTRANSLATED
enter_password_for: 'Sign in with the password to {{method}} {{value}}', // UNTRANSLATED
enter_username: 'Enter username', // UNTRANSLATED
enter_username: 'Set username', // UNTRANSLATED
enter_username_description:
'Username is an alternative for sign-in. Username must contain only letters, numbers, and underscores.', // UNTRANSLATED
link_email: 'Link email', // UNTRANSLATED

View file

@ -48,7 +48,6 @@ const translation = {
passcode_sent: 'Kodunuz yeniden gönderildi.',
resend_after_seconds: '<span>{{seconds}}</span> saniye sonra tekrar gönder',
resend_passcode: 'Kodu Yeniden Gönder',
continue_with: 'İle devam et',
create_account_id_exists: '{{type}} {{value}} ile hesap mevcut, giriş yapmak ister misiniz?',
sign_in_id_does_not_exist:
'{{type}} {{value}} ile hesap mevcut değil, yeni bir hesap oluşturmak ister misiniz?',
@ -70,7 +69,7 @@ const translation = {
have_account: 'Already had an account?', // UNTRANSLATED
enter_password: 'Enter Password', // UNTRANSLATED
enter_password_for: 'Sign in with the password to {{method}} {{value}}', // UNTRANSLATED
enter_username: 'Enter username', // UNTRANSLATED
enter_username: 'Set username', // UNTRANSLATED
enter_username_description:
'Username is an alternative for sign-in. Username must contain only letters, numbers, and underscores.', // UNTRANSLATED
link_email: 'Link email', // UNTRANSLATED

View file

@ -28,8 +28,8 @@ const translation = {
nav_back: '返回',
agree: '同意',
got_it: '知道了',
sign_in_with: '通过 {{name}} 登录',
forgot_password: '重置密码',
sign_in_with: '通过 {{name}} 继续',
forgot_password: '忘记密码?',
switch_to: '切换到{{method}}',
sign_in_via_passcode: '用验证码登录',
sign_in_via_password: '密码登录',
@ -48,7 +48,6 @@ const translation = {
passcode_sent: '验证码已经发送',
resend_after_seconds: '在 <span>{{ seconds }}</span> 秒后重发',
resend_passcode: '重发验证码',
continue_with: '通过以下方式继续',
create_account_id_exists: '{{ type }}为 {{ value }} 的帐号已存在,你要登录吗?',
sign_in_id_does_not_exist: '{{ type }}为 {{ value }} 的帐号不存在,你要创建一个新帐号吗?',
sign_in_id_does_not_exist_alert: '{{ type }}为 {{ value }} 的帐号不存在。',
@ -67,7 +66,7 @@ const translation = {
have_account: ' 已有账号?',
enter_password: '输入密码',
enter_password_for: '输入 {{method}} {{value}} 对应的密码进行登录',
enter_username: '输入用户名',
enter_username: '设置用户名',
enter_username_description: '用户名可以用来进行登录。用户名仅可以包含字母、数字和下划线。',
link_email: '绑定邮箱',
link_phone: '绑定手机',
@ -118,7 +117,7 @@ const translation = {
invalid_email: '无效的邮箱',
invalid_phone: '无效的手机号',
password_min_length: '密码最少需要{{min}}个字符',
passwords_do_not_match: '你两次输入的密码不一致,请立即确认。',
passwords_do_not_match: '两次输入的密码不一致,请重试。',
invalid_passcode: '无效的验证码',
invalid_connector_auth: '登录失败',
invalid_connector_request: '无效的登录请求',

View file

@ -71,7 +71,7 @@ const errors = {
},
session: {
not_found: 'Session not found. Please go back and sign in again.',
invalid_credentials: 'Invalid credentials. Please check your input.',
invalid_credentials: 'Account and password do not match. Please check your input.',
invalid_sign_in_method: 'Current sign-in method is not available.',
invalid_connector_id: 'Unable to find available connector with id {{connectorId}}.',
insufficient_info: 'Insufficient sign-in info.',

View file

@ -68,7 +68,7 @@ const errors = {
},
session: {
not_found: '未找到会话。请返回并重新登录。',
invalid_credentials: '无效的密码,请检查你的输入。',
invalid_credentials: '账号或密码错误,请重新输入。',
invalid_sign_in_method: '当前登录方式不可用',
invalid_connector_id: '找不到 ID 为 {{connectorId}} 的可用连接器。',
insufficient_info: '登录信息缺失,请检查你的输入。',

View file

@ -4,7 +4,7 @@ import Divider from '.';
describe('Divider', () => {
it('render with content', () => {
const { queryByText } = render(<Divider label="description.continue_with" />);
expect(queryByText('description.continue_with')).not.toBeNull();
const { queryByText } = render(<Divider label="description.or" />);
expect(queryByText('description.or')).not.toBeNull();
});
});