This is an automated email from the ASF dual-hosted git repository.

henry3260 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 d429ea714e6 Fill zh-CN translation gaps and distinguish trigger from 
triggerer (#77519)
d429ea714e6 is described below

commit d429ea714e6c4b3ac1b9f70920a0e5bfb4be6c1e
Author: Kevin Yang <[email protected]>
AuthorDate: Tue Nov 24 12:35:13 2026 -0500

    Fill zh-CN translation gaps and distinguish trigger from triggerer (#77519)
---
 .../skills/airflow-translations/locales/zh-CN.md   | 13 +++++++
 .../ui/public/i18n/locales/zh-CN/admin.json        |  2 +-
 .../ui/public/i18n/locales/zh-CN/assets.json       | 13 +++++++
 .../ui/public/i18n/locales/zh-CN/browse.json       | 42 ++++++++++++++++++++++
 .../ui/public/i18n/locales/zh-CN/common.json       | 14 +++++---
 .../ui/public/i18n/locales/zh-CN/components.json   |  4 ++-
 .../airflow/ui/public/i18n/locales/zh-CN/dag.json  |  2 ++
 .../airflow/ui/public/i18n/locales/zh-CN/dags.json |  1 +
 .../ui/public/i18n/locales/zh-CN/dashboard.json    |  8 +++--
 9 files changed, 90 insertions(+), 9 deletions(-)

diff --git a/.agents/skills/airflow-translations/locales/zh-CN.md 
b/.agents/skills/airflow-translations/locales/zh-CN.md
index 63d72b64a4e..095f70b3821 100644
--- a/.agents/skills/airflow-translations/locales/zh-CN.md
+++ b/.agents/skills/airflow-translations/locales/zh-CN.md
@@ -147,6 +147,19 @@ Translate `Provider` and `Providers` as `整合套件` in UI text. 
This override
 parent skill's English-term default for zh-CN. Preserve literal package names
 and code identifiers.
 
+Keep these terms distinct, because the UI often shows them side by side:
+
+| English | zh-CN | Meaning |
+|---|---|---|
+| Trigger (noun) | `触发器` | An async object a deferred task, asset watcher or 
callback waits on |
+| Triggerer | `触发器进程` | The Airflow component process that runs triggers |
+| Trigger (verb), Triggered | `触发`, `已触发` | Starting a Dag run |
+| Trigger Rule | `触发规则` | A task's upstream-dependency condition |
+| Triggered By | `触发者` | Who or what started a Dag run |
+
+Do not translate Triggerer as `触发器` (that is a trigger) or `触发者` (that is
+Triggered By).
+
 The established zh-CN translations are defined in the existing locale files.
 Before translating, **read the existing zh-CN JSON files** to learn the
 established terminology:
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/admin.json 
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/admin.json
index 4b9dcf88d9e..8457c8c82df 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/admin.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/admin.json
@@ -98,7 +98,7 @@
       "allTypes": "全部类型",
       "dagProcessorJob": "Dag 处理器作业",
       "schedulerJob": "调度器作业",
-      "triggererJob": "触发器作业"
+      "triggererJob": "触发器进程作业"
     },
     "job_one": "作业",
     "job_other": "作业"
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/assets.json 
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/assets.json
index 02e013429db..e29c51716b4 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/assets.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/assets.json
@@ -55,6 +55,15 @@
   "group": "分组",
   "lastAssetEvent": "最后资源事件",
   "name": "名称",
+  "partitions": {
+    "consumerRuns": "消费者执行",
+    "consumerRunsHelp": "消费了该分区最后一次资源事件的 Dag 执行",
+    "lastProducerRun": "最后生产者执行",
+    "status": {
+      "in_progress": "进行中",
+      "materialized": "已物化"
+    }
+  },
   "producingTasks": "生产任务",
   "scheduledDags": "已调度的 Dags",
   "scheduling": "调度",
@@ -62,5 +71,9 @@
   "taskDependencies": "任务依赖",
   "watcher_one": "监听器",
   "watcher_other": "监听器",
+  "watcherFailing_one": "个监听器持续失败",
+  "watcherFailing_other": "个监听器持续失败",
+  "watcherOrphaned_one": "个监听器已孤立",
+  "watcherOrphaned_other": "个监听器已孤立",
   "watchers": "监听器"
 }
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/browse.json 
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/browse.json
index d9f4656ab43..4f23f390a24 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/browse.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/browse.json
@@ -60,6 +60,48 @@
     },
     "title": "截止期限"
   },
+  "triggers": {
+    "columns": {
+      "dagsAffected": "受影响的 Dags",
+      "failures": "失败次数",
+      "kind": "类型",
+      "lastError": "最后错误",
+      "lastEvent": "最后事件",
+      "status": "状态",
+      "triggerer": "触发器进程",
+      "usedBy": "使用者"
+    },
+    "detail": {
+      "firstFailedAt": "开始失败时间",
+      "lastFailedAt": "最后失败时间",
+      "noReadableScheduledDags": "没有您可查看的 Dags",
+      "scheduledDags": "已调度的 Dags"
+    },
+    "filters": {
+      "triggererHostname": "触发器进程主机名称"
+    },
+    "forbidden": {
+      "description": "触发器仅对能查看其服务对象的用户显示:Dag 的任务实例或 Dag 
执行,或其监听的资源。您无法查看其中任何一项。",
+      "title": "没有可显示的触发器"
+    },
+    "kind": {
+      "asset_watcher": "资源监听器",
+      "callback": "回调",
+      "task": "任务"
+    },
+    "notFound": {
+      "backToList": "返回触发器",
+      "description": "触发器在触发后或其服务对象完成后即被移除,因此该触发器很可能已经结束。",
+      "title": "此触发器已不存在"
+    },
+    "status": {
+      "failing": "持续失败",
+      "orphaned": "已孤立"
+    },
+    "statusHint": {
+      "orphaned": "其触发器进程已停止,正在等待其他触发器进程接管。"
+    }
+  },
   "xcom": {
     "add": {
       "error": "添加 XCom 失败",
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/common.json 
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/common.json
index ccd402c6d5f..4cacee4afee 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/common.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/common.json
@@ -31,6 +31,7 @@
     "deadlines": "截止期限",
     "jobs": "作业",
     "requiredActions": "待响应的任务实例",
+    "triggers": "触发器",
     "xcoms": "XComs"
   },
   "collapseAllExtra": "收起所有额外 JSON",
@@ -197,6 +198,7 @@
     },
     "save": "保存"
   },
+  "moreTabs": "更多",
   "nav": {
     "admin": "管理",
     "assets": "资源",
@@ -260,6 +262,7 @@
     "asset_triggered": "资源触发",
     "backfill": "回填",
     "manual": "手动触发",
+    "operator_triggered": "操作器触发",
     "scheduled": "已调度"
   },
   "scroll": {
@@ -439,6 +442,7 @@
   "switchDag": "切换 $t(dag_one)",
   "switchDagRun": "切换 $t(dagRun_one)",
   "switchMapIndex": "切换$t(mapIndex)",
+  "switchTask": "切换$t(task_one)",
   "table": {
     "completedAt": "完成时间",
     "createdAt": "创建时间",
@@ -504,13 +508,13 @@
     },
     "trigger": "触发器",
     "triggerer": {
-      "assigned": "指派的触发器",
+      "assigned": "指派的触发器进程",
       "class": "触发器类别",
       "createdAt": "触发器创建时间",
       "id": "触发器 ID",
-      "job": "触发器作业",
-      "latestHeartbeat": "最新触发器心跳时间",
-      "title": "触发器信息"
+      "job": "触发器进程作业",
+      "latestHeartbeat": "最新触发器进程心跳时间",
+      "title": "触发器进程信息"
     },
     "unixname": "Unix 名称"
   },
@@ -609,6 +613,8 @@
     "tokenShownOnce": "此令牌仅显示一次。请立即复制。"
   },
   "total": "总计 {{state}}",
+  "trigger_one": "触发器",
+  "trigger_other": "触发器",
   "triggered": "已触发",
   "tryNumber": "尝试次数",
   "unpause": "取消暂停",
diff --git 
a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/components.json 
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/components.json
index bcf42ff4199..a83ccb9119f 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/components.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/components.json
@@ -35,7 +35,7 @@
     "toaster": {
       "success": {
         "description": "已成功触发回填作业。",
-        "title": "已触发 Dag 执行"
+        "title": "已生成回填"
       }
     },
     "validation": {
@@ -61,6 +61,7 @@
   "dagWarnings": {
     "error_one": "1 个错误",
     "errorAndWarning": "1 个错误与 {{warningText}}",
+    "failingWatcher": "{{assetName}} 上的监听器 {{watcherName}} 持续失败",
     "types": {
       "asset conflict": "资源冲突",
       "duplicate dag id": "重复的 Dag ID",
@@ -68,6 +69,7 @@
       "runtime varying value": "运行时变化的值",
       "task group cycle": "任务分组循环"
     },
+    "viewTrigger": "查看触发器",
     "warning_one": "1 个警告",
     "warning_other": "{{count, number}} 个警告"
   },
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/dag.json 
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/dag.json
index 7cc03a60f4a..de7ab14ae18 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/dag.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/dag.json
@@ -85,6 +85,8 @@
     "upcomingCount_other": "{{count, number}} 个即将到期的截止期限"
   },
   "extraLinks": "额外链接",
+  "failingWatcherTriggers_one": "1 个持续失败的监听器触发器",
+  "failingWatcherTriggers_other": "{{count, number}} 个持续失败的监听器触发器",
   "grid": {
     "buttons": {
       "newerRuns": "较新的执行",
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/dags.json 
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/dags.json
index 9dcab9f5369..a84cf94288f 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/dags.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/dags.json
@@ -97,6 +97,7 @@
       "downstream": "下游",
       "existingTasks": "清除现有任务",
       "future": "未来",
+      "includeDependentDags": "清除依赖 Dags 中的任务",
       "keepTaskState": "保留任务存储并继续执行",
       "laterIterations": "后续迭代",
       "onlyFailed": "只清除失败任务",
diff --git 
a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/dashboard.json 
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/dashboard.json
index 8c58f7f8c20..56236c276a8 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/dashboard.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/dashboard.json
@@ -22,7 +22,7 @@
   "favorite": {
     "favoriteDags_one": "前 1 个收藏的 Dag",
     "favoriteDags_other": "前 {{count, number}} 个收藏的 Dag",
-    "noDagRuns": "此 Dag 尚未被触发过。",
+    "noDagRuns": "此 Dag 尚无 Dag 执行。",
     "noFavoriteDags": "尚无收藏的 Dag。请点击 Dag 列表旁的星号图示,将 Dag 加入收藏。"
   },
   "group": "分组",
@@ -31,7 +31,7 @@
     "degraded": "部分可用",
     "degradedHint": {
       "dagProcessor": "部分已配置的 Dag 套件包没有 Dag 处理器在解析它们。",
-      "triggerer": "部分团队没有正在运行延后任务的触发器。"
+      "triggerer": "部分团队没有为其运行延后任务的触发器进程。"
     },
     "down": "不可用",
     "health": "健康状态",
@@ -48,13 +48,14 @@
     "metaDatabase": "系统数据库",
     "scheduler": "调度器",
     "status": "状态",
-    "triggerer": "触发器",
+    "triggerer": "触发器进程",
     "unhealthy": "健康状态异常",
     "unknownStatus": "未知"
   },
   "history": "历史记录",
   "importErrors": {
     "bundle": "套件包",
+    "copyStackTrace": "复制堆栈跟踪",
     "dagImportError_one": "Dag 导入错误",
     "dagImportError_other": "Dag 导入错误",
     "searchByFile": "依文件搜索",
@@ -72,6 +73,7 @@
   "stats": {
     "activeDags": "已启用的 Dags",
     "failedDags": "失败的 Dags",
+    "failingTriggers": "持续失败的触发器",
     "queuedDags": "排队的 Dags",
     "requiredActions": "待操作的任务实例",
     "runningDags": "执行中的 Dags",

Reply via email to