From f8947c5b86826d91d274d4331a60e344382b36cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=A4=E6=9C=88?= <17949154+yazhouio@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:50:02 +0800 Subject: [PATCH] locale: update locales (#4935) Signed-off-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 {