0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

refactor: correct phrases and translate some untranslate phrases for zh-cn (#6190)

* refactor: correct zh-cn translations

* refactor: translate some untranslate phrases for zh-cn
This commit is contained in:
Misaka_L 2024-07-07 14:51:30 +08:00 committed by GitHub
parent 1b7418c29d
commit 4f53e41f0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 30 deletions

View file

@ -29,10 +29,8 @@ const action = {
verify_via_passkey: '通过 Passkey 验证',
download: '下载',
single_sign_on: '单点登录',
/** UNTRANSLATED */
authorize: 'Authorize',
/** UNTRANSLATED */
use_another_account: 'Use another account',
authorize: '授权',
use_another_account: '使用另一个账号',
};
export default Object.freeze(action);

View file

@ -53,10 +53,10 @@ const description = {
verify_phone: '验证你的手机号',
password_requirements: '密码 {{items, list}}。',
password_requirement: {
length_one: '至少有 {{count}} 个字符',
length_other: '至少有 {{count}} 个字符',
character_types_one: '应包含至少 {{count}} 种大写字母、小写字母、数字和符号',
character_types_other: '应包含至少 {{count}} 种大写字母、小写字母、数字和符号',
length_one: '至少有 {{count}} 个字符',
length_other: '至少有 {{count}} 个字符',
character_types_one: '至少应包含大写字母、小写字母、数字和符号中的 {{count}} 种',
character_types_other: '至少应包含大写字母、小写字母、数字和符号中的 {{count}} 种',
},
use: '使用',
single_sign_on_email_form: '输入你的企业电子邮件地址',
@ -66,14 +66,11 @@ const description = {
authorize_title: '授权给 {{name}}',
request_permission: '{{name}} 需要权限:',
grant_organization_access: '授予组织访问权限:',
/** UNTRANSLATED */
authorize_personal_data_usage: 'Authorize the use of your personal data:',
/** UNTRANSLATED */
authorize_personal_data_usage: '你将授权该应用使用你的以下个人数据:',
authorize_organization_access: 'Authorize access to the specific organization:',
user_scopes: '用户个人信息',
organization_scopes: '组织权限',
authorize_agreement: `你将同意授权给 {{name}} <link></link>.`,
/** UNTRANSLATED */
authorize_agreement_with_redirect: `你将同意授权给 {{name}} <link></link>,然后你将被重定向到 {{uri}}。`,
not_you: '不是你本人吗?',
user_id: '用户 ID: {{id}}',

View file

@ -1,23 +1,14 @@
const user_scopes = {
descriptions: {
/** UNTRANSLATED */
custom_data: 'Your custom data',
/** UNTRANSLATED */
email: 'Your email address',
/** UNTRANSLATED */
phone: 'Your phone number',
/** UNTRANSLATED */
profile: 'Your name, username, avatar, and other profile info',
/** UNTRANSLATED */
roles: 'Your roles',
/** UNTRANSLATED */
identities: 'Your linked social identities',
/** UNTRANSLATED */
'urn:logto:scope:organizations': 'Your organizations info',
/** UNTRANSLATED */
'urn:logto:scope:organization_roles': 'Your organization roles',
/** UNTRANSLATED */
address: 'Your address',
custom_data: '你的自定义数据',
email: '你的电子邮箱地址',
phone: '你的电话号码',
profile: '你的名称,用户名,头像和其他个人资料信息',
roles: '你的角色',
identities: '你已连接的第三方账号',
'urn:logto:scope:organizations': '你的组织信息',
'urn:logto:scope:organization_roles': '你的组织角色',
address: '你的地址',
},
};