Skip to content

Commit cce1876

Browse files
guan404mingSudi-Lyu
authored andcommitted
Add scrollTo buttons in TaskLogContent (apache#51943)
* Add scrollTo buttons in TaskLogContent * Update visibility logic, keyboard shortcuts and position issues * Add parsedLogs in useMemo dep list * Update hotkey display with meta key
1 parent 619256f commit cce1876

File tree

2 files changed

+350
-19
lines changed

2 files changed

+350
-19
lines changed
Lines changed: 278 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,278 @@
1+
{
2+
"admin": {
3+
"Config": "設定",
4+
"Connections": "連線",
5+
"Plugins": "外掛",
6+
"Pools": "資源池",
7+
"Providers": "Providers",
8+
"Variables": "變數"
9+
},
10+
"asset_one": "資源",
11+
"asset_other": "資源",
12+
"assetEvent_one": "資源事件",
13+
"assetEvent_other": "資源事件",
14+
"backfill_one": "回填",
15+
"backfill_other": "回填",
16+
"browse": {
17+
"auditLog": "審計日誌",
18+
"xcoms": "XComs"
19+
},
20+
"createdAssetEvent_one": "已建立資源事件",
21+
"createdAssetEvent_other": "已建立資源事件",
22+
"dag_one": "Dag",
23+
"dag_other": "Dags",
24+
"dagDetails": {
25+
"catchup": "自動回填",
26+
"concurrency": "並行數",
27+
"dagRunTimeout": "Dag 執行超時",
28+
"defaultArgs": "預設參數",
29+
"description": "描述",
30+
"documentation": "Dag 文件",
31+
"fileLocation": "檔案位置",
32+
"hasTaskConcurrencyLimits": "有任務並行數限制",
33+
"lastExpired": "最後過期時間",
34+
"lastParsed": "最後解析時間",
35+
"latestDagVersion": "最新 Dag 版本",
36+
"latestRun": "上次 Dag 執行",
37+
"maxActiveRuns": "活躍執行數上限",
38+
"maxActiveTasks": "活躍任務數上限",
39+
"maxConsecutiveFailedDagRuns": "連續失敗執行數上限",
40+
"nextRun": "下次 Dag 執行",
41+
"owner": "擁有者",
42+
"params": "參數",
43+
"schedule": "排程",
44+
"tags": "標籤"
45+
},
46+
"dagId": "Dag ID",
47+
"dagRun": {
48+
"conf": "設定",
49+
"dagVersions": "Dag 版本",
50+
"dataIntervalEnd": "資料區間結束",
51+
"dataIntervalStart": "資料區間起始",
52+
"lastSchedulingDecision": "最後排程決策",
53+
"queuedAt": "開始排隊時間",
54+
"runAfter": "最早可執行時間",
55+
"runType": "執行類型",
56+
"sourceAssetEvent": "來源資源事件",
57+
"triggeredBy": "觸發者"
58+
},
59+
"dagRun_one": "Dag 執行",
60+
"dagRun_other": "Dag 執行",
61+
"dagWarnings": "Dag 警告 / 錯誤",
62+
"defaultToGraphView": "預設使用圖形視圖",
63+
"defaultToGridView": "預設使用網格視圖",
64+
"direction": "書寫方向",
65+
"docs": {
66+
"documentation": "文件",
67+
"githubRepo": "GitHub 倉庫",
68+
"restApiReference": "REST API 參考"
69+
},
70+
"duration": "執行時間",
71+
"endDate": "結束日期",
72+
"error": {
73+
"back": "返回",
74+
"defaultMessage": "發生未預期的錯誤",
75+
"home": "首頁",
76+
"notFound": "找不到頁面",
77+
"title": "錯誤"
78+
},
79+
"expression": {
80+
"all": "全部",
81+
"and": "",
82+
"any": "任何",
83+
"or": ""
84+
},
85+
"logicalDate": "邏輯日期",
86+
"logout": "登出",
87+
"logoutConfirmation": "確定要登出嗎?",
88+
"mapIndex": "映射索引",
89+
"modal": {
90+
"cancel": "取消",
91+
"confirm": "確認",
92+
"delete": {
93+
"button": "刪除",
94+
"confirmation": "確定要刪除 {{resourceName}} 嗎?此操作無法還原。"
95+
}
96+
},
97+
"nav": {
98+
"admin": "管理者",
99+
"assets": "資源",
100+
"browse": "瀏覽",
101+
"dags": "Dags",
102+
"docs": "文件",
103+
"home": "首頁",
104+
"plugins": "插件",
105+
"security": "安全"
106+
},
107+
"noItemsFound": "找不到 {{modelName}}",
108+
"note": {
109+
"add": "新增筆記",
110+
"dagRun": "Dag 執行筆記",
111+
"label": "筆記",
112+
"placeholder": "新增筆記...",
113+
"taskInstance": "任務實例筆記"
114+
},
115+
"pools": {
116+
"deferred": "已延後",
117+
"open": "開放",
118+
"pools_one": "資源池",
119+
"pools_other": "資源池",
120+
"queued": "排隊中",
121+
"running": "執行中",
122+
"scheduled": "已排程"
123+
},
124+
"runId": "執行 ID",
125+
"runTypes": {
126+
"asset_triggered": "資源觸發",
127+
"backfill": "回填",
128+
"manual": "手動觸發",
129+
"scheduled": "已排程"
130+
},
131+
"scroll": {
132+
"direction": {
133+
"bottom": "最下方",
134+
"top": "最上方"
135+
},
136+
"tooltip": "按 {{hotkey}} 捲動到{{direction}}"
137+
},
138+
"seconds": "{{count}} 秒",
139+
"security": {
140+
"actions": "操作",
141+
"permissions": "權限",
142+
"resources": "資源",
143+
"roles": "角色",
144+
"users": "使用者"
145+
},
146+
"selectLanguage": "選擇語言",
147+
"sourceAssetEvent_one": "來源資源事件",
148+
"sourceAssetEvent_other": "來源資源事件",
149+
"startDate": "開始日期",
150+
"state": "狀態",
151+
"states": {
152+
"deferred": "已延後",
153+
"failed": "失敗",
154+
"no_status": "無狀態",
155+
"none": "無狀態",
156+
"queued": "排隊中",
157+
"removed": "已移除",
158+
"restarting": "重啟中",
159+
"running": "執行中",
160+
"scheduled": "已排程",
161+
"skipped": "已跳過",
162+
"success": "成功",
163+
"up_for_reschedule": "等待重新排程",
164+
"up_for_retry": "等待重試",
165+
"upstream_failed": "上游任務失敗"
166+
},
167+
"switchToDarkMode": "切換到深色模式",
168+
"switchToLightMode": "切換到淺色模式",
169+
"table": {
170+
"completedAt": "完成時間",
171+
"createdAt": "建立時間",
172+
"filterByTag": "依標籤篩選 Dags",
173+
"filterColumns": "篩選表格欄位",
174+
"filterReset_one": "重置篩選",
175+
"filterReset_other": "重置篩選",
176+
"from": "",
177+
"maxActiveRuns": "最大活躍執行數",
178+
"noTagsFound": "找不到標籤",
179+
"tagMode": {
180+
"all": "全部",
181+
"any": "任何"
182+
},
183+
"tagPlaceholder": "依標籤篩選",
184+
"to": ""
185+
},
186+
"task": {
187+
"documentation": "任務文件",
188+
"lastInstance": "最後實例",
189+
"operator": "任務操作器",
190+
"triggerRule": "觸發規則"
191+
},
192+
"task_one": "任務",
193+
"task_other": "任務",
194+
"taskId": "任務 ID",
195+
"taskInstance": {
196+
"dagVersion": "Dag 版本",
197+
"executor": "執行器",
198+
"executorConfig": "執行器設定",
199+
"hostname": "主機名稱",
200+
"maxTries": "最大嘗試次數",
201+
"pid": "PID",
202+
"pool": "資源池",
203+
"poolSlots": "資源池配額",
204+
"priorityWeight": "優先權權重",
205+
"queue": "排隊",
206+
"queuedWhen": "開始排隊時間",
207+
"scheduledWhen": "開始排程時間",
208+
"triggerer": {
209+
"assigned": "指派的觸發器",
210+
"class": "觸發器類別",
211+
"createdAt": "觸發器建立時間",
212+
"id": "觸發器 ID",
213+
"latestHeartbeat": "最新觸發器心跳時間",
214+
"title": "觸發器資訊"
215+
},
216+
"unixname": "Unix 名稱"
217+
},
218+
"taskInstance_one": "任務實例",
219+
"taskInstance_other": "任務實例",
220+
"timeRange": {
221+
"last12Hours": "最近 12 小時",
222+
"last24Hours": "最近 24 小時",
223+
"lastHour": "最近 1 小時",
224+
"pastWeek": "過去一週"
225+
},
226+
"timezone": "時區",
227+
"timezoneModal": {
228+
"current-timezone": "目前時區",
229+
"placeholder": "搜尋時區",
230+
"title": "選擇時區",
231+
"utc": "UTC"
232+
},
233+
"toaster": {
234+
"bulkDelete": {
235+
"error": "批次刪除 {{resourceName}} 請求失敗",
236+
"success": {
237+
"description": "已成功刪除 {{count}} 個 {{resourceName}}。鍵:{{keys}}",
238+
"title": "已提交批次刪除 {{resourceName}} 請求"
239+
}
240+
},
241+
"create": {
242+
"error": "建立 {{resourceName}} 請求失敗",
243+
"success": {
244+
"description": "{{resourceName}} 已成功建立。",
245+
"title": "已提交建立 {{resourceName}} 請求"
246+
}
247+
},
248+
"delete": {
249+
"error": "刪除 {{resourceName}} 請求失敗",
250+
"success": {
251+
"description": "{{resourceName}} 已成功刪除。",
252+
"title": "已提交刪除 {{resourceName}} 請求"
253+
}
254+
},
255+
"import": {
256+
"error": "匯入 {{resourceName}} 請求失敗",
257+
"success": {
258+
"description": "已成功匯入 {{count}} 個 {{resourceName}}。",
259+
"title": "已提交匯入 {{resourceName}} 請求"
260+
}
261+
},
262+
"update": {
263+
"error": "更新 {{resourceName}} 請求失敗",
264+
"success": {
265+
"description": "{{resourceName}} 已成功更新。",
266+
"title": "已提交更新 {{resourceName}} 請求"
267+
}
268+
}
269+
},
270+
"triggered": "已觸發",
271+
"tryNumber": "嘗試次數",
272+
"user": "使用者",
273+
"wrap": {
274+
"tooltip": "按 {{hotkey}} 切換換行",
275+
"unwrap": "不換行",
276+
"wrap": "換行"
277+
}
278+
}

0 commit comments

Comments
 (0)