diff --git a/locales/en.json b/locales/en.json index 6590412c7..f3cb33c1d 100644 --- a/locales/en.json +++ b/locales/en.json @@ -79,6 +79,7 @@ "CPU limit": "CPU limit", "CPU quota": "CPU quota", "Cancel": "Cancel", + "Canceling": "Canceling", "Certificate": "Certificate", "Channel name": "Channel name", "Channel type": "Channel type", diff --git a/locales/zh.json b/locales/zh.json index 829c8b32c..577862a10 100644 --- a/locales/zh.json +++ b/locales/zh.json @@ -79,6 +79,7 @@ "CPU limit": "CPU 限制", "CPU quota": "CPU 配额", "Cancel": "取消", + "Canceling": "取消中", "Certificate": "证书", "Channel name": "渠道名称", "Channel type": "渠道类型", diff --git a/shell/app/modules/application/pages/build-detail/config.tsx b/shell/app/modules/application/pages/build-detail/config.tsx index e6afb63b7..9d485a257 100644 --- a/shell/app/modules/application/pages/build-detail/config.tsx +++ b/shell/app/modules/application/pages/build-detail/config.tsx @@ -67,7 +67,7 @@ export const ciStatusMap = { status: 'warning', }, Canceling: { - text: '取消中', + text: i18n.t('Canceling'), clolor: 'blue', status: 'processing', }, diff --git a/shell/app/modules/application/pages/obsoleted-pipeline/run-detail/config.tsx b/shell/app/modules/application/pages/obsoleted-pipeline/run-detail/config.tsx index 7202bb5ef..2cdaee9f1 100644 --- a/shell/app/modules/application/pages/obsoleted-pipeline/run-detail/config.tsx +++ b/shell/app/modules/application/pages/obsoleted-pipeline/run-detail/config.tsx @@ -67,7 +67,7 @@ export const ciStatusMap = { status: 'warning', }, Canceling: { - text: '取消中', + text: i18n.t('Canceling'), clolor: 'blue', status: 'processing', }, diff --git a/shell/app/modules/project/common/components/pipeline-manage/run-detail/config.ts b/shell/app/modules/project/common/components/pipeline-manage/run-detail/config.ts index 38f289b01..b9c28c36a 100644 --- a/shell/app/modules/project/common/components/pipeline-manage/run-detail/config.ts +++ b/shell/app/modules/project/common/components/pipeline-manage/run-detail/config.ts @@ -67,7 +67,7 @@ export const ciStatusMap = { status: 'warning', }, Canceling: { - text: '取消中', + text: i18n.t('Canceling'), clolor: 'blue', status: 'processing', }, diff --git a/shell/app/modules/project/common/components/pipeline-new/config.tsx b/shell/app/modules/project/common/components/pipeline-new/config.tsx index 85c47af8e..9c5a8e967 100644 --- a/shell/app/modules/project/common/components/pipeline-new/config.tsx +++ b/shell/app/modules/project/common/components/pipeline-new/config.tsx @@ -69,7 +69,7 @@ export const ciStatusMap = { status: 'warning', }, Canceling: { - text: '取消中', + text: i18n.t('Canceling'), clolor: 'blue', status: 'processing', },