diff --git a/frontend/src/components/dataflow_config/algTemplate/operatorManagement/index.vue b/frontend/src/components/dataflow_config/algTemplate/operatorManagement/index.vue index f65b65488..9f981eb3e 100644 --- a/frontend/src/components/dataflow_config/algTemplate/operatorManagement/index.vue +++ b/frontend/src/components/dataflow_config/algTemplate/operatorManagement/index.vue @@ -431,6 +431,7 @@ import { // 引入国际化文件 import zhOps from "../../../../locales/zh_js/operator_zh.json"; import enOps from "../../../../locales/en_js/operator_en.json"; +import zhHantOps from '../../../../locales/zh_hant_js/operator_zhHant.json' const { t, locale } = useI18n(); const origin = window.location.origin + "/"; @@ -439,6 +440,7 @@ const origin = window.location.origin + "/"; const operatorI18n = { zh: zhOps, en: enOps, + zhHant: zhHantOps }; // 基础状态管理 diff --git a/frontend/src/components/dataflow_config/dataflow/workflowEditor.vue b/frontend/src/components/dataflow_config/dataflow/workflowEditor.vue index 98dbff375..74cbe9bfa 100644 --- a/frontend/src/components/dataflow_config/dataflow/workflowEditor.vue +++ b/frontend/src/components/dataflow_config/dataflow/workflowEditor.vue @@ -205,11 +205,13 @@ import jsYaml from 'js-yaml'; import zhOps from "../../../locales/zh_js/operator_zh.json"; import enOps from "../../../locales/en_js/operator_en.json"; + import zhHantOps from '../../../locales/zh_hant_js/operator_zhHant.json' import { useI18n } from "vue-i18n"; const { t, locale } = useI18n(); const operatorI18n = { zh: zhOps, en: enOps, + zhHant: zhHantOps }; const userStore = useUserStore(); const origin = window.location.origin + '/'; diff --git a/frontend/src/components/dataflow_config/systemDashboard/celeryNodeService.vue b/frontend/src/components/dataflow_config/systemDashboard/celeryNodeService.vue index a92eb3190..141a928c8 100644 --- a/frontend/src/components/dataflow_config/systemDashboard/celeryNodeService.vue +++ b/frontend/src/components/dataflow_config/systemDashboard/celeryNodeService.vue @@ -8,7 +8,7 @@

- 数据源 + {{ t("dataPipelines.data_source") }}

@@ -18,7 +18,7 @@ class="bg-white rounded-lg border p-4 flex flex-col justify-between" >
- 等待中 + {{ t("dataPipelines.waiting") }}
@@ -34,7 +34,7 @@ class="bg-white rounded-lg border p-4 flex flex-col justify-between" >
- 执行中 + {{ t("dataPipelines.inProgress") }}
@@ -49,7 +49,7 @@ class="bg-white rounded-lg border p-4 flex flex-col justify-between" >
- 执行结束(正常) + {{ t("dataPipelines.execution_completed_normally") }}
@@ -64,7 +64,7 @@ class="bg-white rounded-lg border p-4 flex flex-col justify-between" >
- 执行结束(错误) + {{ t("dataPipelines.execution_end_error") }}
@@ -77,7 +77,7 @@

- 格式转换 + {{ t("dataPipelines.formatConversion") }}

@@ -87,7 +87,7 @@ class="bg-white rounded-lg border p-4 flex flex-col justify-between" >
- 等待中 + {{ t("dataPipelines.waiting") }}
@@ -102,7 +102,7 @@ class="bg-white rounded-lg border p-4 flex flex-col justify-between" >
- 执行中 + {{ t("dataPipelines.inProgress") }}
@@ -117,7 +117,7 @@ class="bg-white rounded-lg border p-4 flex flex-col justify-between" >
- 已停止 + {{ t("dataPipelines.stopped") }}
@@ -132,7 +132,7 @@ class="bg-white rounded-lg border p-4 flex flex-col justify-between" >
- 执行结束(正常) + {{ t("dataPipelines.execution_completed_normally") }}
@@ -147,7 +147,7 @@ class="bg-white rounded-lg border p-4 flex flex-col justify-between" >
- 执行结束(错误) + {{ t("dataPipelines.execution_end_error") }}
@@ -160,7 +160,7 @@

- 数据处理 + {{ t("dataPipelines.dataProcessing") }}

@@ -170,7 +170,7 @@ class="bg-white rounded-lg border p-4 flex flex-col justify-between" >
- 等待中 + {{ t("dataPipelines.waiting") }}
@@ -186,7 +186,7 @@ class="bg-white rounded-lg border p-4 flex flex-col justify-between" >
- 执行中 + {{ t("dataPipelines.inProgress") }}
@@ -201,7 +201,7 @@ class="bg-white rounded-lg border p-4 flex flex-col justify-between" >
- 执行结束(正常) + {{ t("dataPipelines.execution_completed_normally") }}
@@ -216,7 +216,7 @@ class="bg-white rounded-lg border p-4 flex flex-col justify-between" >
- 执行结束(错误) + {{ t("dataPipelines.execution_end_error") }}
@@ -260,7 +260,7 @@

- Celery 节点服务列表 + {{ t("dataPipelines.celery_node_service_list") }}

@@ -278,18 +278,18 @@ />