diff --git a/ui/src/i18n/locales/en/nls.workflow.json b/ui/src/i18n/locales/en/nls.workflow.json
index 3ae5f6dc..647f375f 100644
--- a/ui/src/i18n/locales/en/nls.workflow.json
+++ b/ui/src/i18n/locales/en/nls.workflow.json
@@ -13,7 +13,9 @@
"workflow.props.name.default": "Unnamed",
"workflow.props.description": "Description",
"workflow.props.description.placeholder": "Please enter description",
- "workflow.props.execution_method": "Execution Method",
+ "workflow.props.trigger": "Trigger",
+ "workflow.props.trigger.auto": "Auto",
+ "workflow.props.trigger.manual": "Manual",
"workflow.props.state": "State",
"workflow.props.state.filter.enabled": "Enabled",
"workflow.props.state.filter.disabled": "Disabled",
diff --git a/ui/src/i18n/locales/zh/nls.workflow.json b/ui/src/i18n/locales/zh/nls.workflow.json
index 7e6e7783..81e5a7a2 100644
--- a/ui/src/i18n/locales/zh/nls.workflow.json
+++ b/ui/src/i18n/locales/zh/nls.workflow.json
@@ -13,7 +13,9 @@
"workflow.props.name.default": "未命名工作流",
"workflow.props.description": "描述",
"workflow.props.description.placeholder": "请输入描述",
- "workflow.props.execution_method": "执行方式",
+ "workflow.props.trigger": "触发方式",
+ "workflow.props.trigger.auto": "自动",
+ "workflow.props.trigger.manual": "手动",
"workflow.props.state": "启用状态",
"workflow.props.state.filter.enabled": "启用",
"workflow.props.state.filter.disabled": "未启用",
diff --git a/ui/src/pages/workflows/WorkflowList.tsx b/ui/src/pages/workflows/WorkflowList.tsx
index ca011409..a154c5c2 100644
--- a/ui/src/pages/workflows/WorkflowList.tsx
+++ b/ui/src/pages/workflows/WorkflowList.tsx
@@ -61,19 +61,19 @@ const WorkflowList = () => {
),
},
{
- key: "type",
- title: t("workflow.props.execution_method"),
+ key: "trigger",
+ title: t("workflow.props.trigger"),
ellipsis: true,
render: (_, record) => {
- const method = record.type;
- if (!method) {
+ const trigger = record.type;
+ if (!trigger) {
return "-";
- } else if (method === "manual") {
- return {t("workflow.node.start.form.executionMethod.options.manual")};
- } else if (method === "auto") {
+ } else if (trigger === "manual") {
+ return {t("workflow.props.trigger.manual")};
+ } else if (trigger === "auto") {
return (
- {t("workflow.node.start.form.executionMethod.options.auto")}
+ {t("workflow.props.trigger.auto")}
{record.crontab ?? ""}
);