This is an automated email from the ASF dual-hosted git repository.
potiuk 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 267a640e041 complete zh-CN translation by adding missing keys (#63077)
267a640e041 is described below
commit 267a640e04179a6031c92ee5f66b7bbea2a15209
Author: Kevin Yang <[email protected]>
AuthorDate: Wed Mar 11 12:52:19 2026 -0400
complete zh-CN translation by adding missing keys (#63077)
---
.../ui/public/i18n/locales/zh-CN/admin.json | 24 +++++++++++++
.../ui/public/i18n/locales/zh-CN/assets.json | 9 ++++-
.../ui/public/i18n/locales/zh-CN/browse.json | 26 +++++++++++++-
.../ui/public/i18n/locales/zh-CN/common.json | 42 ++++++++++++++++------
.../ui/public/i18n/locales/zh-CN/components.json | 30 ++++++++++++++++
.../airflow/ui/public/i18n/locales/zh-CN/dag.json | 40 ++++++++++++++++++++-
.../airflow/ui/public/i18n/locales/zh-CN/dags.json | 5 +++
.../ui/public/i18n/locales/zh-CN/dashboard.json | 3 +-
.../airflow/ui/public/i18n/locales/zh-CN/hitl.json | 4 +++
9 files changed, 169 insertions(+), 14 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 c80f8a8bcb6..221a30d6c5c 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
@@ -3,6 +3,7 @@
"description": "描述",
"key": "键",
"name": "名称",
+ "team": "团队",
"value": "值"
},
"config": {
@@ -49,6 +50,12 @@
"searchPlaceholder": "搜索连接",
"test": "测试连接",
"testDisabled": "测试连接功能已停用。请联系管理员以启用。",
+ "testError": {
+ "title": "测试连接失败"
+ },
+ "testSuccess": {
+ "title": "测试连接成功"
+ },
"typeMeta": {
"error": "获取连接类型元数据失败",
"standardFields": {
@@ -74,6 +81,23 @@
"formActions": {
"save": "保存"
},
+ "jobs": {
+ "columns": {
+ "executorClass": "执行器类别",
+ "hostname": "主机名称",
+ "id": "ID",
+ "jobType": "作业类型",
+ "latestHeartbeat": "最新心跳",
+ "unixname": "Unix 名称"
+ },
+ "filters": {
+ "allStates": "全部状态",
+ "allTypes": "全部类型",
+ "dagProcessorJob": "Dag 处理器作业",
+ "schedulerJob": "调度器作业",
+ "triggererJob": "触发器作业"
+ }
+ },
"plugins": {
"columns": {
"source": "来源"
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 059726de65f..2e33ab43614 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
@@ -1,5 +1,9 @@
{
+ "additional_data": "附加数据",
+ "asset_many": "资源",
+ "asset_one": "资源",
"consumingDags": "消费者 Dags",
+ "consumingTasks": "消费者任务",
"createEvent": {
"button": "创建事件",
"manual": {
@@ -21,10 +25,13 @@
},
"title": "为 {{name}} 创建资源事件"
},
+ "extra": "额外信息",
"group": "分组",
"lastAssetEvent": "最后资源事件",
"name": "名称",
"producingTasks": "生产任务",
"scheduledDags": "已调度的 Dags",
- "searchPlaceholder": "搜索资源"
+ "scheduling": "调度",
+ "searchPlaceholder": "搜索资源",
+ "taskDependencies": "任务依赖"
}
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 8888c377839..91625ddb173 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,11 +12,35 @@
"title": "审计日志"
},
"xcom": {
+ "add": {
+ "error": "添加 XCom 失败",
+ "errorTitle": "错误",
+ "success": "XCom 添加成功",
+ "successTitle": "已添加 XCom",
+ "title": "添加 XCom"
+ },
"columns": {
"dag": "Dag",
"key": "键",
"value": "值"
},
- "title": "XCom"
+ "delete": {
+ "error": "删除 XCom 失败",
+ "errorTitle": "错误",
+ "success": "XCom 删除成功",
+ "successTitle": "已删除 XCom",
+ "title": "删除 XCom",
+ "warning": "确定要删除此 XCom 吗?此操作无法还原。"
+ },
+ "edit": {
+ "error": "更新 XCom 失败",
+ "errorTitle": "错误",
+ "success": "XCom 更新成功",
+ "successTitle": "已更新 XCom",
+ "title": "编辑 XCom"
+ },
+ "key": "键",
+ "title": "XCom",
+ "value": "值"
}
}
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 0c22b45055c..c5a0d51df0c 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
@@ -22,6 +22,7 @@
"backfill_other": "回填",
"browse": {
"auditLog": "审计日志",
+ "jobs": "作业",
"requiredActions": "待响应的任务实例",
"xcoms": "XComs"
},
@@ -60,6 +61,8 @@
"dataIntervalEnd": "数据区间结束",
"dataIntervalStart": "数据区间起始",
"lastSchedulingDecision": "最后调度决策",
+ "mappedPartitionKey": "映射分区键",
+ "partitionKey": "分区键",
"queuedAt": "开始排队时间",
"runAfter": "最早可执行时间",
"runType": "执行类型",
@@ -73,18 +76,30 @@
"dagWarnings": "Dag 警告 / 错误",
"defaultToGraphView": "默认使用图形视图",
"defaultToGridView": "默认使用网格视图",
+ "delete": "删除",
+ "diff": "差异对比",
+ "diffCompareWith": "比较对象",
+ "diffExit": "退出差异对比",
+ "diffSelectVersionToCompare": "选择要比较的版本",
"direction": "书写方向",
"docs": {
"documentation": "文档",
"githubRepo": "GitHub 仓库",
"restApiReference": "REST API 参考"
},
+ "download": {
+ "download": "下载",
+ "hotkey": "d",
+ "tooltip": "按 {{hotkey}} 下载日志"
+ },
"duration": "执行时间",
+ "edit": "编辑",
"endDate": "结束日期",
"error": {
"back": "返回",
"defaultMessage": "发生未预期的错误",
"home": "首页",
+ "invalidUrl": "找不到页面。请检查 URL 后重试。",
"notFound": "找不到页面",
"title": "错误"
},
@@ -103,22 +118,29 @@
},
"filter": "筛选",
"filters": {
+ "durationFrom": "持续时间起始",
+ "durationTo": "持续时间结束",
+ "endTime": "结束时间",
"logicalDateFrom": "逻辑日期起始",
"logicalDateTo": "逻辑结束日期",
"runAfterFrom": "执行时间起始",
- "runAfterTo": "执行时间结束"
+ "runAfterTo": "执行时间结束",
+ "selectDateRange": "选择日期范围",
+ "startTime": "开始时间"
},
"logicalDate": "逻辑日期",
"logout": "退出登录",
"logoutConfirmation": "确定要退出登录吗?",
"mapIndex": "映射索引",
"modal": {
+ "add": "添加",
"cancel": "取消",
"confirm": "确认",
"delete": {
"button": "删除",
"confirmation": "确定要删除 {{resourceName}} 吗?此操作无法还原。"
- }
+ },
+ "save": "保存"
},
"nav": {
"admin": "管理",
@@ -139,15 +161,13 @@
"placeholder": "添加笔记...",
"taskInstance": "任务实例笔记"
},
- "pools": {
- "deferred": "已延后",
- "open": "开放",
- "pools_one": "资源池",
- "pools_other": "资源池",
- "queued": "排队中",
- "running": "执行中",
- "scheduled": "已调度"
+ "partitionedDagRun_one": "分区 Dag 执行",
+ "partitionedDagRun_other": "分区 Dag 执行",
+ "partitionedDagRunDetail": {
+ "receivedAssetEvents": "接收到的资源事件"
},
+ "pendingDagRun_one": "{{count}} 个待执行 Dag 执行",
+ "pendingDagRun_other": "{{count}} 个待执行 Dag 执行",
"reset": "重置",
"runId": "执行 ID",
"runTypes": {
@@ -172,6 +192,7 @@
},
"selectLanguage": "选择语言",
"showDetailsPanel": "显示详细信息",
+ "signedInAs": "当前登录身份",
"source": {
"hide": "隐藏来源",
"hotkey": "s",
@@ -186,6 +207,7 @@
"failed": "失败",
"no_status": "无状态",
"none": "无状态",
+ "open": "开放",
"planned": "已计划",
"queued": "排队中",
"removed": "已移除",
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 13d6c72767c..a4a06d2ea00 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,6 +10,7 @@
"maxRuns": "活跃执行数上限",
"missingAndErroredRuns": "遗漏和错误的执行",
"missingRuns": "遗漏的执行",
+ "permissionDenied": "预演失败:用户没有权限创建回填作业。",
"reprocessBehavior": "重新处理行为",
"run": "执行回填",
"selectDescription": "为指定的日期范围补上 Dag 执行",
@@ -49,6 +50,13 @@
"warning_one": "1 个警告",
"warning_other": "{{count}} 个警告"
},
+ "dateRangeFilter": {
+ "validation": {
+ "invalidDateFormat": "日期格式无效。",
+ "invalidTimeFormat": "时间格式无效。",
+ "startBeforeEnd": "开始日期/时间必须早于结束日期/时间"
+ }
+ },
"durationChart": {
"duration": "持续时间 (秒)",
"lastDagRun_one": "最近 1 次 Dag 执行",
@@ -87,9 +95,13 @@
},
"limitedList": "+ 其他 {{count}} 项",
"limitedList.allItems": "所有 {{count}} 项:",
+ "limitedList.allTags_one": "所有标签 (1)",
+ "limitedList.allTags_other": "所有标签 ({{count}})",
"limitedList.clickToInteract": "点击标签以筛选 Dags",
"limitedList.clickToOpenFull": "点击 \"+{{count}} 更多\" 打开完整视图",
"limitedList.copyPasteText": "你可以复制并粘贴上方文本",
+ "limitedList.showingItems_one": "显示 1 项",
+ "limitedList.showingItems_other": "显示 {{count}} 项",
"logs": {
"file": "文件",
"location": "第 {{line}} 行,位于 {{name}}"
@@ -99,17 +111,34 @@
"sortedDescending": "递减排序",
"sortedUnsorted": "未排序",
"taskTries": "任务尝试次数",
+ "taskTryPlaceholder": "任务尝试",
+ "team": {
+ "selector": {
+ "helperText": "选填。仅限指定团队使用。",
+ "label": "团队",
+ "placeHolder": "选择团队"
+ }
+ },
"toggleCardView": "显示卡片视图",
"toggleTableView": "显示表格视图",
"triggerDag": {
"button": "触发",
+ "dataInterval": "数据区间",
+ "dataIntervalAuto": "根据逻辑日期和时间表自动推断",
+ "dataIntervalManual": "手动指定",
+ "intervalEnd": "结束",
+ "intervalStart": "开始",
"loading": "正在加载 Dag 信息...",
"loadingFailed": "加载 Dag 信息失败,请重试。",
+ "manualRunDenied": "此 Dag 不允许手动执行",
"runIdHelp": "选填 - 若未提供将会自动生成",
"selectDescription": "触发此 Dag 单次执行",
"selectLabel": "单次执行",
"title": "触发 Dag",
"toaster": {
+ "error": {
+ "title": "触发 Dag 失败"
+ },
"success": {
"description": "已成功触发 Dag 执行。",
"title": "已触发 Dag 执行"
@@ -131,6 +160,7 @@
"versionId": "版本 ID"
},
"versionSelect": {
+ "allVersions": "所有版本",
"dagVersion": "Dag 版本",
"versionCode": "v{{versionCode}}"
}
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 6f9a498f7a2..4307c3603b2 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
@@ -10,6 +10,7 @@
"hourly": "每小时",
"legend": {
"less": "更少",
+ "mixed": "混合",
"more": "更多"
},
"navigation": {
@@ -19,6 +20,7 @@
"previousYear": "上一年"
},
"noData": "无数据",
+ "noFailedRuns": "无失败的执行",
"noRuns": "未执行",
"totalRuns": "总执行次数",
"week": "第 {{weekNumber}} 周",
@@ -43,7 +45,8 @@
"buttons": {
"resetToLatest": "重置为最新",
"toggleGroup": "切换分组状态"
- }
+ },
+ "runTypeLegend": "执行类型图例"
},
"header": {
"buttons": {
@@ -71,6 +74,12 @@
"navigation": "导航: {{arrow}}",
"toggleGroup": "展开/收起分组: 空格键"
},
+ "notFound": {
+ "back": "返回",
+ "backToDags": "返回 Dags",
+ "message": "Dag \"{{dagId}}\" 不存在。",
+ "title": "找不到 Dag"
+ },
"overview": {
"buttons": {
"failedRun_one": "失败的执行",
@@ -112,6 +121,35 @@
},
"graphDirection": {
"label": "图表方向"
+ },
+ "showVersionIndicator": {
+ "label": "显示版本指示器",
+ "options": {
+ "hideAll": "全部隐藏",
+ "showAll": "全部显示",
+ "showBundleVersion": "显示套件包版本",
+ "showDagVersion": "显示 Dag 版本"
+ }
+ },
+ "taskStreamFilter": {
+ "activeFilter": "已启用的筛选器",
+ "clearFilter": "清除筛选器",
+ "clickTask": "点击任务以选取为筛选根节点",
+ "depth": "深度",
+ "direction": "方向",
+ "label": "筛选",
+ "mode": "模式",
+ "modeTooltip": "静态模式下切换任务时保持当前视图不变,遍历模式下点击任务时自动更新筛选条件,方便浏览 Dag 结构。",
+ "modes": {
+ "static": "静态",
+ "traverse": "遍历"
+ },
+ "options": {
+ "both": "同时显示上游和下游",
+ "downstream": "下游",
+ "upstream": "上游"
+ },
+ "selectedTask": "已选择的任务"
}
},
"paramsFailed": "加载参数失败",
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 90ba4ff9588..2f74392d809 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,10 @@
"error": "清除 {{type}} 时发生错误",
"title": "清除 {{type}}"
},
+ "confirmationDialog": {
+ "description": "任务当前处于 {{state}} 状态,由用户 {{user}} 于 {{time}}
启动。\n在任务完成执行前,或用户在清除任务对话框中取消勾选「防止重复执行执行中的任务」选项前,无法清除此任务。",
+ "title": "无法清除任务实例"
+ },
"delete": {
"button": "删除 {{type}}",
"dialog": {
@@ -61,6 +65,7 @@
"future": "未来",
"onlyFailed": "只清除失败任务",
"past": "过去",
+ "preventRunningTasks": "防止重复执行执行中的任务",
"queueNew": "加入新任务到队列",
"runOnLatestVersion": "执行最新套件包版本",
"upstream": "上游"
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 89022de3eb7..6338ec24978 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
@@ -29,7 +29,8 @@
"poolSlots": "资源池配额",
"sortBy": {
"newestFirst": "由新到旧",
- "oldestFirst": "由旧到新"
+ "oldestFirst": "由旧到新",
+ "placeholder": "排序方式"
},
"source": "来源",
"stats": {
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/hitl.json
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/hitl.json
index 0c4cc910c60..4548c577067 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/hitl.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/hitl.json
@@ -1,5 +1,7 @@
{
"filters": {
+ "body": "内容",
+ "createdAt": "创建时间",
"response": {
"all": "全部",
"pending": "待响应",
@@ -12,11 +14,13 @@
"requiredActionCount_other": "待操作的任务实例 ({{count}})",
"requiredActionState": "待操作的任务实例状态",
"response": {
+ "created": "响应创建时间:",
"error": "响应失败",
"optionsDescription": "请为此任务实例选择一个选项",
"optionsLabel": "选项",
"received": "收到响应的时间:",
"respond": "发送响应",
+ "responded_by_user_name": "响应者(用户名称)",
"success": "任务 {{taskId}} 响应成功",
"title": "人类参与流程任务实例 - {{taskId}}"
},