gyli commented on code in PR #55122:
URL: https://github.com/apache/airflow/pull/55122#discussion_r2325700470


##########
airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/assets.json:
##########
@@ -0,0 +1,30 @@
+{
+  "consumingDags": "消费 DAGs",
+  "createEvent": {
+    "button": "创建事件",
+    "manual": {
+      "description": "手动创建资源事件",
+      "extra": "资源事件额外信息",
+      "label": "手动"
+    },
+    "materialize": {
+      "description": "触发此资源上游的 DAG",

Review Comment:
   ```suggestion
         "description": "触发此资源上游的 Dag",
   ```
   
   Based on the recent discussion in the email thread, `DAG` is replaced by 
`Dag` or `dag`. Example PR:https://github.com/apache/airflow/pull/55099 
   
   It applied to all other places using `DAG`.



##########
airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/dashboard.json:
##########
@@ -0,0 +1,45 @@
+{
+  "favorite": {
+    "favoriteDags_one": "第 {{ count }} 个收藏的 DAG",
+    "favoriteDags_other": "前 {{ count }} 个收藏的 DAG",
+    "noDagRuns": "此 DAG 尚未被触发过。",
+    "noFavoriteDags": "尚无收藏的 DAG 。请点击 DAG 列表旁的星号图示,将 DAG 加入收藏。"

Review Comment:
   `尚无收藏的 Dag。`
   The space between `Dag` and `。` is not needed.



##########
airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/assets.json:
##########
@@ -0,0 +1,30 @@
+{
+  "consumingDags": "消费 DAGs",

Review Comment:
   ```suggestion
     "consumingDags": "消费者 DAGs",
   ```



##########
airflow-core/src/airflow/ui/public/i18n/locales/zh-CN/dags.json:
##########
@@ -0,0 +1,97 @@
+{
+  "assetSchedule": "{{count}} / {{total}} 个资源事件已更新",
+  "dagActions": {
+    "delete": {
+      "button": "删除 DAG",
+      "warning": "这将会删除所有与此 DAG 相关的系统数据,包括 DAG 执行与任务。"
+    }
+  },
+  "favoriteDag": "将 DAG 加入收藏",
+  "filters": {
+    "allRunTypes": "全部执行类型",
+    "allStates": "全部状态",
+    "favorite": {
+      "all": "全部",
+      "favorite": "已加为收藏",
+      "unfavorite": "未加为收藏"
+    },
+    "paused": {
+      "active": "启用中",
+      "all": "全部",
+      "paused": "暂停"
+    },
+    "runIdPatternFilter": "搜索 DAG 执行",
+    "triggeringUserNameFilter": "搜索触发用户名称"
+  },
+  "ownerLink": "拥有者 {{owner}} 的链接",
+  "runAndTaskActions": {
+    "affectedTasks": {
+      "noItemsFound": "找不到任务。",
+      "title": "受影响的任务: {{count}}"
+    },
+    "clear": {
+      "button": "清除 {{type}}",
+      "buttonTooltip": "按下 shift+c 清除",
+      "error": "清除 {{type}} 时发生错误",
+      "title": "清除 {{type}}"
+    },
+    "delete": {
+      "button": "删除 {{type}}",
+      "dialog": {
+        "resourceName": "{{type}} {{id}}",
+        "title": "删除 {{type}}",
+        "warning": "这将会删除所有与此 {{type}} 相关的系统数据。"
+      },
+      "error": "删除 {{type}} 时发生错误",
+      "success": {
+        "description": "{{type}} 删除请求成功。",
+        "title": "{{type}} 删除成功"
+      }
+    },
+    "markAs": {
+      "button": "标记 {{type}} 为...",
+      "buttonTooltip": {
+        "failed": "按下 shift+f 标记为失败",
+        "success": "按下 shift+s 标记为成功"
+      },
+      "title": "标记为 {{type}} 为 {{state}}"
+    },
+    "options": {
+      "downstream": "下游",
+      "existingTasks": "清除现有任务",
+      "future": "未来",
+      "onlyFailed": "只清除失败任务",
+      "past": "过去",
+      "queueNew": "排队新任务",

Review Comment:
   I think `加入新任务到队列` is a more native saying.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to