Skip to content

Commit 4ca9555

Browse files
Lee-Wvatsrahul1001
authored andcommitted
i18n: add missing keys and fix Taiwanese Mandarin terminology
1 parent 2310e50 commit 4ca9555

7 files changed

Lines changed: 30 additions & 8 deletions

File tree

airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/admin.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@
120120
"includeDeferred": "包含延後任務",
121121
"nameMaxLength": "名稱最多只能包含 256 個字元",
122122
"nameRequired": "名稱是必填的",
123-
"slots": "配額"
123+
"slots": "配額",
124+
"slotsHelperText": "使用 -1 表示無限制配額。"
124125
},
125126
"noPoolsFound": "找不到資源池",
126127
"pool_one": "資源池",

airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"group": "群組",
3030
"lastAssetEvent": "最後資源事件",
3131
"name": "名稱",
32-
"producingTasks": "生產任務",
32+
"producingTasks": "生產者任務",
3333
"scheduledDags": "已排程的 Dags",
3434
"scheduling": "排程",
3535
"searchPlaceholder": "搜尋資源",

airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/browse.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
},
2727
"delete": {
2828
"error": "刪除 XCom 失敗",
29-
"errorTitle": "Error",
29+
"errorTitle": "錯誤",
3030
"success": "成功刪除 XCom",
3131
"successTitle": "已刪除 XCom",
3232
"title": "刪除 XCom",
33-
"warning": "你確定要刪除這個 XCom 嗎?此動作無法復原。"
33+
"warning": "您確定要刪除這個 XCom 嗎?此動作無法復原。"
3434
},
3535
"edit": {
3636
"error": "更新 XCom 失敗",

airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/common.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@
103103
"notFound": "找不到頁面",
104104
"title": "錯誤"
105105
},
106+
"errors": {
107+
"forbidden": {
108+
"description": "您沒有執行此操作的權限。",
109+
"title": "存取被拒"
110+
}
111+
},
106112
"expand": {
107113
"collapse": "收合",
108114
"expand": "展開",
@@ -128,6 +134,7 @@
128134
"selectDateRange": "選擇日期範圍",
129135
"startTime": "起始時間"
130136
},
137+
"generateToken": "產生權杖",
131138
"logicalDate": "邏輯日期",
132139
"logout": "登出",
133140
"logoutConfirmation": "確定要登出嗎?",
@@ -171,6 +178,7 @@
171178
"reset": "重置",
172179
"runId": "執行 ID",
173180
"runTypes": {
181+
"asset_materialization": "資源實體化",
174182
"asset_triggered": "資源觸發",
175183
"backfill": "回填",
176184
"manual": "手動觸發",
@@ -327,6 +335,18 @@
327335
}
328336
}
329337
},
338+
"tokenGeneration": {
339+
"apiToken": "API 權杖",
340+
"cliToken": "CLI 權杖",
341+
"errorDescription": "產生權杖時發生錯誤,請再試一次。",
342+
"errorTitle": "權杖產生失敗",
343+
"generate": "產生",
344+
"selectType": "選擇要產生的權杖類型。",
345+
"title": "產生權杖",
346+
"tokenExpiresIn": "此權杖將在 {{duration}} 後過期。",
347+
"tokenGenerated": "您的權杖已產生。",
348+
"tokenShownOnce": "此權杖僅會顯示一次,請立即複製。"
349+
},
330350
"total": "總計 {{state}}",
331351
"triggered": "已觸發",
332352
"tryNumber": "嘗試次數",

airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/components.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"limitedList.allTags_other": "所有標籤 ({{count}})",
100100
"limitedList.clickToInteract": "點擊標籤以篩選 Dags",
101101
"limitedList.clickToOpenFull": "點擊 \"+{{count}} 更多\" 以開啟完整檢視",
102-
"limitedList.copyPasteText": "你可以複製並貼上上方文字",
102+
"limitedList.copyPasteText": "您可以複製並貼上上方文字",
103103
"limitedList.showingItems_one": "顯示 1 個項目",
104104
"limitedList.showingItems_other": "顯示 {{count}} 個項目",
105105
"logs": {
@@ -144,7 +144,7 @@
144144
"title": "已觸發 Dag 執行"
145145
}
146146
},
147-
"triggerAgainWithConfig": "使用此配置再次觸發",
147+
"triggerAgainWithConfig": "使用此設定再次觸發",
148148
"unpause": "觸發時取消暫停 {{dagDisplayName}}"
149149
},
150150
"trimText": {

airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dag.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
"buttons": {
4646
"resetToLatest": "重設為最新",
4747
"toggleGroup": "切換群組狀態"
48-
}
48+
},
49+
"runTypeLegend": "執行類型圖例"
4950
},
5051
"header": {
5152
"buttons": {

airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dags.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"future": "未來",
6666
"onlyFailed": "只清除失敗任務",
6767
"past": "過去",
68-
"preventRunningTasks": "如果任務正在運行,則阻止重新運行",
68+
"preventRunningTasks": "若任務正在執行中,則防止重新執行",
6969
"queueNew": "排隊新任務",
7070
"runOnLatestVersion": "執行最新套件包版本",
7171
"upstream": "上游"

0 commit comments

Comments
 (0)