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