This is an automated email from the ASF dual-hosted git repository.
weilee pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new a8e169658ac i18n(tw): Add human in the loop translations (#54147)
a8e169658ac is described below
commit a8e169658acec4d06855e574e0c7b4fabd0dca1c
Author: Guan Ming(Wesley) Chiu <[email protected]>
AuthorDate: Wed Aug 6 14:49:22 2025 +0800
i18n(tw): Add human in the loop translations (#54147)
---
.../ui/public/i18n/locales/zh-TW/common.json | 1 +
.../airflow/ui/public/i18n/locales/zh-TW/dag.json | 1 +
.../airflow/ui/public/i18n/locales/zh-TW/dags.json | 3 ++-
.../ui/public/i18n/locales/zh-TW/dashboard.json | 1 +
.../airflow/ui/public/i18n/locales/zh-TW/hitl.json | 23 ++++++++++++++++++++++
5 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/common.json
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/common.json
index f4c70f39f0c..14235887813 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/common.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/common.json
@@ -15,6 +15,7 @@
"backfill_other": "回填",
"browse": {
"auditLog": "審計日誌",
+ "requiredActions": "待回應的任務實例",
"xcoms": "XComs"
},
"collapseDetailsPanel": "收起詳細資訊",
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dag.json
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dag.json
index d028ebb88a3..1358d56e541 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dag.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dag.json
@@ -103,6 +103,7 @@
"mappedTaskInstances_other": "任務實例 [{{count}}]",
"overview": "總覽",
"renderedTemplates": "渲染後的範本",
+ "requiredActions": "待回應的任務實例",
"runs": "執行紀錄",
"taskInstances": "任務實例",
"tasks": "任務",
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dags.json
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dags.json
index 1de1da42ed1..52d84ca40e5 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dags.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dags.json
@@ -20,7 +20,8 @@
"all": "全部",
"paused": "暫停"
},
- "runIdPatternFilter": "搜尋 Dag 執行"
+ "runIdPatternFilter": "搜尋 Dag 執行",
+ "triggeringUserNameFilter": "搜尋觸發使用者名稱"
},
"ownerLink": "擁有者 {{owner}} 的連結",
"runAndTaskActions": {
diff --git
a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dashboard.json
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dashboard.json
index 3fd60be55fb..10e6e5553ae 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dashboard.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dashboard.json
@@ -36,6 +36,7 @@
"activeDags": "啟用中的 Dags",
"failedDags": "失敗的 Dags",
"queuedDags": "排隊中的 Dags",
+ "requiredActions": "待回應的任務實例",
"runningDags": "執行中的 Dags",
"stats": "統計"
},
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/hitl.json
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/hitl.json
new file mode 100644
index 00000000000..59833a22507
--- /dev/null
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/hitl.json
@@ -0,0 +1,23 @@
+{
+ "requiredAction_one": "待回應的任務實例",
+ "requiredAction_other": "待回應的任務實例",
+ "requiredActionState": "待回應的任務實例狀態",
+ "response": {
+ "error": "回應失敗",
+ "optionsDescription": "請為此任務實例選擇一個選項",
+ "optionsLabel": "選項",
+ "received": "收到回應的時間:",
+ "respond": "送出回應",
+ "success": "任務 {{taskId}} 回應成功",
+ "title": "人類參與流程任務實例 - {{taskId}}"
+ },
+ "state": {
+ "approvalReceived": "已核准",
+ "approvalRequired": "需要核准",
+ "choiceReceived": "已選擇",
+ "choiceRequired": "需要選擇",
+ "rejectionReceived": "已拒絕",
+ "responseReceived": "已回應",
+ "responseRequired": "需要回應"
+ }
+}