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

vatsrahul1001 pushed a commit to branch v3-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-4-test by this push:
     new 8883030397c [v3-4-test] Add missing zh-CN translations for new UI 
strings (#73943) (#75023)
8883030397c is described below

commit 8883030397c6c9617109862343df25204a59470c
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Oct 19 10:57:08 2026 +0530

    [v3-4-test] Add missing zh-CN translations for new UI strings (#73943) 
(#75023)
    
    * Add missing zh-CN translations in browse.json
    
    * Add missing zh-CN translations in common.json
    
    * Add missing zh-CN translations in components.json
    
    * Add missing zh-CN translations in dag.json
    
    * Add missing zh-CN translations in dags.json
    
    * Add missing zh-CN translations in dashboard.json
    
    * Apply suggestion from @Andrushika
    
    Though rigorous,but I'll take it
    
    
    
    * Remove unused bundle_one/bundle_other keys and match en key order
    
    * Use 尝试 for "try" in log viewer strings per review
    
    * Use 部分可用/不可用 for health degraded/down states per review
    
    * Match en key order and add new keepTaskState strings in common.json
    
    * Match en key order in components.json
    
    * Add new keepTaskState string in dags.json
    
    * Use 任务存储 for Task State Store in keepTaskState strings
    
    * Use 任务存储 wording for keepTaskState option in dags.json
    
    * Format zh-CN counter placeholders as numbers
    
    The English strings group thousands with {{count, number}}; the bare 
{{count}} in these three zh-CN translations would render 1234 instead of 1,234, 
which the locale counter test rejects.
    
    Generated-by: Claude Opus 5
    
    ---------
    (cherry picked from commit 7dd91f20652124baef04c70e7ff154e9b369a566)
    
    Co-authored-by: mola <[email protected]>
    Co-authored-by: Andrew Chang <[email protected]>
    Co-authored-by: Jarek Potiuk <[email protected]>
---
 .../ui/public/i18n/locales/zh-CN/browse.json        | 18 ++++++++++++++++--
 .../ui/public/i18n/locales/zh-CN/common.json        | 21 +++++++++++++++++++++
 .../ui/public/i18n/locales/zh-CN/components.json    |  1 +
 .../airflow/ui/public/i18n/locales/zh-CN/dag.json   |  4 ++++
 .../airflow/ui/public/i18n/locales/zh-CN/dags.json  |  4 +++-
 .../ui/public/i18n/locales/zh-CN/dashboard.json     | 17 ++++++++++++++++-
 6 files changed, 61 insertions(+), 4 deletions(-)

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 25ac9a80c1e..dc83046b862 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
@@ -12,8 +12,6 @@
   },
   "dagBundles": {
     "active": "已启用",
-    "bundle_one": "Dag 套件包",
-    "bundle_other": "Dag 套件包",
     "columns": {
       "active": "已启用",
       "importErrors": "导入错误",
@@ -21,6 +19,22 @@
       "name": "名称",
       "version": "版本"
     },
+    "detail": {
+      "status": "状态"
+    },
+    "files": {
+      "columns": {
+        "file": "文件",
+        "lastParsed": "最后解析时间",
+        "parseDuration": "解析耗时"
+      },
+      "file_one": "文件",
+      "file_other": "文件",
+      "importErrorGone": "此导入错误已不再被记录,可能已通过重新解析修复。",
+      "neverParsed": "从未",
+      "showImportError_one": "查看错误",
+      "showImportError_other": "查看 {{count, number}} 个错误"
+    },
     "inactive": "已停用",
     "neverRefreshed": "从未",
     "notRefreshedYet": "尚未刷新",
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 616ee13a74f..20a5f0fe3a2 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
@@ -40,6 +40,8 @@
   "createdAssetEvent_other": "已创建资源事件",
   "dag_one": "Dag",
   "dag_other": "Dags",
+  "dagBundle_one": "Dag 套件包",
+  "dagBundle_other": "Dag 套件包",
   "dagDetails": {
     "activeRuns": "活跃执行数",
     "catchup": "自动回填",
@@ -166,6 +168,11 @@
   "generateToken": "生成令牌",
   "includedIn": "包含于",
   "key": "键",
+  "logLevel": {
+    "hide": "隐藏日志级别",
+    "hotkey": "l",
+    "show": "显示日志级别"
+  },
   "logicalDate": "逻辑日期",
   "logout": "退出登录",
   "logoutConfirmation": "确定要退出登录吗?",
@@ -264,6 +271,10 @@
   "selected": "已选择",
   "settings": {
     "clearing": {
+      "keepTaskState": {
+        "helper": "清除任务实例时默认保留任务存储条目,而不是将其丢弃。",
+        "label": "清除时保留任务存储"
+      },
       "preventRunningTask": {
         "helper": "清除任务实例时跳过正在执行的任务。",
         "label": "防止清除正在执行的任务"
@@ -295,6 +306,10 @@
         "helper": "未单独设置布局方向的 Dag 和资源图表所使用的方向。",
         "label": "默认图表方向"
       },
+      "taskGroupsExpanded": {
+        "helper": "在您尚未保存分组选择的 Dag 中展开任务分组,已有选择保持不变。",
+        "label": "默认展开任务分组"
+      },
       "title": "图表"
     },
     "marking": {
@@ -346,6 +361,7 @@
       "toggleExpand": "展开或收起所有分组",
       "toggleFullscreen": "切换全屏",
       "toggleGraphGrid": "切换图形与网格视图",
+      "toggleLogLevel": "切换日志级别显示",
       "toggleSource": "切换来源显示",
       "toggleTaskGroup": "展开或收起$t(taskGroup_one)",
       "toggleTimestamp": "切换时间戳显示",
@@ -442,6 +458,11 @@
     "queuedWhen": "开始排队时间",
     "renderedMapIndex": "已渲染映射索引",
     "scheduledWhen": "开始调度时间",
+    "stateReason": "状态原因",
+    "stateReasonSummary": {
+      "failed": "在第 {{tryNumber}} 次尝试(共 {{totalTries}} 次)后停止",
+      "upForRetry": "在第 {{tryNumber}} 次尝试(共 {{totalTries}} 次)后重试"
+    },
     "trigger": "触发器",
     "triggerer": {
       "assigned": "指派的触发器",
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 4db9b1a161f..1904e2c86ab 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
@@ -134,6 +134,7 @@
     "empty": "此范围内没有已完成的任务实例",
     "title": "耗时最长的任务实例"
   },
+  "sortMultiColumnHint": "按住 Shift 点击可按多列排序",
   "sortedAscending": "递增排序",
   "sortedDescending": "递减排序",
   "sortedUnsorted": "未排序",
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 2941e899045..973f300f6ea 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
@@ -100,7 +100,11 @@
       "placeholder": "搜索日志..."
     },
     "settings": "日志设置",
+    "tryNotStarted": "此次尝试尚未开始。",
+    "viewFailedTry": "查看第 {{tryNumber}} 次失败尝试的日志",
     "viewInExternal": "在 {{name}} 中查看日志(重试 {{attempt}})",
+    "viewPreviousTry": "查看上一次尝试(第 {{tryNumber}} 次)的日志",
+    "waitingToRetry": "第 {{tryNumber}} 次尝试正在等待重试。",
     "warning": "WARNING"
   },
   "notFound": {
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 82b9ee7c046..f9d032c55a2 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
@@ -80,6 +80,7 @@
       "downstream": "下游",
       "existingTasks": "清除现有任务",
       "future": "未来",
+      "keepTaskState": "保留任务存储并继续执行",
       "onlyFailed": "只清除失败任务",
       "past": "过去",
       "preventRunningTasks": "防止重复执行执行中的任务",
@@ -98,7 +99,8 @@
     "cancelDrain": "恢复调度",
     "drain": "完成后暂停",
     "drainPrompt": "此 Dag 有正在进行的 Dag 执行。您可以等待这些执行全部完成后再暂停 
Dag,或立即停止调度而不等待它们完成。",
-    "pauseNow": "立即暂停"
+    "pauseNow": "立即暂停",
+    "pauseSelected": "暂停 / 完成后暂停"
   },
   "schedulingBanner": {
     "message": "此 Dag 将在当前的 Dag 执行全部完成后自动暂停。"
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 d14e109310d..817128919f3 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
@@ -28,14 +28,29 @@
   "group": "分组",
   "health": {
     "dagProcessor": "Dag 处理器",
+    "degraded": "部分可用",
+    "degradedHint": {
+      "dagProcessor": "部分已配置的 Dag 套件包没有 Dag 处理器在解析它们。",
+      "triggerer": "部分团队没有正在运行延后任务的触发器。"
+    },
+    "down": "不可用",
     "health": "健康状态",
     "healthy": "健康",
+    "instances": {
+      "bundles": "套件包",
+      "hostname": "主机",
+      "team": "团队",
+      "title_one": "{{title}} — {{status}}({{count, number}} 个实例)",
+      "title_other": "{{title}} — {{status}}({{count, number}} 个实例)",
+      "unknownHostname": "未知主机"
+    },
     "lastHeartbeat": "最后心跳",
     "metaDatabase": "系统数据库",
     "scheduler": "调度器",
     "status": "状态",
     "triggerer": "触发器",
-    "unhealthy": "健康状态异常"
+    "unhealthy": "健康状态异常",
+    "unknownStatus": "未知"
   },
   "history": "历史记录",
   "importErrors": {

Reply via email to