0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

chore(console): translation updates

content updates for CN
This commit is contained in:
Guamian Li 2022-06-02 15:03:17 +08:00 committed by Charles Zhao
parent c084b442ae
commit 0d942de054
No known key found for this signature in database
GPG key ID: 4858774754C92DF2

View file

@ -105,7 +105,7 @@ const translation = {
}, },
form: { form: {
required: '必填', required: '必填',
add_another: '+ 添加其', add_another: '+ 添加其',
confirm: '注意', confirm: '注意',
cancel: '取消', cancel: '取消',
delete: '删除', delete: '删除',
@ -143,29 +143,27 @@ const translation = {
}, },
applications: { applications: {
title: '应用集', title: '应用集',
subtitle: subtitle: '创建一个移动、单页或传统应用程序,并通过 Logto 进行身份验证.',
'Setup a mobile, single page or traditional application to use Logto for authentication.', create: '创建应用',
create: 'Create Application', application_name: '应用名称',
application_name: 'Application Name', application_description: '应用描述',
application_description: 'Application Description', select_application_type: '选择一个应用类型',
select_application_type: 'Select an application type', no_application_type_selected: '你还没有选用任意一种应用类型.',
no_application_type_selected: 'You have to select an application type to proceed.', application_created: '应用 {{name}} 成功创建! \n现在请完成你的应用设置.',
application_created:
'The application {{name}} has been successfully created! \nNow finish your application settings.',
client_id: 'Client ID', client_id: 'Client ID',
type: { type: {
native: { native: {
title: 'Native App', title: '原生应用',
subtitle: 'Mobile, desktop, CLI and smart device apps running natively.', subtitle: 'Mobile, desktop, CLI and smart device apps running natively.',
description: 'E.g.: iOS, Electron, Apple TV apps', description: 'E.g.: iOS, Electron, Apple TV apps',
}, },
spa: { spa: {
title: 'Single Page App', title: '单页应用',
subtitle: 'A JavaScript front-end app that uses an API.', subtitle: 'A JavaScript front-end app that uses an API.',
description: 'E.g.: Angular, React, Vue', description: 'E.g.: Angular, React, Vue',
}, },
traditional: { traditional: {
title: 'Traditional Web', title: '传统网页应用',
subtitle: 'Traditional web app using redirects.', subtitle: 'Traditional web app using redirects.',
description: 'E.g.: Node.js, Express, ASP.NET, Java, PHP', description: 'E.g.: Node.js, Express, ASP.NET, Java, PHP',
}, },
@ -181,61 +179,61 @@ const translation = {
}, },
application_details: { application_details: {
back_to_applications: '返回应用集', back_to_applications: '返回应用集',
check_help_guide: 'Check Help Guide', check_help_guide: '查看帮助引导',
settings: 'Settings', settings: '设置',
advanced_settings: 'Advanced Settings', advanced_settings: '高级设置',
application_name: 'Application Name', application_name: '应用名称',
description: 'Description', description: '描述',
authorization_endpoint: 'Authorization Endpoint', authorization_endpoint: 'Authorization Endpoint',
redirect_uri: 'Redirect URI', redirect_uri: 'Redirect URI',
post_sign_out_redirect_uri: 'Post Sign Out Redirect URI', post_sign_out_redirect_uri: 'Post Sign Out Redirect URI',
cors_allowed_origins: 'CORS Allowed Origins', cors_allowed_origins: 'CORS Allowed Origins',
add_another: 'Add another', add_another: '继续添加',
id_token_expiration: 'ID Token Expiration', id_token_expiration: 'ID Token Expiration',
refresh_token_expiration: 'Refresh Token Expiration', refresh_token_expiration: 'Refresh Token Expiration',
token_endpoint: 'Token Endpoint', token_endpoint: 'Token Endpoint',
user_info_endpoint: 'User Info Endpoint', user_info_endpoint: 'User Info Endpoint',
save_changes: 'Save Changes', save_changes: '保存修改',
more_options: 'MORE OPTIONS', more_options: '更多选项',
options_delete: 'Delete', options_delete: '删除',
reminder: 'Reminder', reminder: '提示',
delete_description: delete_description:
'This action cannot be undone. This will permanently delete the this application. Please enter the application name <span>{{name}}</span> to proceed.', '此项操作不可撤销。他将会永久性地删除此应用。请输入 <span>{{name}}</span> 以确认.',
enter_your_application_name: 'Enter your application name', enter_your_application_name: '输入你的应用名称',
cancel: 'Cancel', cancel: '取消',
delete: 'Delete', delete: '删除',
application_deleted: 'The application {{name}} deleted.', application_deleted: '应用 {{name}} 成功删除.',
save_success: 'Saved!', save_success: '已保存!',
redirect_uri_required: 'You have to enter at least one redirect URI.', redirect_uri_required: 'You have to enter at least one redirect URI.',
}, },
api_resources: { api_resources: {
title: 'API Resources', title: 'API 资源',
subtitle: 'Define APIs that you can consume from your authorized applications.', subtitle: '定义可以从已授权的应用程序中使用的 API.',
create: 'Create API Resource', create: '创建 API 资源',
api_name: 'API Name', api_name: 'API 名称',
api_identifier: 'API Identifier', api_identifier: 'API Identifier',
api_resource_created: 'The API resource {{name}} has been successfully created!', api_resource_created: ' API 资源 {{name}} 已被成功创建!',
}, },
api_resource_details: { api_resource_details: {
back_to_api_resources: 'Back to my API resources', back_to_api_resources: '返回我的 API 资源',
check_help_guide: 'Check Help Guide', check_help_guide: '查看帮助引导',
more_options: 'MORE OPTIONS', more_options: '更多选项',
options_delete: 'Delete', options_delete: '删除',
settings: 'Settings', settings: '设置',
save_changes: 'Save Changes', save_changes: 'Save Changes',
token_expiration_time_in_seconds: 'Token Expiration Time (in seconds)', token_expiration_time_in_seconds: 'Token Expiration Time (in seconds)',
reminder: 'Reminder', reminder: '提示',
delete_description: delete_description:
'This action cannot be undone. This will permanently delete the this API resource. Please enter the api resource name <span>{{name}}</span> to proceed.', '此项操作不可撤销。他将会永久性地删除此 API 资源。请输入 API 资源名称 <span>{{name}}</span> 以确认.',
enter_your_api_resource_name: 'Enter your API resource name', enter_your_api_resource_name: '输入 API 资源名称',
cancel: 'Cancel', cancel: '取消',
delete: 'Delete', delete: '删除',
api_resource_deleted: 'The API Resource {{name}} deleted.', api_resource_deleted: ' API 资源 {{name}} 已删除.',
save_success: 'Saved!', save_success: '已保存!',
}, },
connectors: { connectors: {
title: '连接器', title: '连接器',
subtitle: 'Setup connectors to enable passwordless and social sign in experience.', subtitle: '设置连接器,开启无密码和社会化登录。',
create: '添加社会化登录', create: '添加社会化登录',
added: '已添加', added: '已添加',
set_up: '设置', set_up: '设置',
@ -295,28 +293,23 @@ const translation = {
progress: '开始使用: {{completed}}/{{total}}', progress: '开始使用: {{completed}}/{{total}}',
progress_dropdown_title: '快速上手', progress_dropdown_title: '快速上手',
title: '还不知道如何使用 Logto?', title: '还不知道如何使用 Logto?',
subtitle_part1: '下列是一些适合您快速上手的事情', subtitle_part1: '下列是一些适合您快速上手的事情,您可以更好得感受 Logto 的价值。',
subtitle_part2: '这配置页面我要看吐了,', subtitle_part2: '我已经完成了这些设置。',
hide_this: '退下!', hide_this: '隐藏引导',
confirm: '确认提醒', confirm: '确认提醒',
confirm_message: '您确认要隐藏该页面吗? 本操作将无法恢复。', confirm_message: '您确认要隐藏该页面吗? 本操作将无法恢复。',
card1_title: 'Logto 是您没有使用过的全新身份管理工具,来看看我们的 Demo 吧', card1_title: '看看 Demo',
card1_subtitle: card1_subtitle: '试试 Logto 登录体验,来看看它是怎样运行的。',
'无论是 mobile 应用SPA web 还是传统 web 应用,您都可以使用 Logto快速创建和管理身份实现登录验证服务。', card2_title: '创建你的第一款应用',
card2_title: '快来创建您的第一款应用吧', card2_subtitle: '创建一个移动、单页或传统应用程序,并通过 Logto 进行身份验证。',
card2_subtitle: card3_title: '实现手机和邮箱验证登录',
'Setup a mobile, single page or traditional application to use Logto for Authentication.', card3_subtitle: '尝试无密码登录,赋予用户一个安全无缝的体验。',
card3_title: '轻松配置连接器,实现无密码登录', card4_title: '添加社会化连接器',
card3_subtitle: card4_subtitle: '让你的用户通过社交账号一键登录',
'Setup a mobile, single page or traditional application to use Logto for Authentication.', card5_title: '自定义你的登录体验',
card4_title: '轻松连接社会化平台,一键登录', card5_subtitle: '自定义符合品牌形象的登录界面,并实时预览真实效果。',
card4_subtitle: card6_title: '更多阅读',
'With this step, users can use email or phone numbers to sign in without a password or use social identity to sign in.', card6_subtitle: '查看我们一步一步,基于场景的引导。没有复杂的概念,简单上手。',
card5_title: '自定义您的 sign-in experience',
card5_subtitle:
'Customize the sign in UI and branding. This is what the end user will see on the app side.',
card6_title: 'Further readings',
card6_subtitle: 'Learn more about Logto and how to use it.',
}, },
users: { users: {
title: '用户管理', title: '用户管理',
@ -341,7 +334,7 @@ const translation = {
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: '用户已成功删除。',
@ -376,112 +369,108 @@ const translation = {
}, },
}, },
contact: { contact: {
title: 'Contact us', title: '联系我们',
description: 'You can contact us for help and support.', description:
'加入我们的社区,在这里你可以给我们提供产品建议,寻求帮助或和其他开发者友好交流.',
discord: { discord: {
title: 'Discord Channel', title: 'Discord 频道',
description: 'Join our public channel to chat with developers.', description: 'Join our public channel to chat with developers.',
button: 'Join', button: '立即加入',
}, },
github: { github: {
title: 'GitHub', title: 'GitHub',
description: 'Create an issue.', description: 'Create an issue.',
button: 'Contact', button: '马上联系',
}, },
email: { email: {
title: 'Send us an email', title: '通过邮件联系',
description: 'If you have any question.', description: 'If you have any question.',
button: 'Send', button: '发送邮件',
}, },
}, },
sign_in_exp: { sign_in_exp: {
title: 'Sign-in Experience', title: '登录体验',
description: 'Customize the sign in experience.', description: '自定义登录界面,并实时预览真实效果。',
tabs: { tabs: {
experience: 'Experience', experience: '体验',
methods: 'Sign in methods', methods: '登录方式',
others: 'Others', others: '其它',
}, },
welcome: { welcome: {
title: title: '这是你首次定义你的登录体验。请跟随教程,完成登录体验的必要设置项。',
'This is the first time you define your sign in experience. Follow the step by step guide and go through all of settings.',
get_started: '开始', get_started: '开始',
apply_remind: 'Sign in experience will apply to all applications under this account', apply_remind: '请注意,登录体验将会应用到当前账户下的所有应用。',
got_it: 'Got it', got_it: '知道了',
}, },
branding: { branding: {
title: 'BRANDING', title: '品牌',
primary_color: 'Primary color', primary_color: '品牌颜色',
dark_primary_color: 'Primary color (Dark)', dark_primary_color: '品牌颜色 (暗黑)',
dark_mode: 'Enable Dark Mode', dark_mode: '开启暗黑模式',
dark_mode_description: dark_mode_description:
'Enabling this setting will auto generate the dark mode color. You app wont have dark mode if its turned off.', '基于你的品牌颜色和 Logto 的算法,你的应用将会有一个自动生成的暗黑模式。当然,你可以自定义和修改。',
ui_style: 'Define your UI style', ui_style: '品牌定制区',
styles: { styles: {
logo_slogan: 'Logo + slogan', logo_slogan: 'App logo 和标语',
logo: 'Logo', logo: '仅有Logo',
}, },
logo_image_url: 'Logo image URL', logo_image_url: 'Logo 图片 URL',
dark_logo_image_url: 'Logo image URL (Dark)', dark_logo_image_url: 'Logo 图片 URL (暗黑)',
slogan: 'Slogan', slogan: '标语',
slogan_placeholder: 'Unleash your creativity', slogan_placeholder: 'Unleash your creativity',
}, },
terms_of_use: { terms_of_use: {
title: 'TERMS OF USE', title: '使用条款',
enable: 'Enable Terms of use', enable: '开启使用条款',
description: description: '添加使用您的产品的法律协议。它们充当产品和用户之间的合同。',
'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. ', terms_of_use: '使用条款',
terms_of_use: 'Terms of use', terms_of_use_placeholder: '使用条款 URL',
terms_of_use_placeholder: 'Terms of use url', terms_of_use_tip: '使用条款 URL',
terms_of_use_tip: 'Terms of use url',
}, },
sign_in_methods: { sign_in_methods: {
title: '登录方式', title: '登录方式',
primary: '首选登录方式', primary: '首选登录方式',
enable_secondary: '启用其登录方式', enable_secondary: '启用其登录方式',
enable_secondary_description: enable_secondary_description:
"Once it's turned on, you app will support more sign in method(s) besides the primary one. ", '开启后,除了首选登录方式,你的 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 sign in methods', define_social_methods: '定义社会化登录方式',
transfer: { transfer: {
title: 'Social connectors', title: '社会化连接器',
footer: { footer: {
not_in_list: 'Not in the list?', not_in_list: '不在列表里?',
set_up_more: 'Set up more', set_up_more: '设置更多',
go_to: 'social connectors or go to “Connectors” section.', go_to: '连接器,或前往连接器模块',
}, },
}, },
}, },
others: { others: {
languages: { languages: {
title: 'LANGUAGES', title: '语言',
mode: 'Language mode', mode: '语言模式',
auto: 'Auto', auto: '自动',
fixed: 'Fixed', fixed: '固定',
fallback_language: 'Fallback language', fallback_language: 'Fallback language',
fixed_language: 'Fixed language', fixed_language: 'Fixed language',
languages: { languages: {
english: 'English', english: '英文',
chinese: 'Chinese', chinese: '中文',
}, },
}, },
}, },
setup_warning: { setup_warning: {
setup: '设置', setup: '设置',
no_connector: '', no_connector: '',
no_connector_sms: no_connector_sms: '你还没有设置 SMS 连接器。你需完成设置后登录体验才会生效。',
'You havent set up SMS connectors yet. Your sign in experience wont go live until you finish the settings first. ', no_connector_email: '你还没有设置 Email 连接器。你需完成设置后登录体验才会生效。',
no_connector_email: no_connector_social: '你还没有设置社会化连接器。你需完成设置后登录体验才会生效。',
'You havent set up Email connectors yet. Your sign in experience wont go live until you finish the settings first. ',
no_connector_social:
'You havent set up any social connectors yet. Your sign in experience wont go live until you finish the settings first. ',
no_added_social_connector: no_added_social_connector:
'Youve set up a few social connectors now. Make sure to add some to your sign in experience. Drag and drop to change the order.', '你已经成功设置了一些社会化连接器。确认添加一些到你的登录体验。你可以拖拽改变他们的顺序。',
}, },
save_alert: { save_alert: {
title: '提示', title: '提示',
@ -490,10 +479,10 @@ const translation = {
after: '修改后', after: '修改后',
}, },
preview: { preview: {
title: 'Sign in preview', title: '登录预览',
languages: { languages: {
english: 'English', english: '英文',
chinese: 'Chinese', chinese: '中文',
}, },
dark: 'Dark', dark: 'Dark',
light: 'Light', light: 'Light',
@ -515,7 +504,7 @@ const translation = {
appearance: '外观', appearance: '外观',
appearance_system: '跟随系统', appearance_system: '跟随系统',
appearance_light: '浅色模式', appearance_light: '浅色模式',
appearance_dark: '深色模式', appearance_dark: '暗黑模式',
saved: '已保存', saved: '已保存',
}, },
dashboard: { dashboard: {
@ -593,8 +582,8 @@ const errors = {
not_found: 'Session not found. Please go back and sign in again.', not_found: 'Session not found. Please go back and sign in again.',
invalid_credentials: '用户名或密码错误,请检查您的输入。', invalid_credentials: '用户名或密码错误,请检查您的输入。',
invalid_sign_in_method: '当前登录方式不可用。', invalid_sign_in_method: '当前登录方式不可用。',
insufficient_info: '登录信息缺失,请检查您的输入。',
invalid_connector_id: '无法找到 ID 为 {{connectorId}} 的可用连接器。', invalid_connector_id: '无法找到 ID 为 {{connectorId}} 的可用连接器。',
insufficient_info: '登录信息缺失,请检查您的输入。',
connector_id_mismatch: '传入的连接器 ID 与 session 中保存的记录不一致。', connector_id_mismatch: '传入的连接器 ID 与 session 中保存的记录不一致。',
connector_session_not_found: '无法找到连接器登录信息,请尝试重新登录。', connector_session_not_found: '无法找到连接器登录信息,请尝试重新登录。',
unauthorized: '请先登录。', unauthorized: '请先登录。',