From a832b374bb15150323c7730ec07eb6b9c2be0d8f Mon Sep 17 00:00:00 2001 From: KubeSphere CI Bot <47586280+ks-ci-bot@users.noreply.github.com> Date: Thu, 19 Sep 2024 11:49:25 +0800 Subject: [PATCH] locale: update locales (#5163) Signed-off-by: yazhou Co-authored-by: yazhou --- locales/en/custom.js | 1 + locales/es/custom.js | 1 + locales/tc/custom.js | 1 + locales/zh/custom.js | 2 +- .../console/src/pages/workspaces/containers/Devops/index.tsx | 2 +- 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/locales/en/custom.js b/locales/en/custom.js index 92249aed15c..093fa7ef3bb 100644 --- a/locales/en/custom.js +++ b/locales/en/custom.js @@ -541,4 +541,5 @@ module.exports = { 'Observer of the DevOps project, capable of viewing the running status of pipelines', DEVOPS_PROJECT_DESC: "DevOps projects are used to group resources for management and to control different users' resource management permissions.", + PLEASE_SELECT_CLUSTER: 'Please select a cluster', }; diff --git a/locales/es/custom.js b/locales/es/custom.js index 92249aed15c..093fa7ef3bb 100644 --- a/locales/es/custom.js +++ b/locales/es/custom.js @@ -541,4 +541,5 @@ module.exports = { 'Observer of the DevOps project, capable of viewing the running status of pipelines', DEVOPS_PROJECT_DESC: "DevOps projects are used to group resources for management and to control different users' resource management permissions.", + PLEASE_SELECT_CLUSTER: 'Please select a cluster', }; diff --git a/locales/tc/custom.js b/locales/tc/custom.js index 92249aed15c..1f06e030c86 100644 --- a/locales/tc/custom.js +++ b/locales/tc/custom.js @@ -541,4 +541,5 @@ module.exports = { 'Observer of the DevOps project, capable of viewing the running status of pipelines', DEVOPS_PROJECT_DESC: "DevOps projects are used to group resources for management and to control different users' resource management permissions.", + PLEASE_SELECT_CLUSTER: '請選擇集群', }; diff --git a/locales/zh/custom.js b/locales/zh/custom.js index 91ecf0d5241..f63356032fa 100644 --- a/locales/zh/custom.js +++ b/locales/zh/custom.js @@ -461,7 +461,7 @@ module.exports = { pipeline_developer: 'DevOps 业务的开发者,可以进行流水线的触发以及查看', pipeline_reporter: 'DevOps 业务的观察者,可以查看流水线的运行情况', DEVOPS_PROJECT_DESC: 'DevOps 业务用于对资源进行分组管理以及控制不同用户的资源管理权限。', - + PLEASE_SELECT_CLUSTER: '请选择集群', // 应用介绍 NO_DOCUMENT_DESC: '未发现应用介绍。', DOCUMENTATION: '应用介绍', diff --git a/packages/console/src/pages/workspaces/containers/Devops/index.tsx b/packages/console/src/pages/workspaces/containers/Devops/index.tsx index 7fc7aee59a9..5efbaf51304 100644 --- a/packages/console/src/pages/workspaces/containers/Devops/index.tsx +++ b/packages/console/src/pages/workspaces/containers/Devops/index.tsx @@ -297,7 +297,7 @@ const Devops = () => { if (!cluster) { return { image: , - description: t('PLEASE_SELECT_CLUSTER_OR_PROJECT'), + description: t('PLEASE_SELECT_CLUSTER'), }; } return {