0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

refactor(phrases): add zh-cn phrases in OIDC consent page (#5606)

* feat(phrases): add i18n phrases for zh-cn about OICD Authorize page

* refactor: apply suggestions from code review

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
This commit is contained in:
pawn 2024-04-03 14:23:30 +08:00 committed by GitHub
parent d8c39aa653
commit caaad693bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,26 +61,17 @@ const description = {
use: '使用', use: '使用',
single_sign_on_email_form: '输入你的企业电子邮件地址', single_sign_on_email_form: '输入你的企业电子邮件地址',
single_sign_on_connectors_list: single_sign_on_connectors_list:
'你的企业已为电子邮件账户{{email}}启用了单点登录。你可以继续使用以下SSO提供商进行登录。', '你的企业已为电子邮件账户 {{email}} 启用了单点登录。你可以继续使用以下SSO提供商进行登录。',
single_sign_on_enabled: '该帐户已启用单点登录', single_sign_on_enabled: '该帐户已启用单点登录',
/** UNTRANSLATED */ authorize_title: '授权给 {{name}}',
authorize_title: 'Authorize {{name}}', request_permission: '{{name}} 需要权限:',
/** UNTRANSLATED */ grant_organization_access: '授予组织访问权限:',
request_permission: '{{name}} is requesting access to:', user_scopes: '用户个人信息',
/** UNTRANSLATED */ organization_scopes: '组织权限',
grant_organization_access: 'Grant the organization access:', authorize_agreement: `你将同意授权给 {{name}} <link></link>.`,
/** UNTRANSLATED */ not_you: '不是你本人吗?',
user_scopes: 'Personal user data', user_id: '用户 ID: {{id}}',
/** UNTRANSLATED */ redirect_to: '你将被重定向到 {{name}}。',
organization_scopes: 'Organization access',
/** UNTRANSLATED */
authorize_agreement: `By authorize the access, you agree to the {{name}}'s <link></link>.`,
/** UNTRANSLATED */
not_you: 'Not you?',
/** UNTRANSLATED */
user_id: 'User ID: {{id}}',
/** UNTRANSLATED */
redirect_to: 'You will be redirected to {{name}}.',
}; };
export default Object.freeze(description); export default Object.freeze(description);