mirror of
https://github.com/logto-io/logto.git
synced 2025-01-27 21:39:16 -05:00
feat(console): update cn phrases (#1255)
This commit is contained in:
parent
a907ab45fc
commit
77e1033751
1 changed files with 206 additions and 207 deletions
|
@ -23,37 +23,37 @@ const translation = {
|
||||||
customize: '自定义',
|
customize: '自定义',
|
||||||
},
|
},
|
||||||
admin_console: {
|
admin_console: {
|
||||||
title: '管理面板',
|
title: '管理控制台',
|
||||||
sign_out: '登出',
|
sign_out: '退出登录',
|
||||||
profile: '账户管理',
|
profile: '帐户管理',
|
||||||
admin_user: '管理员',
|
admin_user: '管理员',
|
||||||
system_app: '系统应用',
|
system_app: '系统应用',
|
||||||
copy: {
|
copy: {
|
||||||
pending: '拷贝',
|
pending: '复制',
|
||||||
copying: '拷贝中',
|
copying: '复制中',
|
||||||
copied: '已拷贝',
|
copied: '已复制',
|
||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
required: '必填',
|
required: '必填',
|
||||||
add_another: '+ 添加其它',
|
add_another: '+ 新增',
|
||||||
confirm: '注意',
|
confirm: '提示',
|
||||||
cancel: '取消',
|
cancel: '取消',
|
||||||
delete: '删除',
|
delete: '删除',
|
||||||
deletion_confirmation: '你确定要删除这个 {{title}} 吗?',
|
deletion_confirmation: '你确定要删除这个 {{title}} 吗?',
|
||||||
},
|
},
|
||||||
errors: {
|
errors: {
|
||||||
something_went_wrong: '哎哟喂,遇到了一个错误',
|
something_went_wrong: '哎呀,出错了!',
|
||||||
page_not_found: '找不到页面',
|
page_not_found: '找不到页面',
|
||||||
unknown_server_error: '服务器发生未知错误。',
|
unknown_server_error: '服务器发生未知错误',
|
||||||
empty: '没有数据',
|
empty: '没有数据',
|
||||||
missing_total_number: '无法从返回的头部信息中找到 Total-Number。',
|
missing_total_number: '无法从返回的头部信息中找到 Total-Number',
|
||||||
invalid_uri_format: '无效的 URI 格式',
|
invalid_uri_format: '无效的 URI 格式',
|
||||||
invalid_origin_format: '无效的 URI origin 格式',
|
invalid_origin_format: '无效的 URI origin 格式',
|
||||||
required_field_missing: '请输入{{field}}',
|
required_field_missing: '请输入{{field}}',
|
||||||
required_field_missing_plural: '{{field}}不能全部为空',
|
required_field_missing_plural: '至少需要输入一个{{field}}',
|
||||||
more_details: '查看详情',
|
more_details: '查看详情',
|
||||||
username_pattern_error: '用户名只能包含英文字母、数字或下划线,且不以数字开头。',
|
username_pattern_error: '用户名只能包含英文字母、数字或下划线,且不以数字开头。',
|
||||||
password_pattern_error: '密码应不少于 6 位。',
|
password_pattern_error: '密码应不少于 6 位',
|
||||||
},
|
},
|
||||||
tab_sections: {
|
tab_sections: {
|
||||||
overview: '概览',
|
overview: '概览',
|
||||||
|
@ -64,7 +64,7 @@ const translation = {
|
||||||
tabs: {
|
tabs: {
|
||||||
get_started: '开始使用',
|
get_started: '开始使用',
|
||||||
dashboard: '仪表盘',
|
dashboard: '仪表盘',
|
||||||
applications: '应用集',
|
applications: '全部应用',
|
||||||
api_resources: 'API 资源',
|
api_resources: 'API 资源',
|
||||||
sign_in_experience: '登录体验',
|
sign_in_experience: '登录体验',
|
||||||
connectors: '连接器',
|
connectors: '连接器',
|
||||||
|
@ -75,69 +75,69 @@ const translation = {
|
||||||
settings: '设置',
|
settings: '设置',
|
||||||
},
|
},
|
||||||
applications: {
|
applications: {
|
||||||
title: '应用集',
|
title: '全部应用',
|
||||||
subtitle: '创建一个移动、单页或传统应用程序,并通过 Logto 进行身份验证.',
|
subtitle: '创建一个移动、单页或传统 web 应用程序,并通过 Logto 进行身份验证',
|
||||||
create: '创建应用',
|
create: '创建应用',
|
||||||
application_name: '应用名称',
|
application_name: '应用名称',
|
||||||
application_description: '应用描述',
|
application_description: '应用描述',
|
||||||
select_application_type: '选择一个应用类型',
|
select_application_type: '选择应用类型',
|
||||||
no_application_type_selected: '你还没有选用任意一种应用类型.',
|
no_application_type_selected: '你还没有选择应用类型',
|
||||||
application_created: '应用 {{name}} 成功创建! \n现在请完成你的应用设置.',
|
application_created: '应用 {{name}} 成功创建! \n现在请完成你的应用设置。',
|
||||||
app_id: 'App ID',
|
app_id: 'App ID',
|
||||||
type: {
|
type: {
|
||||||
native: {
|
native: {
|
||||||
title: '原生应用',
|
title: '原生应用',
|
||||||
subtitle: 'Mobile, desktop, CLI and smart device apps running natively.',
|
subtitle: '在原生环境中运行的应用程序',
|
||||||
description: 'E.g.: iOS, Electron, Apple TV apps',
|
description: '例如 iOS app,Android app',
|
||||||
},
|
},
|
||||||
spa: {
|
spa: {
|
||||||
title: '单页应用',
|
title: '单页应用',
|
||||||
subtitle: 'A JavaScript front-end app that uses an API.',
|
subtitle: '在浏览器中运行并动态更新数据的应用程序',
|
||||||
description: 'E.g.: Angular, React, Vue',
|
description: '例如 React DOM app,Vue app',
|
||||||
},
|
},
|
||||||
traditional: {
|
traditional: {
|
||||||
title: '传统网页应用',
|
title: '传统网页应用',
|
||||||
subtitle: 'Traditional web app using redirects.',
|
subtitle: '仅由 Web 服务器渲染和更新的应用程序',
|
||||||
description: 'E.g.: Node.js, Express, ASP.NET, Java, PHP',
|
description: '例如 JSP, PHP',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
guide: {
|
guide: {
|
||||||
get_sample_file: '获取示例工程',
|
get_sample_file: '获取示例工程',
|
||||||
header_description:
|
header_description:
|
||||||
'参考如下教程,将 Logto 集成到您的应用中。您也可以点击右侧链接,获取我们为您准备好的示范工程。',
|
'参考如下教程,将 Logto 集成到你的应用中。你也可以点击右侧链接,获取我们为你准备好的示范工程。',
|
||||||
title: '恭喜!您的应用已成功创建。',
|
title: '恭喜!应用创建成功。',
|
||||||
subtitle: '请参考以下步骤完成您的应用设置。首先,请选择您要使用的 SDK 类型:',
|
subtitle: '参考以下步骤完成你的应用设置。首先,选择你要使用的 SDK 类型:',
|
||||||
description_by_sdk: '本教程向您演示如何在 {{sdk}} 应用中集成 Logto 登录功能',
|
description_by_sdk: '本教程向你演示如何在 {{sdk}} 应用中集成 Logto 登录功能',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
application_details: {
|
application_details: {
|
||||||
back_to_applications: '返回应用集',
|
back_to_applications: '返回全部应用',
|
||||||
check_help_guide: '查看帮助引导',
|
check_help_guide: '查看帮助引导',
|
||||||
settings: '设置',
|
settings: '设置',
|
||||||
advanced_settings: '高级设置',
|
advanced_settings: '高级设置',
|
||||||
application_name: '应用名称',
|
application_name: '应用名称',
|
||||||
description: '描述',
|
description: '描述',
|
||||||
authorization_endpoint: 'Authorization Endpoint',
|
authorization_endpoint: 'Authorization Endpoint',
|
||||||
redirect_uri: 'Redirect URI',
|
redirect_uri: 'Redirect URIs',
|
||||||
post_sign_out_redirect_uri: 'Post Sign-out Redirect URI',
|
post_sign_out_redirect_uri: 'Post sign out redirect URIs',
|
||||||
cors_allowed_origins: 'CORS Allowed Origins',
|
cors_allowed_origins: 'CORS Allowed Origins',
|
||||||
add_another: '继续添加',
|
add_another: '新增',
|
||||||
id_token_expiration: 'ID Token Expiration',
|
id_token_expiration: 'ID Token 过期时间',
|
||||||
refresh_token_expiration: 'Refresh Token Expiration',
|
refresh_token_expiration: 'Refresh Token 过期时间',
|
||||||
token_endpoint: 'Token Endpoint',
|
token_endpoint: 'Token endpoint',
|
||||||
user_info_endpoint: 'User Info Endpoint',
|
user_info_endpoint: 'UserInfo endpoint',
|
||||||
save_changes: '保存修改',
|
save_changes: '保存变更',
|
||||||
more_options: '更多选项',
|
more_options: '更多选项',
|
||||||
options_delete: '删除',
|
options_delete: '删除',
|
||||||
reminder: '提示',
|
reminder: '提示',
|
||||||
delete_description:
|
delete_description:
|
||||||
'此项操作不可撤销。他将会永久性地删除此应用。请输入 <span>{{name}}</span> 以确认.',
|
'本操作会永久性地删除该应用,且不可撤销。输入 <span>{{name}}</span> 确认。',
|
||||||
enter_your_application_name: '输入你的应用名称',
|
enter_your_application_name: '输入你的应用名称',
|
||||||
cancel: '取消',
|
cancel: '取消',
|
||||||
delete: '删除',
|
delete: '删除',
|
||||||
application_deleted: '应用 {{name}} 成功删除.',
|
application_deleted: '应用 {{name}} 成功删除.',
|
||||||
save_success: '已保存!',
|
save_success: '已保存!',
|
||||||
redirect_uri_required: 'You have to enter at least one redirect URI.',
|
redirect_uri_required: '至少需要输入一个 Redirect URL',
|
||||||
},
|
},
|
||||||
api_resources: {
|
api_resources: {
|
||||||
title: 'API 资源',
|
title: 'API 资源',
|
||||||
|
@ -145,18 +145,18 @@ const translation = {
|
||||||
create: '创建 API 资源',
|
create: '创建 API 资源',
|
||||||
api_name: 'API 名称',
|
api_name: 'API 名称',
|
||||||
api_identifier: 'API Identifier',
|
api_identifier: 'API Identifier',
|
||||||
api_resource_created: ' API 资源 {{name}} 已被成功创建!',
|
api_resource_created: ' API 资源 {{name}} 已成功创建!',
|
||||||
},
|
},
|
||||||
api_resource_details: {
|
api_resource_details: {
|
||||||
back_to_api_resources: '返回我的 API 资源',
|
back_to_api_resources: '返回 API 资源',
|
||||||
more_options: '更多选项',
|
more_options: '更多选项',
|
||||||
options_delete: '删除',
|
options_delete: '删除',
|
||||||
settings: '设置',
|
settings: '设置',
|
||||||
save_changes: 'Save Changes',
|
save_changes: '保存变更',
|
||||||
token_expiration_time_in_seconds: 'Token Expiration Time (in seconds)',
|
token_expiration_time_in_seconds: 'Token 过期时间(秒)',
|
||||||
reminder: '提示',
|
reminder: '提示',
|
||||||
delete_description:
|
delete_description:
|
||||||
'此项操作不可撤销。他将会永久性地删除此 API 资源。请输入 API 资源名称 <span>{{name}}</span> 以确认.',
|
'本操作会永久性地删除该 API 资源,且不可撤销。输入 API 资源名称 <span>{{name}}</span> 确认。',
|
||||||
enter_your_api_resource_name: '输入 API 资源名称',
|
enter_your_api_resource_name: '输入 API 资源名称',
|
||||||
cancel: '取消',
|
cancel: '取消',
|
||||||
delete: '删除',
|
delete: '删除',
|
||||||
|
@ -165,92 +165,93 @@ const translation = {
|
||||||
},
|
},
|
||||||
connectors: {
|
connectors: {
|
||||||
title: '连接器',
|
title: '连接器',
|
||||||
subtitle: '设置连接器,开启无密码和社会化登录。',
|
subtitle: '设置连接器,开启无密码和社交登录',
|
||||||
create: '添加社会化登录',
|
create: '添加社交连接器',
|
||||||
added: '已添加',
|
added: '已添加',
|
||||||
set_up: '设置',
|
set_up: '设置',
|
||||||
tab_email_sms: '邮件/短信服务商',
|
tab_email_sms: '短信和邮件连接器',
|
||||||
tab_social: '社会化登录',
|
tab_social: '社交连接器',
|
||||||
connector_name: '连接器',
|
connector_name: '连接器名称',
|
||||||
connector_type: '类型',
|
connector_type: '类型',
|
||||||
connector_status: '登录体验',
|
connector_status: '登录体验',
|
||||||
connector_status_in_use: '使用中',
|
connector_status_in_use: '使用中',
|
||||||
connector_status_not_in_use: '未使用',
|
connector_status_not_in_use: '未使用',
|
||||||
social_connector_eg: '如: 微信登录,支付宝登录,微博登录',
|
social_connector_eg: '如: 微信登录,支付宝登录',
|
||||||
next: '下一步',
|
next: '下一步',
|
||||||
save_and_done: '保存并完成',
|
save_and_done: '保存并完成',
|
||||||
type: {
|
type: {
|
||||||
email: '邮件服务商',
|
email: '邮件连接器',
|
||||||
sms: '短信服务商',
|
sms: '短信连接器',
|
||||||
social: '社会化登录',
|
social: '社交连接器',
|
||||||
},
|
},
|
||||||
setup_title: {
|
setup_title: {
|
||||||
email: '设置邮件服务商',
|
email: '设置邮件连接器',
|
||||||
sms: '设置短信服务商',
|
sms: '设置短信连接器',
|
||||||
social: '添加社会化登录',
|
social: '添加社交连接器',
|
||||||
},
|
},
|
||||||
guide: {
|
guide: {
|
||||||
subtitle: '请参考下列分步指南,配置您的 connector,或点击按钮获取示例配置文件',
|
subtitle: '参考以下步骤完成你的连接器设置',
|
||||||
},
|
},
|
||||||
platform: {
|
platform: {
|
||||||
universal: '通用',
|
universal: '通用',
|
||||||
web: '网页',
|
web: '网页',
|
||||||
native: '原生',
|
native: '原生',
|
||||||
},
|
},
|
||||||
add_multi_platform: ' 支持多平台,请选择一个平台继续',
|
add_multi_platform: ' 支持多平台,选择一个平台继续',
|
||||||
drawer_title: '连接器配置指南',
|
drawer_title: '连接器配置指南',
|
||||||
drawer_subtitle: '请参考下列连接器配置指南',
|
drawer_subtitle: '参考以下步骤完善或修改你的连接器设置',
|
||||||
},
|
},
|
||||||
connector_details: {
|
connector_details: {
|
||||||
back_to_connectors: '返回连接器',
|
back_to_connectors: '返回连接器',
|
||||||
check_readme: '查看文档',
|
check_readme: '查看 README',
|
||||||
tab_settings: '设置',
|
tab_settings: '设置',
|
||||||
save_changes: '保存',
|
save_changes: '保存变更',
|
||||||
save_error_empty_config: '请输入配置内容。',
|
save_error_empty_config: '请输入配置内容',
|
||||||
save_error_json_parse_error: '请输入符合 JSON 格式的配置。',
|
save_error_json_parse_error: '请输入符合 JSON 格式的配置',
|
||||||
save_success: '保存成功',
|
save_success: '保存成功',
|
||||||
send: 'Send',
|
send: '发送',
|
||||||
send_error_invalid_format: 'Invalid input',
|
send_error_invalid_format: '无效输入',
|
||||||
edit_config_label: '请在此输入你的 JSON 配置',
|
edit_config_label: '请在此输入你的 JSON 配置',
|
||||||
test_email_sender: 'Test your email sender',
|
test_email_sender: '测试你的邮件连接器',
|
||||||
test_sms_sender: 'Test your SMS sender',
|
test_sms_sender: '测试你的短信连接器',
|
||||||
test_message_sent: 'Test Message Sent!',
|
test_message_sent: '测试信息已发送!',
|
||||||
test_sender_description: 'Test sender description',
|
test_sender_description: '如果你的 JSON 配置正确,你会收到一条测试消息。',
|
||||||
options: '操作',
|
options: '更多选项',
|
||||||
options_delete: '删除',
|
options_delete: '删除',
|
||||||
options_change_email: '更换邮件服务商',
|
options_change_email: '更换邮件连接器',
|
||||||
options_change_sms: '更换短信服务商',
|
options_change_sms: '更换短信连接器',
|
||||||
more_options: '更多选项',
|
more_options: '更多选项',
|
||||||
connector_deleted: '成功删除连接器。',
|
connector_deleted: '成功删除连接器',
|
||||||
type_email: '邮件连接器',
|
type_email: '邮件连接器',
|
||||||
type_sms: '短信连接器',
|
type_sms: '短信连接器',
|
||||||
type_social: '社交连接器',
|
type_social: '社交连接器',
|
||||||
},
|
},
|
||||||
get_started: {
|
get_started: {
|
||||||
progress: '开始使用: {{completed}}/{{total}}',
|
progress: '开始使用: {{completed}}/{{total}}',
|
||||||
progress_dropdown_title: '快速上手',
|
progress_dropdown_title: '一些快速上手的操作',
|
||||||
title: '还不知道如何使用 Logto?',
|
title: '还不知道如何使用 Logto?',
|
||||||
subtitle_part1: '下列是一些适合您快速上手的事情,您可以更好得感受 Logto 的价值。',
|
subtitle_part1: '下列是一些可以快速上手的操作,通过这些,你可以更好地感受 Logto 的价值',
|
||||||
subtitle_part2: '我已经完成了这些设置。',
|
subtitle_part2: '我已经完成了这些设置',
|
||||||
hide_this: '隐藏引导',
|
hide_this: '隐藏引导',
|
||||||
confirm: '确认提醒',
|
confirm: '提示',
|
||||||
confirm_message: '您确认要隐藏该页面吗? 本操作将无法恢复。',
|
confirm_message: '你确认要隐藏该页面吗? 本操作将无法恢复。',
|
||||||
card1_title: '看看 Demo',
|
card1_title: '看看 Demo',
|
||||||
card1_subtitle: '试试 Logto 登录体验,来看看它是怎样运行的。',
|
card1_subtitle: '来体验 Logto 登录吧',
|
||||||
card2_title: '创建你的第一款应用',
|
card2_title: '创建你的第一款应用',
|
||||||
card2_subtitle: '创建一个移动、单页或传统应用程序,并通过 Logto 进行身份验证。',
|
card2_subtitle: '创建一个原生、单页或传统应用,并通过 Logto 进行身份验证',
|
||||||
card3_title: '实现手机和邮箱验证登录',
|
card3_title: '实现手机号码登录和邮箱登录',
|
||||||
card3_subtitle: '尝试无密码登录,赋予用户一个安全无缝的体验。',
|
card3_subtitle: '尝试无密码登录,给你的用户一个安全无缝的体验',
|
||||||
card4_title: '添加社会化连接器',
|
card4_title: '添加社交连接器',
|
||||||
card4_subtitle: '让你的用户通过社交账号一键登录',
|
card4_subtitle: '让你的用户通过社交帐号一键登录',
|
||||||
card5_title: '自定义你的登录体验',
|
card5_title: '自定义你的登录体验',
|
||||||
card5_subtitle: '自定义符合品牌形象的登录界面,并实时预览真实效果。',
|
card5_subtitle: '自定义符合品牌形象的登录界面,并实时预览真实效果',
|
||||||
card6_title: '更多阅读',
|
card6_title: '更多阅读',
|
||||||
card6_subtitle: '查看我们一步一步,基于场景的引导。没有复杂的概念,简单上手。',
|
card6_subtitle: '查看我们一步一步基于场景的文档,没有复杂的概念,简单上手',
|
||||||
},
|
},
|
||||||
users: {
|
users: {
|
||||||
title: '用户管理',
|
title: '用户管理',
|
||||||
subtitle: '管理已注册用户, 创建新用户,编辑用户资料。',
|
subtitle:
|
||||||
|
'管理你的用户,包括创建新用户,编辑用户资料,查看用户日志,以及重新设置密码和删除用户',
|
||||||
create: '添加用户',
|
create: '添加用户',
|
||||||
user_name: '用户',
|
user_name: '用户',
|
||||||
application_name: '注册应用',
|
application_name: '注册应用',
|
||||||
|
@ -263,74 +264,73 @@ const translation = {
|
||||||
user_details: {
|
user_details: {
|
||||||
back_to_users: '返回用户管理',
|
back_to_users: '返回用户管理',
|
||||||
created_title: '恭喜!用户创建成功',
|
created_title: '恭喜!用户创建成功',
|
||||||
created_guide: '用户信息如下',
|
created_guide: '你可以将以下登录信息发送给用户',
|
||||||
created_username: '用户名:',
|
created_username: '用户名:',
|
||||||
created_password: '初始密码:',
|
created_password: '初始密码:',
|
||||||
created_button_close: '关闭',
|
created_button_close: '关闭',
|
||||||
created_button_copy: '拷贝',
|
created_button_copy: '复制',
|
||||||
more_options: '更多操作',
|
more_options: '更多选项',
|
||||||
menu_delete: '删除用户',
|
menu_delete: '删除用户',
|
||||||
delete_title: '注意',
|
delete_title: '提示',
|
||||||
delete_description: '本操作无法撤消,将删除此用户。',
|
delete_description: '本操作将永久删除该用户,且无法撤销。',
|
||||||
delete_cancel: '取消',
|
delete_cancel: '取消',
|
||||||
delete_confirm: '删除',
|
delete_confirm: '删除',
|
||||||
deleted: '用户已成功删除。',
|
deleted: '用户已成功删除!',
|
||||||
reset_password: {
|
reset_password: {
|
||||||
title: '重置密码',
|
title: '重置密码',
|
||||||
label: '新密码:',
|
label: '新密码:',
|
||||||
reset_password: '重置密码',
|
reset_password: '重置密码',
|
||||||
reset_password_success: '密码已成功重置。',
|
reset_password_success: '密码已成功重置',
|
||||||
},
|
},
|
||||||
tab_settings: '设置',
|
tab_settings: '设置',
|
||||||
tab_logs: '用户日志',
|
tab_logs: '用户日志',
|
||||||
field_email: '首选邮箱',
|
field_email: '主要邮箱',
|
||||||
field_phone: '首选手机号码',
|
field_phone: '主要手机号码',
|
||||||
field_username: '用户名',
|
field_username: '用户名',
|
||||||
field_name: '名称',
|
field_name: '姓名',
|
||||||
field_avatar: '头像图片链接',
|
field_avatar: '头像图片链接',
|
||||||
field_custom_data: '自定义数据',
|
field_custom_data: '自定义数据',
|
||||||
field_connectors: '社交账号',
|
field_connectors: '社交帐号',
|
||||||
custom_data_invalid: '自定义数据必须是有效的 JSON',
|
custom_data_invalid: '自定义数据必须是有效的 JSON',
|
||||||
save_changes: '保存设置',
|
save_changes: '保存变更',
|
||||||
saved: '保存成功!',
|
saved: '保存成功!',
|
||||||
connectors: {
|
connectors: {
|
||||||
connectors: '连接器',
|
connectors: '连接器',
|
||||||
user_id: '用户ID',
|
user_id: '用户ID',
|
||||||
remove: '删除',
|
remove: '删除',
|
||||||
not_connected: '该用户还没有绑定社交账号。',
|
not_connected: '该用户还没有绑定社交帐号',
|
||||||
deletion_confirmation: '您在正要删除现有的 <name /> 身份,是否确认?',
|
deletion_confirmation: '你在正要删除现有的 <name /> 身份,是否确认?',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
contact: {
|
contact: {
|
||||||
title: '联系我们',
|
title: '联系我们',
|
||||||
description:
|
description: '加入我们的社区,在这里你可以给我们提供产品建议,寻求帮助或和其他开发者交流心得',
|
||||||
'加入我们的社区,在这里你可以给我们提供产品建议,寻求帮助或和其他开发者友好交流.',
|
|
||||||
discord: {
|
discord: {
|
||||||
title: 'Discord 频道',
|
title: 'Discord 频道',
|
||||||
description: 'Join our public channel to chat with developers.',
|
description: '加入我们的公共频道,和其他开发者一起交流使用经验',
|
||||||
button: '立即加入',
|
button: '立即加入',
|
||||||
},
|
},
|
||||||
github: {
|
github: {
|
||||||
title: 'GitHub',
|
title: 'GitHub',
|
||||||
description: 'Create an issue.',
|
description: '通过 GitHub,给我们提一个 issue',
|
||||||
button: '马上联系',
|
button: '马上联系',
|
||||||
},
|
},
|
||||||
email: {
|
email: {
|
||||||
title: '通过邮件联系',
|
title: '邮件联系',
|
||||||
description: 'If you have any question.',
|
description: '通过邮件联系获取信息或寻求帮助',
|
||||||
button: '发送邮件',
|
button: '发送邮件',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
sign_in_exp: {
|
sign_in_exp: {
|
||||||
title: '登录体验',
|
title: '登录体验',
|
||||||
description: '自定义登录界面,并实时预览真实效果。',
|
description: '自定义登录界面,并实时预览真实效果',
|
||||||
tabs: {
|
tabs: {
|
||||||
branding: '品牌',
|
branding: '品牌',
|
||||||
methods: '登录方式',
|
methods: '登录方式',
|
||||||
others: '其它',
|
others: '其它',
|
||||||
},
|
},
|
||||||
welcome: {
|
welcome: {
|
||||||
title: '这是你首次定义你的登录体验。请跟随教程,完成登录体验的必要设置项。',
|
title: '这是你首次定义你的登录体验。跟随引导,完成登录体验的必要设置项。',
|
||||||
get_started: '开始',
|
get_started: '开始',
|
||||||
apply_remind: '请注意,登录体验将会应用到当前账户下的所有应用。',
|
apply_remind: '请注意,登录体验将会应用到当前账户下的所有应用。',
|
||||||
got_it: '知道了',
|
got_it: '知道了',
|
||||||
|
@ -351,37 +351,37 @@ const translation = {
|
||||||
logo: '仅有Logo',
|
logo: '仅有Logo',
|
||||||
},
|
},
|
||||||
logo_image_url: 'Logo 图片 URL',
|
logo_image_url: 'Logo 图片 URL',
|
||||||
dark_logo_image_url: 'Logo 图片 URL (暗黑)',
|
dark_logo_image_url: 'Logo 图片 URL (深色)',
|
||||||
slogan: '标语',
|
slogan: '标语',
|
||||||
slogan_placeholder: 'Unleash your creativity',
|
slogan_placeholder: '释放你的创造力',
|
||||||
},
|
},
|
||||||
terms_of_use: {
|
terms_of_use: {
|
||||||
title: '使用条款',
|
title: '使用条款',
|
||||||
enable: '开启使用条款',
|
enable: '开启使用条款',
|
||||||
description: '添加使用您的产品的法律协议。它们充当产品和用户之间的合同。',
|
description: '添加使用产品的法律协议。',
|
||||||
terms_of_use: '使用条款',
|
terms_of_use: '使用条款',
|
||||||
terms_of_use_placeholder: '使用条款 URL',
|
terms_of_use_placeholder: '使用条款 URL',
|
||||||
terms_of_use_tip: '使用条款 URL',
|
terms_of_use_tip: '使用条款 URL',
|
||||||
},
|
},
|
||||||
sign_in_methods: {
|
sign_in_methods: {
|
||||||
title: '登录方式',
|
title: '登录方式',
|
||||||
primary: '首选登录方式',
|
primary: '主要登录方式',
|
||||||
enable_secondary: '启用其它登录方式',
|
enable_secondary: '启用其它登录方式',
|
||||||
enable_secondary_description:
|
enable_secondary_description:
|
||||||
'开启后,除了首选登录方式,你的 app 将会支持更多其它的登录方式 ',
|
'开启后,除了主要登录方式,你的 app 将会支持更多其它的登录方式 ',
|
||||||
methods: '登录方式',
|
methods: '登录方式',
|
||||||
methods_sms: '短信验证码登录',
|
methods_sms: '手机号登录',
|
||||||
methods_email: '邮箱登录',
|
methods_email: '邮箱登录',
|
||||||
methods_social: '社交账号登录',
|
methods_social: '社交帐号登录',
|
||||||
methods_username: '用户名密码登录',
|
methods_username: '用户名密码登录',
|
||||||
methods_primary_tag: '(首选)',
|
methods_primary_tag: '(主要)',
|
||||||
define_social_methods: '定义社会化登录方式',
|
define_social_methods: '定义社交登录方式',
|
||||||
transfer: {
|
transfer: {
|
||||||
title: '社会化连接器',
|
title: '社交连接器',
|
||||||
footer: {
|
footer: {
|
||||||
not_in_list: '不在列表里?',
|
not_in_list: '不在列表里?',
|
||||||
set_up_more: '设置更多',
|
set_up_more: '设置更多',
|
||||||
go_to: '连接器,或前往连接器模块',
|
go_to: '社交连接器,或前往连接器模块进行设置。',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -391,8 +391,8 @@ const translation = {
|
||||||
mode: '语言模式',
|
mode: '语言模式',
|
||||||
auto: '自动',
|
auto: '自动',
|
||||||
fixed: '固定',
|
fixed: '固定',
|
||||||
fallback_language: 'Fallback language',
|
fallback_language: '备用语言',
|
||||||
fixed_language: 'Fixed language',
|
fixed_language: '固定语言',
|
||||||
languages: {
|
languages: {
|
||||||
english: '英文',
|
english: '英文',
|
||||||
chinese: '中文',
|
chinese: '中文',
|
||||||
|
@ -403,8 +403,8 @@ const translation = {
|
||||||
setup: '设置',
|
setup: '设置',
|
||||||
no_connector: '',
|
no_connector: '',
|
||||||
no_connector_sms: '你还没有设置 SMS 连接器。你需完成设置后登录体验才会生效。',
|
no_connector_sms: '你还没有设置 SMS 连接器。你需完成设置后登录体验才会生效。',
|
||||||
no_connector_email: '你还没有设置 Email 连接器。你需完成设置后登录体验才会生效。',
|
no_connector_email: '你还没有设置 email 连接器。你需完成设置后登录体验才会生效。',
|
||||||
no_connector_social: '你还没有设置社会化连接器。你需完成设置后登录体验才会生效。',
|
no_connector_social: '你还没有设置社交连接器。你需完成设置后登录体验才会生效。',
|
||||||
no_added_social_connector:
|
no_added_social_connector:
|
||||||
'你已经成功设置了一些社会化连接器。确认添加一些到你的登录体验。你可以拖拽改变他们的顺序。',
|
'你已经成功设置了一些社会化连接器。确认添加一些到你的登录体验。你可以拖拽改变他们的顺序。',
|
||||||
},
|
},
|
||||||
|
@ -420,8 +420,8 @@ const translation = {
|
||||||
english: '英文',
|
english: '英文',
|
||||||
chinese: '中文',
|
chinese: '中文',
|
||||||
},
|
},
|
||||||
dark: 'Dark',
|
dark: '深色',
|
||||||
light: 'Light',
|
light: '浅色',
|
||||||
mobile: '移动',
|
mobile: '移动',
|
||||||
desktop_web: '桌面网页',
|
desktop_web: '桌面网页',
|
||||||
mobile_web: '移动网页',
|
mobile_web: '移动网页',
|
||||||
|
@ -429,7 +429,7 @@ const translation = {
|
||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
title: '设置',
|
title: '设置',
|
||||||
description: '全局设置',
|
description: '管理全局设置',
|
||||||
tabs: {
|
tabs: {
|
||||||
general: '通用',
|
general: '通用',
|
||||||
},
|
},
|
||||||
|
@ -440,12 +440,12 @@ const translation = {
|
||||||
appearance: '外观',
|
appearance: '外观',
|
||||||
appearance_system: '跟随系统',
|
appearance_system: '跟随系统',
|
||||||
appearance_light: '浅色模式',
|
appearance_light: '浅色模式',
|
||||||
appearance_dark: '暗黑模式',
|
appearance_dark: '深色模式',
|
||||||
saved: '已保存',
|
saved: '已保存!',
|
||||||
},
|
},
|
||||||
dashboard: {
|
dashboard: {
|
||||||
title: '仪表盘',
|
title: '仪表盘',
|
||||||
description: '查看运行总览',
|
description: '查看所有应用的数据概况',
|
||||||
total_users: '总用户',
|
total_users: '总用户',
|
||||||
total_users_tip: '总用户',
|
total_users_tip: '总用户',
|
||||||
new_users_today: '今日新增',
|
new_users_today: '今日新增',
|
||||||
|
@ -461,7 +461,7 @@ const translation = {
|
||||||
},
|
},
|
||||||
logs: {
|
logs: {
|
||||||
title: '审计日志',
|
title: '审计日志',
|
||||||
subtitle: '查看用户日志',
|
subtitle: '查看用户行为和事件',
|
||||||
event: '事件',
|
event: '事件',
|
||||||
user: '用户',
|
user: '用户',
|
||||||
application: '应用',
|
application: '应用',
|
||||||
|
@ -485,118 +485,117 @@ const translation = {
|
||||||
},
|
},
|
||||||
session_expired: {
|
session_expired: {
|
||||||
title: '会话已过期',
|
title: '会话已过期',
|
||||||
subtitle: '会话可能已过期,您已被登出. 请点击下方按钮重新登录到管理界面.',
|
subtitle: '会话可能已过期,你已被退出登录。请点击下方按钮重新登录到管理控制台。',
|
||||||
button: '重新登录',
|
button: '重新登录',
|
||||||
},
|
},
|
||||||
welcome: {
|
welcome: {
|
||||||
title: '欢迎使用管理控制台',
|
title: '欢迎使用管理控制台',
|
||||||
description:
|
description:
|
||||||
'控制台是一个无需编码要求即可管理 Logto 的 Web 应用。让我们首先创建一个管理员帐户。使用此帐户,您可以自己或代表您的公司管理 Logto。',
|
'管理控制台是一个无代码应用。你可以用它来管理你的登录体验。让我们首先创建一个管理员帐户。你可以用这个账号自己或代表你的公司管理 Logto。',
|
||||||
create_account: '创建账户',
|
create_account: '创建帐户',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
demo_app: {
|
demo_app: {
|
||||||
notification: '请使用管理员账号密码登录本示例应用',
|
notification: '请使用管理员帐号密码登录本示例应用',
|
||||||
title: '恭喜!你已成功登录到示例应用!',
|
title: '恭喜!你已成功登录到示例应用!',
|
||||||
subtitle: '以下是你本次登录的用户信息:',
|
subtitle: '以下是你本次登录的用户信息:',
|
||||||
username: '用户名:',
|
username: '用户名:',
|
||||||
user_id: '用户 ID:',
|
user_id: '用户 ID:',
|
||||||
sign_out: '登出',
|
sign_out: '退出登录',
|
||||||
continue_explore: '或继续探索',
|
continue_explore: '或继续探索',
|
||||||
customize_sign_in_experience: '自定义登录体验',
|
customize_sign_in_experience: '自定义登录体验',
|
||||||
enable_passwordless: '启用无密码登录',
|
enable_passwordless: '启用无密码登录',
|
||||||
add_social_connector: '添加社会化连接器',
|
add_social_connector: '添加社叫连接器',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const errors = {
|
const errors = {
|
||||||
auth: {
|
auth: {
|
||||||
authorization_header_missing: 'Authorization 请求 header 遗漏。',
|
authorization_header_missing: '缺少权限标题',
|
||||||
authorization_token_type_not_supported: '不支持的 authorization 类型。',
|
authorization_token_type_not_supported: '权限类型不支持',
|
||||||
unauthorized: '未授权。请检查相关 credentials 和 scope。',
|
unauthorized: '未经授权。请检查凭据及其范围。',
|
||||||
forbidden: '禁止访问。请检查用户权限。',
|
forbidden: '禁止访问。请检查用户权限。',
|
||||||
jwt_sub_missing: 'JWT 中找不到 `sub`。',
|
jwt_sub_missing: 'JWT 缺失 `sub`',
|
||||||
},
|
},
|
||||||
guard: {
|
guard: {
|
||||||
invalid_input: '请求内容有误。',
|
invalid_input: '请求输入无效',
|
||||||
invalid_pagination: '分页参数有误。',
|
invalid_pagination: '分页参数无效',
|
||||||
},
|
},
|
||||||
oidc: {
|
oidc: {
|
||||||
aborted: '用户终止了交互。',
|
aborted: '用户终止了交互。',
|
||||||
invalid_scope: '不支持的 scope: {{scopes}}。',
|
invalid_scope: '不支持的 scope: {{scopes}}',
|
||||||
invalid_scope_plural: '不支持的 scope: {{scopes}}。',
|
invalid_scope_plural: '不支持的 scope: {{scopes}}',
|
||||||
invalid_token: 'token 无效。',
|
invalid_token: 'Token 无效',
|
||||||
invalid_client_metadata: '无效 client metadata。',
|
invalid_client_metadata: '无效的客户端元数据',
|
||||||
insufficient_scope: '请求 token 缺少一下权限: {{scopes}}。',
|
insufficient_scope: '请求 token 缺少权限: {{scopes}}',
|
||||||
invalid_request: '请求失败。',
|
invalid_request: '请求无效',
|
||||||
invalid_grant: '授权失败。',
|
invalid_grant: '授权请求无效',
|
||||||
invalid_redirect_uri: '无效返回链接, 该 redirect_uri 未被此应用注册。',
|
invalid_redirect_uri: '无效返回链接, 该 redirect_uri 未被此应用注册。',
|
||||||
access_denied: '拒绝访问。',
|
access_denied: '拒绝访问',
|
||||||
invalid_target: '请求资源无效。',
|
invalid_target: '请求资源无效',
|
||||||
unsupported_grant_type: '不支持的 grant_type。',
|
unsupported_grant_type: '不支持的 grant_type',
|
||||||
unsupported_response_mode: '不支持的 response_mode。',
|
unsupported_response_mode: '不支持的 response_mode',
|
||||||
unsupported_response_type: '不支持的 response_type。',
|
unsupported_response_type: '不支持的 response_type',
|
||||||
provider_error: 'OIDC 错误: {{message}}。',
|
provider_error: 'OIDC 内部错误: {{message}}',
|
||||||
},
|
},
|
||||||
user: {
|
user: {
|
||||||
username_exists_register: '用户名已被注册。',
|
username_exists_register: '用户名已被注册',
|
||||||
email_exists_register: '邮箱地址已被注册。',
|
email_exists_register: '邮箱地址已被注册',
|
||||||
phone_exists_register: '手机号码已被注册。',
|
phone_exists_register: '手机号码已被注册',
|
||||||
invalid_email: '邮箱地址不正确。',
|
invalid_email: '邮箱地址不正确',
|
||||||
invalid_phone: '手机号码不正确。',
|
invalid_phone: '手机号码不正确',
|
||||||
email_not_exists: '邮箱地址尚未注册。',
|
username_not_exists: '用户名尚未注册',
|
||||||
phone_not_exists: '手机号码尚未注册。',
|
email_not_exists: '邮箱地址尚未注册',
|
||||||
identity_not_exists: '该社交账号尚未注册。',
|
phone_not_exists: '手机号码尚未注册',
|
||||||
identity_exists: '该社交账号已被注册。',
|
identity_not_exists: '该社交帐号尚未注册',
|
||||||
|
identity_exists: '该社交帐号已被注册',
|
||||||
},
|
},
|
||||||
password: {
|
password: {
|
||||||
unsupported_encryption_method: '不支持的加密方法 {{name}}。',
|
unsupported_encryption_method: '不支持的加密方法 {{name}}',
|
||||||
pepper_not_found: '密码 pepper 未找到。请检查 core 的环境变量。',
|
pepper_not_found: '密码 pepper 未找到。请检查 core 的环境变量。',
|
||||||
},
|
},
|
||||||
session: {
|
session: {
|
||||||
not_found: 'Session not found. Please go back and sign in again.',
|
not_found: '未找到会话。请返回并重新登录。',
|
||||||
invalid_credentials: '用户名或密码错误,请检查您的输入。',
|
invalid_credentials: '用户名或密码错误,请检查你的输入。',
|
||||||
invalid_sign_in_method: '当前登录方式不可用。',
|
invalid_sign_in_method: '当前登录方式不可用',
|
||||||
invalid_connector_id: '无法找到 ID 为 {{connectorId}} 的可用连接器。',
|
invalid_connector_id: '找不到 ID 为 {{connectorId}} 的可用连接器。',
|
||||||
insufficient_info: '登录信息缺失,请检查您的输入。',
|
insufficient_info: '登录信息缺失,请检查你的输入。',
|
||||||
connector_id_mismatch: '传入的连接器 ID 与 session 中保存的记录不一致。',
|
connector_id_mismatch: '传入的连接器 ID 与 session 中保存的记录不一致',
|
||||||
connector_session_not_found: '无法找到连接器登录信息,请尝试重新登录。',
|
connector_session_not_found: '无法找到连接器登录信息,请尝试重新登录。',
|
||||||
unauthorized: '请先登录。',
|
unauthorized: '请先登录',
|
||||||
unsupported_prompt_name: '不支持的 prompt name。',
|
unsupported_prompt_name: '不支持的 prompt name',
|
||||||
},
|
},
|
||||||
connector: {
|
connector: {
|
||||||
general: '连接器发生未知错误。',
|
general: '连接器发生未知错误',
|
||||||
not_found: '找不到可用的 {{type}} 类型的连接器。',
|
not_found: '找不到可用的 {{type}} 类型的连接器',
|
||||||
not_enabled: '连接器尚未启用。',
|
not_enabled: '连接器尚未启用',
|
||||||
insufficient_request_parameters: '请求参数缺失。',
|
insufficient_request_parameters: '请求参数缺失',
|
||||||
invalid_config: '连接器配置错误。',
|
invalid_config: '连接器配置错误',
|
||||||
invalid_response: '连接器错误响应。',
|
invalid_response: '连接器错误响应',
|
||||||
template_not_found: '无法从连接器配置中找到对应的模板。',
|
template_not_found: '无法从连接器配置中找到对应的模板',
|
||||||
invalid_access_token: '当前连接器的 access_token 无效。',
|
invalid_access_token: '当前连接器的 access_token 无效',
|
||||||
invalid_auth_code: '当前连接器的授权码无效。',
|
invalid_auth_code: '当前连接器的授权码无效',
|
||||||
invalid_id_token: '当前连接器的 id_token 无效。',
|
invalid_id_token: '当前连接器的 id_token 无效',
|
||||||
authorization_failed: '用户授权流程失败。',
|
authorization_failed: '用户授权流程失败',
|
||||||
oauth_code_invalid: '无法获取 access_token,请检查授权 code 是否有效。',
|
oauth_code_invalid: '无法获取 access_token,请检查授权 code 是否有效',
|
||||||
more_than_one_sms: '同时存在超过 1 个短信连接器。',
|
more_than_one_sms: '同时存在超过 1 个短信连接器',
|
||||||
more_than_one_email: '同时存在超过 1 个邮件连接器。',
|
more_than_one_email: '同时存在超过 1 个邮件连接器',
|
||||||
db_connector_type_mismatch: '数据库中存在一个类型不匹配的连接器。',
|
db_connector_type_mismatch: '数据库中存在一个类型不匹配的连接。',
|
||||||
},
|
},
|
||||||
passcode: {
|
passcode: {
|
||||||
phone_email_empty: '手机号与邮箱地址均为空。',
|
phone_email_empty: '手机号与邮箱地址均为空',
|
||||||
not_found: '验证码不存在,请先请求发送验证码。',
|
not_found: '验证码不存在,请先请求发送验证码',
|
||||||
phone_mismatch: '手机号码不匹配. 请尝试请求新的验证码。',
|
phone_mismatch: '手机号码不匹配,请尝试请求新的验证码。',
|
||||||
email_mismatch: '邮箱地址不匹配. 请尝试请求新的验证码。',
|
email_mismatch: '邮箱地址不匹配,请尝试请求新的验证码。',
|
||||||
code_mismatch: '验证码不正确。',
|
code_mismatch: '验证码不正确',
|
||||||
expired: '验证码已过期. 请尝试请求新的验证码。',
|
expired: '验证码已过期,请尝试请求新的验证码。',
|
||||||
exceed_max_try: '超过最大验证次数. 请尝试请求新的验证码。',
|
exceed_max_try: '超过最大验证次数,请尝试请求新的验证码。',
|
||||||
},
|
},
|
||||||
sign_in_experiences: {
|
sign_in_experiences: {
|
||||||
empty_content_url_of_terms_of_use:
|
empty_content_url_of_terms_of_use: '你启用了“使用条款”,请添加使用条款 URL。',
|
||||||
'空的《用户协议》内容链接。当启用《用户协议》时,请添加其内容链接。',
|
empty_slogan: '你选择了 App logo + 标语的布局。请输入你的标语。',
|
||||||
empty_slogan: '空的标语。当使用包含标语的 UI 风格时,请添加标语。',
|
empty_social_connectors: '你启用了社交登录的方式。请至少选择一个社交连接器。',
|
||||||
empty_social_connectors:
|
enabled_connector_not_found: '未找到已启用的 {{type}} 连接器',
|
||||||
'空的 social 连接器。当启用社交网络连接器的登录方式时,请添加可用的 social 连接器。',
|
|
||||||
enabled_connector_not_found: '未找到可用的 {{type}} 类型的连接器。',
|
|
||||||
not_one_and_only_one_primary_sign_in_method: '主要的登录方式必须有且仅有一个,请检查你的输入。',
|
not_one_and_only_one_primary_sign_in_method: '主要的登录方式必须有且仅有一个,请检查你的输入。',
|
||||||
},
|
},
|
||||||
swagger: {
|
swagger: {
|
||||||
|
@ -604,10 +603,10 @@ const errors = {
|
||||||
not_supported_zod_type_for_params: '请求参数不支持的 Zod 类型,请检查路由 guard 配置。',
|
not_supported_zod_type_for_params: '请求参数不支持的 Zod 类型,请检查路由 guard 配置。',
|
||||||
},
|
},
|
||||||
entity: {
|
entity: {
|
||||||
create_failed: '创建 {{name}} 失败。',
|
create_failed: '创建 {{name}} 失败',
|
||||||
not_exists: '该 {{name}} 不存在。',
|
not_exists: '该 {{name}} 不存在',
|
||||||
not_exists_with_id: 'ID 为 `{{id}}` 的 {{name}} 不存在。',
|
not_exists_with_id: 'ID 为 `{{id}}` 的 {{name}} 不存在',
|
||||||
not_found: '该资源不存在。',
|
not_found: '该资源不存在',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue