From eb009e258e85681f15230beab5dd904c6fa2df0a Mon Sep 17 00:00:00 2001 From: Patrick-LuoYu Date: Tue, 14 Dec 2021 12:01:12 +0800 Subject: [PATCH] Sync zh locale files from master. Signed-off-by: Patrick-LuoYu --- ...nt-clusterSettings-logReceivers-details.js | 4 +- ...ement-monitoring&Alerting-clusterStatus.js | 9 +- ...vopsProjectSettings-credentials-details.js | 6 +- ...ProjectSettings-devopsProjectRoles-list.js | 13 ++- .../l10n-devopsProjects-pipeline-details.js | 20 +++-- .../zh/l10n-devopsProjects-pipeline-list.js | 27 +++--- ...ects-applicationWorkloads-services-list.js | 85 ++++++++++--------- locales/zh/l10n-projects-overview.js | 12 ++- ...ojects-projectSettings-basicInformation.js | 18 ++-- ...ts-projectSettings-gatewaySettings-list.js | 13 +-- ...jects-projectSettings-projectRoles-list.js | 25 ++++-- .../zh/l10n-toobox-auditLogSearch-details.js | 8 +- ...onStatistics-clusterResourceConsumption.js | 15 ++-- 13 files changed, 150 insertions(+), 105 deletions(-) diff --git a/locales/zh/l10n-clusterManagement-clusterSettings-logReceivers-details.js b/locales/zh/l10n-clusterManagement-clusterSettings-logReceivers-details.js index 19aa9dbd85a..8257edc3c9e 100644 --- a/locales/zh/l10n-clusterManagement-clusterSettings-logReceivers-details.js +++ b/locales/zh/l10n-clusterManagement-clusterSettings-logReceivers-details.js @@ -23,5 +23,5 @@ module.exports = { LOG_COLLECTION_ENABLE_TIPS: '新的状态需要 1 分钟左右生效。', SELECT_STATUS_TIP: '选择一个状态', // Resource Status - ADRESS: '地址' -}; \ No newline at end of file + ADDRESS: '地址', +} diff --git a/locales/zh/l10n-clusterManagement-monitoring&Alerting-clusterStatus.js b/locales/zh/l10n-clusterManagement-monitoring&Alerting-clusterStatus.js index de6b7b6dd21..c850b0271a0 100644 --- a/locales/zh/l10n-clusterManagement-monitoring&Alerting-clusterStatus.js +++ b/locales/zh/l10n-clusterManagement-monitoring&Alerting-clusterStatus.js @@ -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: '全部节点', @@ -61,7 +62,7 @@ module.exports = { REQUEST_RATE: '请求 速率', SCHEDULE_ATTEMPTS_TCAP: '调度 次数', SCHEDULING_RATE_TCAP: '调度 速率', - API_SERVER: 'API Server', + API_SERVER: 'API 服务器', // Physical Resource Monitoring SELECT_TIME_RANGE: '选择时间范围', LAST_TIME: '最近 {value}', @@ -121,5 +122,5 @@ module.exports = { SORT_BY_NODE_LOAD1: '按 CPU 平均负载排行', SORT_BY_NAMESPACE_MEMORY_USAGE_WO_CACHE: '按内存用量排行', POD_USAGE: '容器组用量', - EXPORT: '导出' -}; \ No newline at end of file + EXPORT: '导出', +} diff --git a/locales/zh/l10n-devopsProjects-devopsProjectSettings-credentials-details.js b/locales/zh/l10n-devopsProjects-devopsProjectSettings-credentials-details.js index 6a147ec823c..bd46fbb011a 100644 --- a/locales/zh/l10n-devopsProjects-devopsProjectSettings-credentials-details.js +++ b/locales/zh/l10n-devopsProjects-devopsProjectSettings-credentials-details.js @@ -20,9 +20,9 @@ module.exports = { // Details // Edit // Delete - CREDENTIAL_LOW: 'credential', + CREDENTIAL_LOW: '凭证', // Details > Credential TYPE_VALUE: '类型:{value}', // Events - RECORD: 'Record' -}; \ No newline at end of file + RECORD: '记录', +} diff --git a/locales/zh/l10n-devopsProjects-devopsProjectSettings-devopsProjectRoles-list.js b/locales/zh/l10n-devopsProjects-devopsProjectSettings-devopsProjectRoles-list.js index 56958a112ae..3b111d4038d 100644 --- a/locales/zh/l10n-devopsProjects-devopsProjectSettings-devopsProjectRoles-list.js +++ b/locales/zh/l10n-devopsProjects-devopsProjectSettings-devopsProjectRoles-list.js @@ -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 @@ -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 @@ -47,5 +52,5 @@ module.exports = { ROLES_VIEW: '角色查看', // List > Create > Edit Permissions > DevOps Settings DEVOPS_SETTINGS: 'DevOps 项目设置', - DEVOPS_SETTINGS_DESC: '管理 DevOps 项目的设置。' -}; \ No newline at end of file + DEVOPS_SETTINGS_DESC: '管理 DevOps 项目的设置。', +} diff --git a/locales/zh/l10n-devopsProjects-pipeline-details.js b/locales/zh/l10n-devopsProjects-pipeline-details.js index a78d49e75af..04d26219ea3 100644 --- a/locales/zh/l10n-devopsProjects-pipeline-details.js +++ b/locales/zh/l10n-devopsProjects-pipeline-details.js @@ -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: '抄送', @@ -85,7 +87,8 @@ module.exports = { Controller (不支持滚动更新,如果要使用滚动更新请使用部署) `, STAGE: '阶段', - KUBERNETES_DEPLOY_DEPRECATED_TIP: '该步骤会在后续版本中弃用,建议考虑其他替代方案。', + KUBERNETES_DEPLOY_DEPRECATED_TIP: + '该步骤会在后续版本中弃用,建议考虑其他替代方案。', // Task Status > Edit Jenkinsfile EDIT_JENKINSFILE: '编辑 Jenkinsfile', CLOSE_JENKINSFILE_EDITOR_TIP: '确定关闭 Jenkinsfile 编辑器?', @@ -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 @@ -135,6 +138,7 @@ module.exports = { BRANCH_PL: '分支', SCAN_REPOSITORY: '扫描仓库', PIPELINE: '流水线', + NO_BRANCHES_FOUND: '未找到分支', // Branches > Code Check CODE_CHECK: '代码检查', BUG_PL: '代码错误', @@ -152,5 +156,5 @@ module.exports = { LINE_VALUE: '行:{value}', PASSED: '已通过', // Pull Requests - PULL_REQUEST_PL: '拉取请求' -}; \ No newline at end of file + PULL_REQUEST_PL: '拉取请求', +} diff --git a/locales/zh/l10n-devopsProjects-pipeline-list.js b/locales/zh/l10n-devopsProjects-pipeline-list.js index 084d814fc51..1d711c124b7 100644 --- a/locales/zh/l10n-devopsProjects-pipeline-list.js +++ b/locales/zh/l10n-devopsProjects-pipeline-list.js @@ -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: '发现分支', @@ -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: '删除流水线时触发', @@ -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: '设置参数的描述。', @@ -156,7 +162,8 @@ module.exports = { BUILD_PERIODICALLY: '定时构建', BUILD_PERIODICALLY_TIP: '设置流水线定期执行构建任务。', PIPELINE_CRON_DESC: '流水线下次将在 {nextTime} 运行。', - PIPELINE_SCHEDULE_DESC: '输入 CRON 表达式以设置定时计划。了解更多', + PIPELINE_SCHEDULE_DESC: + '输入 CRON 表达式以设置定时计划。了解更多', DEFAULT_VALUE: '默认值', - PARAMETER_NAME_EMPTY_DESC: '请设置参数的名称。' -}; \ No newline at end of file + PARAMETER_NAME_EMPTY_DESC: '请设置参数的名称。', +} diff --git a/locales/zh/l10n-projects-applicationWorkloads-services-list.js b/locales/zh/l10n-projects-applicationWorkloads-services-list.js index 32d623c1e13..e11fdd89699 100644 --- a/locales/zh/l10n-projects-applicationWorkloads-services-list.js +++ b/locales/zh/l10n-projects-applicationWorkloads-services-list.js @@ -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 @@ -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 @@ -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 @@ -77,15 +81,15 @@ 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 @@ -93,15 +97,18 @@ module.exports = { // 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}.
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}.
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}。
请确认是否同时删除以下与服务关联的资源?', + DELETE_SERVICE_DESC_SI: + '您即将删除服务 {resource}。
请确认是否同时删除以下与服务关联的资源?', + DELETE_SERVICE: '删除服务', + DELETE_MULTIPLE_SERVICES: '批量删除服务', // Service Topology - SERVICE_TOPOLOGY: 'Service Topology', - AUTO_REFRESH: 'Auto Refresh', - POD_COUNT_VALUE: 'Pods: {value}' -}; \ No newline at end of file + SERVICE_TOPOLOGY: '服务拓扑', + AUTO_REFRESH: '自动更新', + POD_COUNT_VALUE: '容器组数量:{value}', +} diff --git a/locales/zh/l10n-projects-overview.js b/locales/zh/l10n-projects-overview.js index 72f7a624df1..fb16eae9c53 100644 --- a/locales/zh/l10n-projects-overview.js +++ b/locales/zh/l10n-projects-overview.js @@ -21,9 +21,11 @@ module.exports = { QUOTA: '配额', NUMBER_OF_VOLUMES: '存储卷数量', PROJECT_QUOTAS_NOT_SET: '项目配额未设置', - PROJECT_QUOTAS_DESC: '项目配额用于指定项目中可用的 CPU 和内存资源数量和容器组、部署、服务等应用资源的最大数量。', + PROJECT_QUOTAS_DESC: + '项目配额用于指定项目中可用的 CPU 和内存资源数量和容器组、部署、服务等应用资源的最大数量。', DEFAULT_CONTAINER_QUOTAS_NOT_SET: '默认容器配额未设置', - DEFAULT_CONTAINER_QUOTAS_DESC: '默认容器配额用于指定项目中创建的容器的默认 CPU 预留、CPU 限制、内存预留和内存限制。', + DEFAULT_CONTAINER_QUOTAS_DESC: + '默认容器配额用于指定项目中创建的容器的默认 CPU 预留、CPU 限制、内存预留和内存限制。', PROJECT_RESOURCE_QUOTAS: '项目资源配额', SELECT_RESOURCE_TIP: '请选择资源或输入资源名称', NUMBER_OF_ROUTES: '应用路由数量', @@ -32,6 +34,8 @@ module.exports = { NUMBER_OF_DAEMONSETS: '守护进程集数量', NUMBER_OF_STATEFULSETS: '有状态副本集数量', NUMBER_OF_DEPLOYMENTS: '部署数量', + // Deployed Apps + DEPLOYED_APPS: '已部署应用', // Resource Status RESOURCE_STATUS: '资源状态', // Resource Status > Application Resources @@ -50,5 +54,5 @@ module.exports = { SORT_BY_WORKLOAD_CPU_USAGE: '按 CPU 用量排行', SORT_BY_WORKLOAD_MEMORY_USAGE_WO_CACHE: '按内存用量排行', SORT_BY_WORKLOAD_NET_BYTES_TRANSMITTED: '按出站流量排行', - SORT_BY_WORKLOAD_NET_BYTES_RECEIVED: '按入站流量排行' -}; \ No newline at end of file + SORT_BY_WORKLOAD_NET_BYTES_RECEIVED: '按入站流量排行', +} diff --git a/locales/zh/l10n-projects-projectSettings-basicInformation.js b/locales/zh/l10n-projects-projectSettings-basicInformation.js index 8b2e012b572..8c6c43be022 100644 --- a/locales/zh/l10n-projects-projectSettings-basicInformation.js +++ b/locales/zh/l10n-projects-projectSettings-basicInformation.js @@ -20,10 +20,13 @@ module.exports = { PROJECT_SETTINGS: '项目设置', // Banner HOW_TO_USE_QUOTA_Q: '如何使用资源配额?', - HOW_TO_USE_QUOTA_A: '资源配额是用来限制资源用量的一种机制,您可以通过编辑项目来编辑项目资源配额和默认容器配额。', + HOW_TO_USE_QUOTA_A: + '资源配额是用来限制资源用量的一种机制,您可以通过编辑项目来编辑项目资源配额和默认容器配额。', WHAT_ARE_DEFAULT_CONTAINER_QUOTAS_Q: '什么是默认容器配额?', - WHAT_ARE_DEFAULT_CONTAINER_QUOTAS_A: '默认容器配额用于指定项目中创建的容器的默认 CPU 预留、CPU 限制、内存预留和内存限制。', - PROJECT_BASIC_INFO_DESC: '基本信息提供项目的信息概览,您可以查看项目的信息以及默认容器配额。', + WHAT_ARE_DEFAULT_CONTAINER_QUOTAS_A: + '默认容器配额用于指定项目中创建的容器的默认 CPU 预留、CPU 限制、内存预留和内存限制。', + PROJECT_BASIC_INFO_DESC: + '基本信息提供项目的信息概览,您可以查看项目的信息以及默认容器配额。', // Manage > Edit Information // Manage > Edit Project Quotas EDIT_PROJECT_QUOTA: '编辑项目配额', @@ -34,10 +37,11 @@ module.exports = { // Manage > Edit Default Container Quotas GPU_TYPE_SCAP: 'GPU 类型', GPU_LIMIT_SCAP: 'GPU 限制', - REQUEST_EXCEED_WORKSPACE: 'Resource requests and limits cannot exceed workspace resource limits.', + REQUEST_EXCEED_WORKSPACE: '资源预留和资源限制均不能超过企业空间资源限制。', REQUEST_EXCEED_LIMIT: '资源预留不能超过资源限制。', // Mange > Delete - DELETE_PROJECT_TIP: '确定删除项目 {resource} ? 删除后将无法恢复, 项目下的资源也同时会被销毁。', + DELETE_PROJECT_TIP: + '确定删除项目 {resource} ? 删除后将无法恢复, 项目下的资源也同时会被销毁。', // Project Information MANAGE: '管理', PROJECT_INFO: '项目信息', @@ -53,5 +57,5 @@ module.exports = { LIMITS_MEMORY: '内存限制', // Project Quotas PROJECT_QUOTA_PL: '项目配额', - RESOURCE_TYPE_SCAP: '资源类型' -}; \ No newline at end of file + RESOURCE_TYPE_SCAP: '资源类型', +} diff --git a/locales/zh/l10n-projects-projectSettings-gatewaySettings-list.js b/locales/zh/l10n-projects-projectSettings-gatewaySettings-list.js index 54aed5940d4..95c9f6aaa6d 100644 --- a/locales/zh/l10n-projects-projectSettings-gatewaySettings-list.js +++ b/locales/zh/l10n-projects-projectSettings-gatewaySettings-list.js @@ -17,19 +17,22 @@ */ module.exports = { // Banner - PROJECT_GATEWAY_DESC: '对项目中的外网访问网关以及服务治理等配置进行设置和管理。', + PROJECT_GATEWAY_DESC: + '对项目中的外网访问网关以及服务治理等配置进行设置和管理。', // Project Gateway // Project Gateway > Enable Gateway - ENABLE_GATEWAY_DESC: '在创建应用路由之前,需要先开启外网访问入口,即网关。这一步是创建对应的应用路由控制器,负责将请求转发到对应的后端服务。', + ENABLE_GATEWAY_DESC: + '在创建应用路由之前,需要先开启外网访问入口,即网关。这一步是创建对应的应用路由控制器,负责将请求转发到对应的后端服务。', // Project Gateway > Enable Gateway > NodePort // Project Gateway > Enable Gateway > LoadBalancer LOAD_BALANCER_PROVIDER: '负载均衡器提供商', - GATEWAY_UPDATING_TIP: 'Updating the gateway. Please try again later.', + GATEWAY_UPDATING_TIP: '网关升级中,请稍后再试。', // Manage > View Details // Manage > Edit // Manage > Edit > NodePort // Manage > Edit > LoadBalancer // Manage > Disable // Cluster Gateway (displayed when the cluster gateway and project gateway are both enabled) - CLUSTER_GATEWAY_GUIDE_DESC: '如果同时存在集群网关和项目网关,项目网关关闭后无法再次开启。建议仅使用集群网关或仅使用项目网关。' -}; \ No newline at end of file + CLUSTER_GATEWAY_GUIDE_DESC: + '如果同时存在集群网关和项目网关,项目网关关闭后无法再次开启。建议仅使用集群网关或仅使用项目网关。', +} diff --git a/locales/zh/l10n-projects-projectSettings-projectRoles-list.js b/locales/zh/l10n-projects-projectSettings-projectRoles-list.js index 45f2d9b7621..22b13ceb26c 100644 --- a/locales/zh/l10n-projects-projectSettings-projectRoles-list.js +++ b/locales/zh/l10n-projects-projectSettings-projectRoles-list.js @@ -21,7 +21,7 @@ module.exports = { PROJECT_ROLE_DESC: '项目角色定义了在当前项目下用户所拥有的权限。', // List ROLE_PROJECT_ADMIN: '管理项目中的所有资源。', - ROLE_PROJECT_REGULAR: 'Manage resources other than users and roles in the project.', + ROLE_PROJECT_REGULAR: '管理项目中除用户和角色之外的资源。', ROLE_PROJECT_VIEWER: '查看项目中的所有资源。', ROLE_PROJECT_OPERATOR: '管理项目中除用户和角色之外的资源。', PROJECT_ROLE_EMPTY_DESC: '请创建一个项目角色。', @@ -30,8 +30,10 @@ module.exports = { // List > Edit Permissions > Application Workloads APPLICATION_WORKLOADS_MANAGEMENT: '应用负载管理', APPLICATION_WORKLOADS_VIEW: '应用负载查看', - APPLICATION_WORKLOADS_VIEW_DESC: '查看项目中的应用、服务、工作负载、任务、灰度发布任务和镜像构建器等资源。', - APPLICATION_WORKLOADS_MANAGEMENT_DESC: '创建、编辑和删除项目中的应用、服务、工作负载、任务、灰度发布任务和镜像构建器等资源。', + APPLICATION_WORKLOADS_VIEW_DESC: + '查看项目中的应用、服务、工作负载、任务、灰度发布任务和镜像构建器等资源。', + APPLICATION_WORKLOADS_MANAGEMENT_DESC: + '创建、编辑和删除项目中的应用、服务、工作负载、任务、灰度发布任务和镜像构建器等资源。', // List > Edit Permissions > Storage Management VOLUME_SNAPSHOTS_MANAGEMENT: '存储卷快照管理', VOLUME_SNAPSHOTS_VIEW: '存储卷快照查看', @@ -77,12 +79,17 @@ module.exports = { PROJECT_MEMBERS_VIEW_DESC: '查看项目成员。', PROJECT_MEMBERS_MANAGEMENT_DESC: '邀请、编辑和移除项目成员。', // List > Edit Permissions > Project Settings - PROJECT_SETTINGS_DESC: '管理项目设置,包括项目基本信息、外部访问设置、网络策略、资源配额、日志收集设置等。', + PROJECT_SETTINGS_DESC: + '管理项目设置,包括项目基本信息、外部访问设置、网络策略、资源配额、日志收集设置等。', // List > Delete DELETE_ROLE: '删除角色', DELETE_ROLE_TIP: '您确定删除角色 {resource} 吗?', - DELETE_ROLE_USER_TIP_PL: '当前角色已授权给 {count} 名用户,请先删除用户或更改用户的角色。', - DELETE_ROLE_USER_TIP: '当前角色已授权给 {count} 名用户,请先删除用户或更改用户的角色。', - DELETE_ROLE_DEPARTMENT_TIP_PL: '当前角色已授权给 {count} 个部门,请先删除部门或更改部门的角色。', - DELETE_ROLE_DEPARTMENT_TIP: '当前角色已授权给 {count} 个部门,请先删除部门或更改部门的角色。' -}; \ No newline at end of file + DELETE_ROLE_USER_TIP_PL: + '当前角色已授权给 {count} 名用户,请先删除用户或更改用户的角色。', + DELETE_ROLE_USER_TIP: + '当前角色已授权给 {count} 名用户,请先删除用户或更改用户的角色。', + DELETE_ROLE_DEPARTMENT_TIP_PL: + '当前角色已授权给 {count} 个部门,请先删除部门或更改部门的角色。', + DELETE_ROLE_DEPARTMENT_TIP: + '当前角色已授权给 {count} 个部门,请先删除部门或更改部门的角色。', +} diff --git a/locales/zh/l10n-toobox-auditLogSearch-details.js b/locales/zh/l10n-toobox-auditLogSearch-details.js index d57a496aaa5..9b62c07b4fe 100644 --- a/locales/zh/l10n-toobox-auditLogSearch-details.js +++ b/locales/zh/l10n-toobox-auditLogSearch-details.js @@ -19,8 +19,8 @@ module.exports = { // Title // Search Bar // Time Topology - START_REAL_TIME_AUDIT_LOG: 'Pause real-time audit logs', - STOP_REAL_TIME_AUDIT_LOG: 'View real-time audit logs', + START_REAL_TIME_AUDIT_LOG: '暂停实时审计日志', + STOP_REAL_TIME_AUDIT_LOG: '查看实时审计日志', TIME_S: '{num}s', // Time Topology > Histogram AUDIT_LOG_COUNT: '审计日志数量', @@ -28,5 +28,5 @@ module.exports = { RESOURCE_NAME_AND_TYPE: '资源类型与名称', VERB: '操作行为', STATUS_CODE: '状态码', - SUBRESOURCE: '子资源' -}; \ No newline at end of file + SUBRESOURCE: '子资源', +} diff --git a/locales/zh/l10n-toobox-resourceConsumptionStatistics-clusterResourceConsumption.js b/locales/zh/l10n-toobox-resourceConsumptionStatistics-clusterResourceConsumption.js index 1914acc77dd..bafc18a9a84 100644 --- a/locales/zh/l10n-toobox-resourceConsumptionStatistics-clusterResourceConsumption.js +++ b/locales/zh/l10n-toobox-resourceConsumptionStatistics-clusterResourceConsumption.js @@ -18,7 +18,8 @@ module.exports = { // Title // Navigation Pane > Cluster - METERING_NOT_ENABLED_DESC: '当前模块尚未开启。了解更多', + METERING_NOT_ENABLED_DESC: + '当前模块尚未开启。了解更多', NO_METER_DATA: '未发现资源消费数据。', // Navigation Pane > Cluster Node // Navigation Pane > Cluster Node > Pod @@ -55,13 +56,15 @@ module.exports = { AVERAGE_USAGE: '平均用量', TOTAL_CONSUMPTION: '总消费情况', TOTAL_CONSUMPTION_Q: '什么是总消费情况?', - TOTAL_CONSUMPTION_A: '总消费情况表示在当前对账周期中每个计费采样点的资源用量之和。', - TIMERANGE_MORE_30DAY_MSG: '结束时间与开始时间的间隔大于 30 天时,采样间隔最小为 1 天。', + TOTAL_CONSUMPTION_A: + '总消费情况表示在当前对账周期中每个计费采样点的资源用量之和。', + TIMERANGE_MORE_30DAY_MSG: + '结束时间与开始时间的间隔大于 30 天时,采样间隔最小为 1 天。', MAXIMUM_USAGE: '最大用量', MINIMUM_USAGE: '最小用量', RESOURCE_TYPE: '资源类型', // Current Consumption - CURRRENT_RESOURCE_CONSUMPTION: 'Current Consumption', + CURRRENT_RESOURCE_CONSUMPTION: '当前消费', // Current Consumption > Tip - METER_RESOURCE_DESC: '1 小时内的资源消费情况' -}; \ No newline at end of file + METER_RESOURCE_DESC: '1 小时内的资源消费情况', +}