Skip to content

Commit

Permalink
Merge pull request #2844 from Patrick-LuoYu/release-3.2
Browse files Browse the repository at this point in the history
docs: Sync zh locale files from master.
  • Loading branch information
ks-ci-bot authored Dec 15, 2021
2 parents 6da2694 + eb009e2 commit def9a70
Show file tree
Hide file tree
Showing 13 changed files with 150 additions and 105 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ module.exports = {
LOG_COLLECTION_ENABLE_TIPS: '新的状态需要 1 分钟左右生效。',
SELECT_STATUS_TIP: '选择一个状态',
// Resource Status
ADRESS: '地址'
};
ADDRESS: '地址',
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ module.exports = {
MONITORING_AND_ALERTING: '监控告警',
// Banner
CLUSTER_STATUS: '集群状态',
MONITORING_CLUSTER_DESC: '集群状态展示集群资源的概览和详情,您可以查看集群资源的监控数据和用量排行情况。',
MONITORING_CLUSTER_DESC:
'集群状态展示集群资源的概览和详情,您可以查看集群资源的监控数据和用量排行情况。',
// Overview > Cluster Node Status
CLUSTER_NODE_STATUS: '集群节点状态',
ALL_NODES: '全部节点',
Expand Down Expand Up @@ -61,7 +62,7 @@ module.exports = {
REQUEST_RATE: '请求 <span>速率</span>',
SCHEDULE_ATTEMPTS_TCAP: '调度 <span>次数</span>',
SCHEDULING_RATE_TCAP: '调度 <span>速率</span>',
API_SERVER: 'API Server',
API_SERVER: 'API 服务器',
// Physical Resource Monitoring
SELECT_TIME_RANGE: '选择时间范围',
LAST_TIME: '最近 {value}',
Expand Down Expand Up @@ -121,5 +122,5 @@ module.exports = {
SORT_BY_NODE_LOAD1: '按 CPU 平均负载排行',
SORT_BY_NAMESPACE_MEMORY_USAGE_WO_CACHE: '按内存用量排行',
POD_USAGE: '容器组用量',
EXPORT: '导出'
};
EXPORT: '导出',
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ module.exports = {
// Details
// Edit
// Delete
CREDENTIAL_LOW: 'credential',
CREDENTIAL_LOW: '凭证',
// Details > Credential
TYPE_VALUE: '类型:{value}',
// Events
RECORD: 'Record'
};
RECORD: '记录',
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@
module.exports = {
// Banner
DEVOPS_PROJECT_ROLE_PL: 'DevOps 项目角色',
DEVOPS_PROJECT_ROLES_DESC: '成员角色定义了在当前 DevOps 项目下用户所拥有的权限。',
DEVOPS_PROJECT_ROLES_DESC:
'成员角色定义了在当前 DevOps 项目下用户所拥有的权限。',
// List
DEVOPS_PROJECT_ROLE_EMPTY_DESC: '请创建一个 DevOps 项目角色。',
ROLE_DEVOPS_VIEWER: '查看 DevOps 项目中的所有资源。',
ROLE_DEVOPS_OPERATOR: '管理 DevOps 凭证和流水线以及查看 DevOps 项目中成员和角色。',
ROLE_DEVOPS_OPERATOR:
'管理 DevOps 凭证和流水线以及查看 DevOps 项目中成员和角色。',
ROLE_DEVOPS_ADMIN: '管理 DevOps 项目中的所有资源。',
// List > Edit Information
// List > Edit Permissions
Expand All @@ -35,6 +37,9 @@ module.exports = {
DEPENDS_ON: '依赖于:',
PIPELINES_MANAGEMENT: '流水线管理',
PIPELINES_VIEW: '流水线查看',
PIPELINERUNS_MANAGEMENT: '流水线执行记录管理',
PIPELINERUNS_VIEW: '流水线执行记录查看',
PIPELINERUNS_VIEW_DESC: '查看 DevOps 项目流水线执行记录。',
PIPELINES_MANAGEMENT_DESC: '创建、编辑和删除 DevOps 项目流水线。',
PIPELINES_VIEW_DESC: '查看 DevOps 项目流水线和下载制品。',
// List > Create > Edit Permissions > Credential Management
Expand All @@ -47,5 +52,5 @@ module.exports = {
ROLES_VIEW: '角色查看',
// List > Create > Edit Permissions > DevOps Settings
DEVOPS_SETTINGS: 'DevOps 项目设置',
DEVOPS_SETTINGS_DESC: '管理 DevOps 项目的设置。'
};
DEVOPS_SETTINGS_DESC: '管理 DevOps 项目的设置。',
}
20 changes: 12 additions & 8 deletions locales/zh/l10n-devopsProjects-pipeline-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ module.exports = {
具体取决于该 agent 部分的放置位置。该部分必须在流水线块内的顶层定义,但 stage 级使用是可选的。`,
CREATE_PIPELINE_DESC: '使用流水线进行构建,测试和部署',
CI: '持续集成 (CI)',
CI_DESC: '持续集成(CI)是在源代码变更后自动检测、拉取、构建和(在大多数情况下)进行单元测试的过程。',
CI_DESC:
'持续集成(CI)是在源代码变更后自动检测、拉取、构建和(在大多数情况下)进行单元测试的过程。',
CICD: '持续集成&交付 (CI/CD)',
CICD_DESC: '持续部署(CD)是指能够自动提供持续交付管道中发布版本给最终用户使用的想法。根据用户的安装方式,在云环境中自动部署、app 升级(如手机上的应用程序)、更新网站或只更新可用版本列表。',
CICD_DESC:
'持续部署(CD)是指能够自动提供持续交付管道中发布版本给最终用户使用的想法。根据用户的安装方式,在云环境中自动部署、app 升级(如手机上的应用程序)、更新网站或只更新可用版本列表。',
CUSTOM_PIPELIEN: '自定义流水线',
CUSTOM_PIPELIEN_DESC: '您可以选择您需要的任务自定义流水线的工作内容',
CC: '抄送',
Expand Down Expand Up @@ -85,7 +87,8 @@ module.exports = {
Controller (不支持滚动更新,如果要使用滚动更新请使用部署)
</li>`,
STAGE: '阶段',
KUBERNETES_DEPLOY_DEPRECATED_TIP: '该步骤会在后续版本中弃用,建议考虑其他替代方案。',
KUBERNETES_DEPLOY_DEPRECATED_TIP:
'该步骤会在后续版本中弃用,建议考虑其他替代方案。',
// Task Status > Edit Jenkinsfile
EDIT_JENKINSFILE: '编辑 Jenkinsfile',
CLOSE_JENKINSFILE_EDITOR_TIP: '确定关闭 Jenkinsfile 编辑器?',
Expand All @@ -106,12 +109,12 @@ module.exports = {
LAST_MESSAGE: '最后消息',
RUN_ID: '运行 ID',
STOP_PIPELINE_SUCCESSFUL: '流水线停止成功。',
INVALID_JENKINSFILE_TIP: '当前 Jenkinsfile 不是标准的声明式 Jenkinsfile,图形化显示不可用。',
INVALID_JENKINSFILE_TIP:
'当前 Jenkinsfile 不是标准的声明式 Jenkinsfile,图形化显示不可用。',
PAUSED: '已暂停',
// Run Records > Run
SET_PARAMETERS: '设置参数',
PARAMS_DESC: `The following parameters are generated based on the pipeline settings or
the parameters section of the Jenkinsfile, which are entered according to operational requirements.`,
PARAMS_DESC: `下列参数是根据流水线设置或 Jenkinsfile 中的 parameters 部分生成的字段,请根据运行需求输入。`,
PIPELINE_RUN_START_SI: '开始运行流水线...',
PIPELINE_RUN_START_PL: '开始运行流水线...',
// Run Records > Run Record Details > Details
Expand All @@ -135,6 +138,7 @@ module.exports = {
BRANCH_PL: '分支',
SCAN_REPOSITORY: '扫描仓库',
PIPELINE: '流水线',
NO_BRANCHES_FOUND: '未找到分支',
// Branches > Code Check
CODE_CHECK: '代码检查',
BUG_PL: '代码错误',
Expand All @@ -152,5 +156,5 @@ module.exports = {
LINE_VALUE: '行:{value}',
PASSED: '已通过',
// Pull Requests
PULL_REQUEST_PL: '拉取请求'
};
PULL_REQUEST_PL: '拉取请求',
}
27 changes: 17 additions & 10 deletions locales/zh/l10n-devopsProjects-pipeline-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ module.exports = {
BRANCH_RETENTION_PERIOD_DAYS: '分支保留天数(天)',
MAXIMUM_BRANCHES: '分支最大数量',
BRANCH_RETENTION_PERIOD_DAYS_DESC: '超过保留期限的分支将被删除。默认值为 7。',
MAXIMUM_BRANCHES_DESC: '当构建记录数量超过允许的最大数量,最早的构建记录将被删除。默认值为 5。',
MAXIMUM_BRANCHES_DESC:
'当构建记录数量超过允许的最大数量,最早的构建记录将被删除。默认值为 5。',
ADD_STRATEGY: '添加策略',
DISCOVER_TAG_BRANCHES: '发现标签',
DISCOVER_BRANCHES: '发现分支',
Expand All @@ -114,8 +115,10 @@ module.exports = {
TIME_TRIGGER_DESC: '定时扫描代码仓库。',
SCAN_INTERVAL: '扫描时间间隔',
SELECT_PIPELINE_SCAP: '选择流水线',
WHEN_DELETE_PIPELINE_DESC: '当有流水线被删除时,将自动触发指定流水线中的任务。',
WHEN_CREATE_PIPELINE_DESC: '当创建新的流水线时,将自动触发指定流水线中的任务。',
WHEN_DELETE_PIPELINE_DESC:
'当有流水线被删除时,将自动触发指定流水线中的任务。',
WHEN_CREATE_PIPELINE_DESC:
'当创建新的流水线时,将自动触发指定流水线中的任务。',
PIPELINE_EVENT_TRIGGER: '通过流水线事件触发',
WHEN_CREATE_PIPELINE: '创建流水线时触发',
WHEN_DELETE_PIPELINE: '删除流水线时触发',
Expand All @@ -134,17 +137,20 @@ module.exports = {
OPTIONS: '备用选项',
BUILD_SETTINGS: '构建设置',
DELETE_OUTDATED_BUILD_RECORDS: '删除过期构建记录',
DELETE_OUTDATED_BUILD_RECORDS_TIP: `Set the system to automatically delete outdated build records including console output, archived artifacts, and metadata to save disk space.`,
DELETE_OUTDATED_BUILD_RECORDS_TIP: `设置系统自动删除过期的控制台输出、归档制品、元数据等构建记录以节省磁盘空间。`,
BUILD_RECORD_RETENTION_PERIOD_DAYS: '构建记录保留期限(天)',
BUILD_RECORD_RETENTION_PERIOD_DAYS_DESC: '超过保留期限的构建记录将被删除。默认值为 7。',
BUILD_RECORD_RETENTION_PERIOD_DAYS_DESC:
'超过保留期限的构建记录将被删除。默认值为 7。',
MAXIMUM_BUILD_RECORDS: '构建记录最大数量',
MAXIMUM_BUILD_RECORDS_DESC: '当构建记录数量超过允许的最大数量,最早的构建记录将被删除。默认值为 10。',
MAXIMUM_BUILD_RECORDS_DESC:
'当构建记录数量超过允许的最大数量,最早的构建记录将被删除。默认值为 10。',
NO_CONCURRENT_BUILDS: '不允许并发构建',
NO_CONCURRENT_BUILD_DESC: '设置流水线一次仅执行一个构建任务。',
BUILD_PARAMETERS: '构建参数',
BUILD_PARAMETERS_TIP: '向流水线传入构建参数。',
PARAMS_STRING: '字符串 ',
PIPELINE_PARAM_DEFAULT_DESC: '设置参数的的默认值。您可以在手动运行流水线前修改参数值。',
PIPELINE_PARAM_DEFAULT_DESC:
'设置参数的的默认值。您可以在手动运行流水线前修改参数值。',
PARAMS_TEXT: '多行字符串',
PARAMS_TEXT_TCAP: '多行字符串',
PARAMETER_DESCRIPTION_DESC: '设置参数的描述。',
Expand All @@ -156,7 +162,8 @@ module.exports = {
BUILD_PERIODICALLY: '定时构建',
BUILD_PERIODICALLY_TIP: '设置流水线定期执行构建任务。',
PIPELINE_CRON_DESC: '流水线下次将在 {nextTime} 运行。',
PIPELINE_SCHEDULE_DESC: '输入 CRON 表达式以设置定时计划。<a href="//jenkins.io/doc/book/pipeline/syntax/#cron-syntax" target="_blank">了解更多</a>',
PIPELINE_SCHEDULE_DESC:
'输入 CRON 表达式以设置定时计划。<a href="//jenkins.io/doc/book/pipeline/syntax/#cron-syntax" target="_blank">了解更多</a>',
DEFAULT_VALUE: '默认值',
PARAMETER_NAME_EMPTY_DESC: '请设置参数的名称。'
};
PARAMETER_NAME_EMPTY_DESC: '请设置参数的名称。',
}
85 changes: 46 additions & 39 deletions locales/zh/l10n-projects-applicationWorkloads-services-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,41 @@
*/
module.exports = {
// Banner
SERVICE_TYPES_Q: 'What service types does KubeSphere support?',
SERVICE_TYPES_A: 'KubeSphere supports stateless services and stateful services. Pod replicas in a stateless service share the same volume, while each pod replica in a stateful service has an independent volume.',
SCENARIOS_FOR_SERVICES_Q: 'What are the use cases of stateless services and stateful services?',
SCENARIOS_FOR_SERVICES_A: 'Stateless services applies to scenarios where data persistence is not required, such as Nginx and Tomcat. Stateful services applies to scenarios where data persistence is required, such as MySQL databases, Kafka, and Zookeeper.',
SERVICE_TYPES_Q: 'KubeSphere 支持哪些服务类型?',
SERVICE_TYPES_A:
'KubeSphere 支持无状态服务和有状态服务。无状态服务中的多个容器组副本共享一个存储卷,有状态服务中的每个容器组副本都拥有独立的存储卷。',
SCENARIOS_FOR_SERVICES_Q: '无状态服务和有状态服务分别适用于哪些场景?',
SCENARIOS_FOR_SERVICES_A:
'无状态服务适用于不需要数据持久化的场景,例如 Nginx 和 Tomcat。有状态服务适用于需要数据持久化的场景,例如 MySQL 数据库、Kafka 和 ZooKeeper。',
// Service List
SERVICE_TYPE: 'Service Type',
SERVICE_LIST: 'Service List',
SERVICE_TYPE: '服务类型',
SERVICE_LIST: '服务列表',
// List > Create
CREATE_SERVICE_DESC: 'Select a service creation method.',
SELECT_SERVICE_TYPE_DESC: 'Create a stateless or stateful service, or map a service to an external service.',
SERVICE_FROM_CODE: 'Create Service from Source Code',
SERVICE_FROM_ARTIFACT: 'Create Service from Artifact',
SERVICE_FROM_CODE_DESC: 'Build an image from existing source code and deploy the image.',
SERVICE_FROM_ARTIFACT_DESC: 'Build an image from an existing artifact and deploy the image.',
CUSTOMIZE_SERVICE: 'Customize Service',
CUSTOMIZE_SERVICE_DESC: 'Specify workloads or edit a YAML configuration file to create a service.',
CREATE_SERVICE_DESC: '选择创建服务的方式。',
SELECT_SERVICE_TYPE_DESC:
'创建一个无状态或有状态服务,或将一个服务映射到外部服务。',
SERVICE_FROM_CODE: '通过代码创建服务',
SERVICE_FROM_ARTIFACT: '通过制品创建服务',
SERVICE_FROM_CODE_DESC: '将现有的代码构建成镜像并部署。',
SERVICE_FROM_ARTIFACT_DESC: '将现有的制品构建成镜像并部署。',
CUSTOMIZE_SERVICE: '自定义服务',
CUSTOMIZE_SERVICE_DESC: '通过指定工作负载或编辑 YAML 配置文件来创建服务。',
// List > Create > Select Service Type > Stateless Service > Pod Settings > Port Settings
PORT_INPUT_DESC: 'The port name already exists. Please enter another name.',
PORT_NAME_DESC: 'The port name can contain only lowercase letters, numbers, and hyphens (-) and must start and end with a lowercase letter or number. The maximum length is 63 characters.',
PORT_INPUT_DESC: '端口名称已存在,请输入其他名称。',
PORT_NAME_DESC:
'端口名称只能包含小写字母、数字和连字符(-),必须以小写字母或数字开头和结尾,最长 63 个字符。',
// List > Create > Select Service Type > Stateful Service
// List > Create > Select Service Type > External Service
CREATE_EXTERNAL_SERVICE_DESC: 'Create a service and map it to an external service.',
CREATE_EXTERNAL_SERVICE: 'Create External Service',
EXTERNAL_SERVICE_ADDRESS_EMPTY_DESC: 'Please enter the domain name of an external service.',
EXTERNAL_SERVICE_ADDRESS: 'External Service Address',
EXTERNAL_SERVICE_ADDRESS_DESC: 'Enter the domain name of an external service.',
CREATE_EXTERNAL_SERVICE_DESC: '创建一个服务并将其映射到一个外部服务。',
CREATE_EXTERNAL_SERVICE: '创建外部服务',
EXTERNAL_SERVICE_ADDRESS_EMPTY_DESC: '请输入外部服务的域名。',
EXTERNAL_SERVICE_ADDRESS: '外部服务地址',
EXTERNAL_SERVICE_ADDRESS_DESC: '输入外部服务的域名。',
// List > Create > Create Service from Source Code
JAVA: 'Java',
NODEJS: 'Node.js',
PYTHON: 'Python',
LANGUAGE_TYPE_VALUE: 'Language Type: {value}',
LANGUAGE_TYPE_VALUE: '语言类型:{value}',
// List > Create > Create Service from Source Code > Java > Basic Information
// List > Create > Create Service from Source Code > Java > Build Settings
// List > Create > Create Service from Source Code > Java > Pod Settings
Expand All @@ -56,7 +60,7 @@ module.exports = {
// List > Create > Create Service from Source Code > Node.js > Basic Information
// List > Create > Create Service from Source Code > Node.js > Build Settings
// List > Create > Create Service from Source Code > Node.js > Pod Settings
CONTAINER_SETTINGS: 'Container Settings',
CONTAINER_SETTINGS: '容器设置',
// List > Create > Create Service from Source Code > Node.js > Volume Settings
// List > Create > Create Service from Source Code > Node.js > Advanced Settings
// List > Create > Create Service from Source Code > Python > Basic Information
Expand All @@ -65,7 +69,7 @@ module.exports = {
// List > Create > Create Service from Source Code > Python > Volume Settings
// List > Create > Create Service from Source Code > Python > Advanced Settings
// List > Create > Create Service from Artifact
ARTIFACT_TYPE_VALUE: 'Artifact Type: {value}',
ARTIFACT_TYPE_VALUE: '制品类型:{value}',
// List > Create > Create Service from Artifact > JAR > Basic Information
// List > Create > Create Service from Artifact > JAR > Build Settings
// List > Create > Create Service from Artifact > JAR > Pod Settings
Expand All @@ -77,31 +81,34 @@ module.exports = {
// List > Create > Create Service from Artifact > WAR > Volume Settings
// List > Create > Create Service from Artifact > WAR > Advanced Settings
// List > Create > Create Service from Artifact > Binary > Basic Information
BINARY: 'Binary',
BINARY: '二进制',
// List > Create > Create Service from Artifact > Binary > Build Settings
// List > Create > Create Service from Artifact > Binary > Pod Settings
// List > Create > Create Service from Artifact > Binary > Volume Settings
// List > Create > Create Service from Artifact > Binary > Advanced Settings
// List > Create > Customize Service > Specify Workload > Basic Information
SPECIFY_WORKLOAD_TO_CREATE_SERVICE: 'Specify Workload to Create Service',
EDIT_YAML_TO_CREATE_SERVICE: 'Edit YAML to Create Service',
SPECIFY_WORKLOAD_DESC: 'Create a service by using one or more existing workloads.',
SPECIFY_WORKLOAD_TO_CREATE_SERVICE: '指定工作负载创建服务',
EDIT_YAML_TO_CREATE_SERVICE: '编辑 YAML 创建服务',
SPECIFY_WORKLOAD_DESC: '使用一个或多个现有的工作负载创建来创建服务。',
// List > Create > Customize Service > Specify Workload > Service Settings
// List > Create > Customize Service > Specify Workload > Advanced Settings
// List > Edit Information
// List > Edit YAML
// List > Edit Service
// List > Edit External Access
// List > Delete
NO_RELATED_RESOURCE_FOUND: 'No Related Resource Found',
NO_SERVICE_RELATED_RESOURCE_DESC: 'No resource related to the service is found.',
DELETE_SERVICE_DESC: 'You are about to delete the service(s) {resource}. Please confirm whether to delete the associated resource?',
DELETE_SERVICE_DESC_PL: 'You are about to delete the services {resource}.<br/>Do you want to also delete the following resources related to the services?',
DELETE_SERVICE_DESC_SI: 'You are about to delete the ervice {resource}.<br/>Do you want to also delete the following resource related to the service?',
DELETE_SERVICE: 'Delete Service',
DELETE_MULTIPLE_SERVICES: 'Delete Multiple Services',
NO_RELATED_RESOURCE_FOUND: '没有关联的资源',
NO_SERVICE_RELATED_RESOURCE_DESC: '当前服务没有关联的资源。',
DELETE_SERVICE_DESC:
'您即将删除服务 {resource}。请确认是否同时删除关联资源?',
DELETE_SERVICE_DESC_PL:
'您即将删除服务 {resource}。<br/>请确认是否同时删除以下与服务关联的资源?',
DELETE_SERVICE_DESC_SI:
'您即将删除服务 {resource}。<br/>请确认是否同时删除以下与服务关联的资源?',
DELETE_SERVICE: '删除服务',
DELETE_MULTIPLE_SERVICES: '批量删除服务',
// Service Topology
SERVICE_TOPOLOGY: 'Service Topology',
AUTO_REFRESH: 'Auto Refresh',
POD_COUNT_VALUE: 'Pods: {value}'
};
SERVICE_TOPOLOGY: '服务拓扑',
AUTO_REFRESH: '自动更新',
POD_COUNT_VALUE: '容器组数量:{value}',
}
Loading

0 comments on commit def9a70

Please sign in to comment.