This is an automated email from the ASF dual-hosted git repository.
Lee-W 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 f392484cc58 i18n(zh-CN): add missing translations (#68289)
f392484cc58 is described below
commit f392484cc586f3e60d80a0ce2e1ecf210b1cf452
Author: Kevin Yang <[email protected]>
AuthorDate: Wed Jun 10 02:10:12 2026 -0400
i18n(zh-CN): add missing translations (#68289)
---
.../ui/public/i18n/locales/zh-CN/admin.json | 3 +-
.../ui/public/i18n/locales/zh-CN/assets.json | 14 +++++
.../ui/public/i18n/locales/zh-CN/browse.json | 18 ++++++
.../ui/public/i18n/locales/zh-CN/common.json | 63 ++++++++++++++++++-
.../ui/public/i18n/locales/zh-CN/components.json | 8 ++-
.../airflow/ui/public/i18n/locales/zh-CN/dag.json | 73 ++++++++++++++++++++++
.../airflow/ui/public/i18n/locales/zh-CN/dags.json | 5 ++
.../ui/public/i18n/locales/zh-CN/dashboard.json | 2 +
8 files changed, 183 insertions(+), 3 deletions(-)
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 117e73e9214..6e9664e06f9 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
@@ -120,7 +120,8 @@
"includeDeferred": "包含延迟任务",
"nameMaxLength": "名称最多只能包含 256 个字符",
"nameRequired": "名称是必填的",
- "slots": "配额"
+ "slots": "配额",
+ "slotsHelperText": "使用 -1 表示无限配额。"
},
"noPoolsFound": "找不到资源池",
"pool_one": "资源池",
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 2e33ab43614..84a3bb003c0 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
@@ -2,6 +2,19 @@
"additional_data": "附加数据",
"asset_many": "资源",
"asset_one": "资源",
+ "assetStore": {
+ "add": "新增资源存储",
+ "clearAll": {
+ "resource": "所有资源存储",
+ "title": "清除所有资源存储",
+ "warning": "所有资源存储都将被清空。使用此存储协调工作的任务将丢失其持久化数据。"
+ },
+ "delete": "删除资源存储",
+ "deleteWarning": "该资源将丢失此持久化的存储条目。",
+ "edit": "编辑资源存储",
+ "emptyState": "资源存储保存与某个资源身份关联的值,并在所有 Dag 执行之间共享。工作节点可以通过 Task SDK
写入资源存储。",
+ "title": "资源存储"
+ },
"consumingDags": "消费者 Dags",
"consumingTasks": "消费者任务",
"createEvent": {
@@ -25,6 +38,7 @@
},
"title": "为 {{name}} 创建资源事件"
},
+ "events": "事件",
"extra": "额外信息",
"group": "分组",
"lastAssetEvent": "最后资源事件",
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 91625ddb173..2a806604ac9 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
@@ -11,6 +11,24 @@
},
"title": "审计日志"
},
+ "deadlines": {
+ "columns": {
+ "alertName": "警告名称",
+ "deadlineTime": "截止时间",
+ "status": "状态"
+ },
+ "deadline_one": "截止期限",
+ "deadline_other": "截止期限",
+ "filters": {
+ "status": "状态",
+ "statusOptions": {
+ "all": "全部",
+ "missed": "已错过",
+ "pending": "待处理"
+ }
+ },
+ "title": "截止期限"
+ },
"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 1c4812e32de..7db7f7939c2 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
@@ -18,16 +18,21 @@
"asset_other": "资源",
"assetEvent_one": "资源事件",
"assetEvent_other": "资源事件",
+ "assetInactive": {
+ "tooltip": "上游资源已停用;调度器将暂停分区评估,直到其重新启用。"
+ },
"backfill_one": "回填",
"backfill_other": "回填",
"browse": {
"auditLog": "审计日志",
+ "deadlines": "截止期限",
"jobs": "作业",
"requiredActions": "待响应的任务实例",
"xcoms": "XComs"
},
"collapseAllExtra": "收起所有额外 JSON",
"collapseDetailsPanel": "收起详细信息",
+ "consumingAsset": "消费者资源",
"createdAssetEvent_one": "已创建资源事件",
"createdAssetEvent_other": "已创建资源事件",
"dag_one": "Dag",
@@ -108,6 +113,12 @@
"notFound": "找不到页面",
"title": "错误"
},
+ "errors": {
+ "forbidden": {
+ "description": "您没有权限执行此操作。",
+ "title": "拒绝访问"
+ }
+ },
"expand": {
"collapse": "收起",
"expand": "展开",
@@ -130,9 +141,12 @@
"logicalDateTo": "逻辑结束日期",
"runAfterFrom": "执行时间起始",
"runAfterTo": "执行时间结束",
+ "searchAsset": "搜索资源",
"selectDateRange": "选择日期范围",
"startTime": "开始时间"
},
+ "generateToken": "生成令牌",
+ "key": "键",
"logicalDate": "逻辑日期",
"logout": "退出登录",
"logoutConfirmation": "确定要退出登录吗?",
@@ -176,6 +190,7 @@
"reset": "重置",
"runId": "执行 ID",
"runTypes": {
+ "asset_materialization": "资源物化",
"asset_triggered": "资源触发",
"backfill": "回填",
"manual": "手动触发",
@@ -188,6 +203,12 @@
},
"tooltip": "按 {{hotkey}} 滚动到{{direction}}"
},
+ "search": {
+ "advanced": {
+ "description": "在值中的任意位置匹配(子串搜索)。在大型部署中较慢,因为它无法使用默认的 B-tree
索引。详情请参阅文档中关于自定义元数据索引的章节。",
+ "title": "任意位置匹配"
+ }
+ },
"security": {
"actions": "操作",
"permissions": "权限",
@@ -196,6 +217,7 @@
"users": "用户"
},
"selectLanguage": "选择语言",
+ "selected": "已选择",
"showDetailsPanel": "显示详细信息",
"signedInAs": "当前登录身份",
"source": {
@@ -208,6 +230,7 @@
"startDate": "开始日期",
"state": "状态",
"states": {
+ "awaiting_input": "等待输入",
"deferred": "已延后",
"failed": "失败",
"no_status": "无状态",
@@ -240,7 +263,8 @@
"any": "任何"
},
"tagPlaceholder": "按标签筛选",
- "to": "结束时间"
+ "to": "结束时间",
+ "updatedAt": "更新时间"
},
"task": {
"documentation": "任务文档",
@@ -250,6 +274,11 @@
},
"task_one": "任务",
"task_other": "任务",
+ "taskGroup": {
+ "documentation": "任务分组文档"
+ },
+ "taskGroup_one": "任务分组",
+ "taskGroup_other": "任务分组",
"taskId": "任务 ID",
"taskInstance": {
"dagVersion": "Dag 版本",
@@ -263,6 +292,7 @@
"priorityWeight": "优先级权重",
"queue": "排队",
"queuedWhen": "开始排队时间",
+ "renderedMapIndex": "已渲染映射索引",
"scheduledWhen": "开始调度时间",
"triggerer": {
"assigned": "指派的触发器",
@@ -295,6 +325,13 @@
"utc": "UTC"
},
"toaster": {
+ "bulkClear": {
+ "error": "批量清除 {{resourceName}} 请求失败",
+ "success": {
+ "description": "已成功清除 {{count}} 个 {{resourceName}}。键:{{keys}}",
+ "title": "已提交批量清除 {{resourceName}} 请求"
+ }
+ },
"bulkDelete": {
"error": "批量删除 {{resourceName}} 请求失败",
"success": {
@@ -302,6 +339,13 @@
"title": "已提交批量删除 {{resourceName}} 请求"
}
},
+ "bulkUpdate": {
+ "error": "批量更新 {{resourceName}} 请求失败",
+ "success": {
+ "description": "已成功更新 {{count}} 个 {{resourceName}}。键:{{keys}}",
+ "title": "已提交批量更新 {{resourceName}} 请求"
+ }
+ },
"create": {
"error": "创建 {{resourceName}} 请求失败",
"success": {
@@ -331,10 +375,27 @@
}
}
},
+ "tokenGeneration": {
+ "apiToken": "API 令牌",
+ "cliToken": "CLI 令牌",
+ "errorDescription": "生成令牌时发生错误。请重试。",
+ "errorTitle": "令牌生成失败",
+ "generate": "生成",
+ "selectType": "请选择要生成的令牌类型。",
+ "title": "生成令牌",
+ "tokenExpiresIn": "此令牌将在 {{duration}} 后过期。",
+ "tokenGenerated": "您的令牌已生成。",
+ "tokenShownOnce": "此令牌仅显示一次。请立即复制。"
+ },
"total": "总计 {{state}}",
"triggered": "已触发",
"tryNumber": "尝试次数",
"user": "用户",
+ "validation": {
+ "mustBeAtLeast": "不能小于 {{min}}。",
+ "mustBeValidNumber": "必须是有效的数字。"
+ },
+ "value": "值",
"wrap": {
"hotkey": "w",
"tooltip": "按 {{hotkey}} 切换换行",
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 ceb20f95a98..4660fe3afd3 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
@@ -10,9 +10,12 @@
"maxRuns": "活跃执行数上限",
"missingAndErroredRuns": "遗漏和错误的执行",
"missingRuns": "遗漏的执行",
+ "overrideExistingParams": "覆盖现有执行的参数",
"permissionDenied": "预演失败:用户没有权限创建回填作业。",
"reprocessBehavior": "重新处理行为",
"run": "执行回填",
+ "scheduleNotBackfillable": "此 Dag 的调度不支持回填",
+ "schedulerPriorityHint": "在每个调度周期中,回填 Dag 执行的排序位于非回填 Dag
执行之后。如果存在其他非回填执行,回填执行可能会排队更久。",
"selectDescription": "为指定的日期范围补上 Dag 执行",
"selectLabel": "回填",
"title": "执行回填",
@@ -70,6 +73,7 @@
"files_other": "{{count}} 个文件"
},
"flexibleForm": {
+ "durationPlaceholder": "请输入 ISO 8601 格式的持续时间",
"placeholder": "请选择一个值",
"placeholderArray": "请逐行输入,每行输入一个字符串",
"placeholderExamples": "开始输入以查看选项",
@@ -77,6 +81,7 @@
"validationErrorArrayNotArray": "值必须是数组格式。",
"validationErrorArrayNotNumbers": "数组中的所有元素都必须是数字。",
"validationErrorArrayNotObject": "数组中的所有元素都必须是对象。",
+ "validationErrorDuration": "无效的 ISO 8601 持续时间格式",
"validationErrorRequired": "此为必填字段"
},
"graph": {
@@ -90,7 +95,8 @@
"otherDagRuns": "+ 其他 Dag 执行",
"taskCount_one": "1 个任务",
"taskCount_other": "{{count}} 个任务",
- "taskGroup": "任务分组"
+ "taskGroup": "任务分组",
+ "zoomToTask": "缩放至选定任务"
},
"limitedList": "+ 其他 {{count}} 项",
"limitedList.allItems": "所有 {{count}} 项:",
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 4307c3603b2..3c99085f604 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
@@ -40,9 +40,37 @@
"parseDuration": "解析耗时:",
"parsedAt": "解析时间:"
},
+ "deadlineAlerts": {
+ "completionRule": "必须在 {{reference}} 后的 {{interval}} 内完成",
+ "count_one": "{{count}} 个截止期限",
+ "count_other": "{{count}} 个截止期限",
+ "referenceType": {
+ "AverageRuntimeDeadline": "平均运行时间",
+ "DagRunLogicalDateDeadline": "逻辑日期",
+ "DagRunQueuedAtDeadline": "排队时间"
+ }
+ },
+ "deadlineStatus": {
+ "actual": "实际",
+ "expected": "预期",
+ "finishedEarly": "在截止期限前 {{duration}} 完成",
+ "finishedLate": "在截止期限后 {{duration}} 完成",
+ "label": "截止期限",
+ "met": "已达成",
+ "missed": "已错过",
+ "missedCount_one": "{{count}} 个已错过的截止期限",
+ "missedCount_other": "{{count}} 个已错过的截止期限",
+ "mixedCount": "{{missedCount}} 个已错过,{{upcomingCount}} 个即将到期",
+ "stillRunning": "仍在运行",
+ "upcoming": "即将到期",
+ "upcomingCount_one": "{{count}} 个即将到期的截止期限",
+ "upcomingCount_other": "{{count}} 个即将到期的截止期限"
+ },
"extraLinks": "额外链接",
"grid": {
"buttons": {
+ "newerRuns": "较新的执行",
+ "olderRuns": "较早的执行",
"resetToLatest": "重置为最新",
"toggleGroup": "切换分组状态"
},
@@ -52,6 +80,9 @@
"buttons": {
"advanced": "高级功能",
"dagDocs": "Dag 文档"
+ },
+ "status": {
+ "deactivated": "已停用"
}
},
"logs": {
@@ -66,12 +97,18 @@
},
"info": "INFO",
"noTryNumber": "没有重试次数",
+ "search": {
+ "matchCount": "{{current}} / {{total}}",
+ "noMatches": "无匹配项",
+ "placeholder": "搜索日志…"
+ },
"settings": "日志设置",
"viewInExternal": "在 {{name}} 中查看日志(重试 {{attempt}})",
"warning": "WARNING"
},
"navigation": {
"navigation": "导航: {{arrow}}",
+ "openGraphFilters": "任务筛选器: Ctrl+Shift+F",
"toggleGroup": "展开/收起分组: 空格键"
},
"notFound": {
@@ -93,6 +130,10 @@
"assetEvent_one": "已创建资源事件",
"assetEvent_other": "已创建资源事件"
},
+ "deadlines": {
+ "showAll": "全部显示",
+ "title": "截止期限"
+ },
"failedLogs": {
"hideLogs": "隐藏日志",
"showLogs": "显示日志",
@@ -122,6 +163,16 @@
"graphDirection": {
"label": "图表方向"
},
+ "graphFilters": {
+ "clearFilters": "清除筛选器",
+ "durationGte": "最短持续时间 (秒)",
+ "durationGteHint": "对于已映射任务,统计所有实例的总时长",
+ "mapIndex": "最小映射索引",
+ "mapIndexHint": "展开已映射任务,至少显示到此索引",
+ "selectStatus": "选择状态",
+ "selectTaskGroup": "选择任务分组",
+ "title": "任务筛选器"
+ },
"showVersionIndicator": {
"label": "显示版本指示器",
"options": {
@@ -179,12 +230,34 @@
"renderedTemplates": "渲染后的模板",
"requiredActions": "待响应的任务实例",
"runs": "执行记录",
+ "storage": "存储",
"taskInstances": "任务实例",
+ "taskStore": "任务存储",
"tasks": "任务",
"xcom": "XCom"
},
"taskGroups": {
"collapseAll": "收起所有任务分组",
"expandAll": "展开所有任务分组"
+ },
+ "taskStore": {
+ "add": "新增任务存储",
+ "clearAll": {
+ "resource": "所有任务存储",
+ "title": "清除所有任务存储",
+ "warning": "所有任务存储都将被清空。使用此存储跟踪外部工作的任务将无法恢复,必须从头重新运行。"
+ },
+ "delete": "删除任务存储",
+ "deleteWarning": "该任务将丢失此持久化数据。如果任务使用此键跟踪外部工作(例如外部作业 ID),将无法恢复该工作。",
+ "edit": "编辑任务存储",
+ "emptyStore": "任务存储保存可在多次重试之间持久化的值。工作节点可以通过 Task SDK 写入任务存储。",
+ "expiresAt": {
+ "column": "过期时间",
+ "custom": "自定义",
+ "default": "默认 ({{interval}})",
+ "label": "过期",
+ "never": "永不"
+ },
+ "title": "任务存储"
}
}
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 2f74392d809..db646b91d80 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
@@ -34,6 +34,11 @@
"error": "清除 {{type}} 时发生错误",
"title": "清除 {{type}}"
},
+ "clearAllMapped": {
+ "button": "清除所有已映射任务",
+ "buttonTooltip": "按下 shift+c 清除所有已映射任务实例",
+ "title": "清除所有已映射任务实例"
+ },
"confirmationDialog": {
"description": "任务当前处于 {{state}} 状态,由用户 {{user}} 于 {{time}}
启动。\n在任务完成执行前,或用户在清除任务对话框中取消勾选「防止重复执行执行中的任务」选项前,无法清除此任务。",
"title": "无法清除任务实例"
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 6338ec24978..011d479933a 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
@@ -1,4 +1,6 @@
{
+ "deferredSlotsNotCounted": "未计入配额的延迟任务:{{count}}",
+ "deferredSlotsNotCountedTooltip":
"条形图中显示的延迟任务会计入资源池配额。条形图下方显示的延迟任务来自不将延迟任务计入配额的资源池。",
"favorite": {
"favoriteDags_one": "第 {{ count }} 个收藏的 Dag",
"favoriteDags_other": "前 {{ count }} 个收藏的 Dag",