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

shahar1 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 e7427b8fe01 Align zh-CN Provider terminology and plural conventions 
(#73369)
e7427b8fe01 is described below

commit e7427b8fe01fe9584c7ce4b308be579a90456acd
Author: Kevin Yang <[email protected]>
AuthorDate: Tue Sep 22 00:49:31 2026 -0400

    Align zh-CN Provider terminology and plural conventions (#73369)
    
    Follow up on #73113 so subsequent translations consistently apply the
    reviewed zh-CN terminology and singular-count conventions.
---
 .agents/skills/airflow-translations/locales/zh-CN.md    | 17 +++++++++++++++--
 .../src/airflow/ui/public/i18n/locales/zh-CN/admin.json |  2 +-
 .../airflow/ui/public/i18n/locales/zh-CN/common.json    |  6 +++---
 .../src/airflow/ui/public/i18n/locales/zh-CN/dag.json   |  6 +++---
 .../airflow/ui/public/i18n/locales/zh-CN/dashboard.json |  6 +++---
 5 files changed, 25 insertions(+), 12 deletions(-)

diff --git a/.agents/skills/airflow-translations/locales/zh-CN.md 
b/.agents/skills/airflow-translations/locales/zh-CN.md
index 5733348ddba..c0be7384393 100644
--- a/.agents/skills/airflow-translations/locales/zh-CN.md
+++ b/.agents/skills/airflow-translations/locales/zh-CN.md
@@ -9,8 +9,9 @@ the parent [SKILL.md](../SKILL.md).
 
 ## Plural Forms
 
-Simplified Chinese **does not** distinguish between singular and plural forms.
-Use the **same translation** for both `_one` and `_other` suffixes:
+Simplified Chinese **does not** grammatically distinguish between singular and
+plural forms. For labels without a quantity, use the **same translation** for
+both `_one` and `_other` suffixes:
 
 **English source:**
 
@@ -26,6 +27,14 @@ Use the **same translation** for both `_one` and `_other` 
suffixes:
 "dagRun_other": "Dag 执行"
 ```
 
+For phrases that express a quantity with a measure word, use literal `1` in
+`_one` and `{{count}}` in `_other`, followed by the appropriate measure word:
+
+```json
+"showMoreAlerts_one": "+1 个警告",
+"showMoreAlerts_other": "+{{count}} 个警告"
+```
+
 ## Spacing Rules
 
 Insert a **half-width space** between Chinese characters and adjacent
@@ -111,6 +120,10 @@ word order:
 
 ## Terminology Reference
 
+Translate `Provider` and `Providers` as `整合套件` in UI text. This overrides the
+parent skill's English-term default for zh-CN. Preserve literal package names
+and code identifiers.
+
 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 2a0540a9799..4f11428308c 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
@@ -37,7 +37,7 @@
       "connectionTypeRequired": "连接类型是必填的",
       "extraFields": "额外字段",
       "extraFieldsJson": "额外字段 JSON",
-      "helperText": "找不到连接类型?请确保您已安装对应的 Airflow Providers 套件。",
+      "helperText": "找不到连接类型?请确保您已安装对应的 Airflow 整合套件。",
       "helperTextForRedactedFields": "已遮蔽的字段 ('***') 若未修改,将保持不变。",
       "selectConnectionType": "选择连接类型",
       "standardFields": "标准字段"
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 4398c26a241..3803decc5b3 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
@@ -4,7 +4,7 @@
     "Connections": "连接",
     "Plugins": "插件",
     "Pools": "资源池",
-    "Providers": "Providers",
+    "Providers": "整合套件",
     "Variables": "变量"
   },
   "allOperators": "全部操作器",
@@ -212,7 +212,7 @@
     "receivedAssetEvents": "接收到的资源事件"
   },
   "pause": "暂停",
-  "pendingDagRun_one": "{{count}} 个待执行 Dag 执行",
+  "pendingDagRun_one": "1 个待执行 Dag 执行",
   "pendingDagRun_other": "{{count}} 个待执行 Dag 执行",
   "presetFilters": {
     "deleteTitle": "删除预设筛选条件",
@@ -457,7 +457,7 @@
   "taskInstance_one": "任务实例",
   "taskInstance_other": "任务实例",
   "teams": {
-    "more_one": "及其他 {{count}} 个团队",
+    "more_one": "及其他 1 个团队",
     "more_other": "及其他 {{count}} 个团队",
     "none": "无团队",
     "title": "团队"
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 c091ee402cd..0cfd93ff137 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
@@ -43,7 +43,7 @@
   "deadlineAlerts": {
     "completionRule": "必须在{{reference}}后的 {{interval}} 内完成",
     "completionRuleDynamic": "必须在从{{reference}}起算的可变时间间隔内完成",
-    "count_one": "{{count}} 个截止期限",
+    "count_one": "1 个截止期限",
     "count_other": "{{count}} 个截止期限",
     "referenceType": {
       "AverageRuntimeDeadline": "平均运行时间",
@@ -59,12 +59,12 @@
     "label": "截止期限",
     "met": "已达成",
     "missed": "已错过",
-    "missedCount_one": "{{count}} 个已错过的截止期限",
+    "missedCount_one": "1 个已错过的截止期限",
     "missedCount_other": "{{count}} 个已错过的截止期限",
     "mixedCount": "{{missedCount}} 个已错过,{{upcomingCount}} 个即将到期",
     "stillRunning": "仍在运行",
     "upcoming": "即将到期",
-    "upcomingCount_one": "{{count}} 个即将到期的截止期限",
+    "upcomingCount_one": "1 个即将到期的截止期限",
     "upcomingCount_other": "{{count}} 个即将到期的截止期限"
   },
   "extraLinks": "额外链接",
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 26661223054..ec1dda88b2c 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
@@ -2,8 +2,8 @@
   "alerts": {
     "seeLessContext": "收起",
     "seeMoreContext": "展开",
-    "showMoreAlerts_one": "+ 其他 {{count}} 个警告",
-    "showMoreAlerts_other": "+ 其他 {{count}} 个警告"
+    "showMoreAlerts_one": "+1 个警告",
+    "showMoreAlerts_other": "+{{count}} 个警告"
   },
   "deadlines": {
     "pending": {
@@ -20,7 +20,7 @@
   "deferredSlotsNotCounted": "未计入配额的延迟任务:{{count}}",
   "deferredSlotsNotCountedTooltip": 
"条形图中显示的延迟任务会计入资源池配额。条形图下方显示的延迟任务来自不将延迟任务计入配额的资源池。",
   "favorite": {
-    "favoriteDags_one": "前 {{count}} 个收藏的 Dag",
+    "favoriteDags_one": "前 1 个收藏的 Dag",
     "favoriteDags_other": "前 {{count}} 个收藏的 Dag",
     "noDagRuns": "此 Dag 尚未被触发过。",
     "noFavoriteDags": "尚无收藏的 Dag。请点击 Dag 列表旁的星号图示,将 Dag 加入收藏。"

Reply via email to