This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit d23c445533dc8249810701f7c52b23c5618a1c70
Author: LI,JHE-CHEN <[email protected]>
AuthorDate: Wed Oct 1 11:37:15 2025 -0400

    fix(i18n): Add translation keys and remove fallback (#56274)
    
    (cherry picked from commit 26f6e54ce4e6f30773c9d717041dafd961767e92)
---
 airflow-core/src/airflow/ui/public/i18n/locales/en/dag.json         | 1 +
 .../src/airflow/ui/public/i18n/locales/zh-TW/components.json        | 2 +-
 airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dag.json      | 6 ++++--
 .../src/airflow/ui/src/pages/Dag/Calendar/CalendarTooltip.tsx       | 5 +----
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/en/dag.json 
b/airflow-core/src/airflow/ui/public/i18n/locales/en/dag.json
index c5293ca7dba..8085fcb942d 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/en/dag.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/en/dag.json
@@ -20,6 +20,7 @@
       "previousYear": "Previous year"
     },
     "noData": "No data available",
+    "noFailedRuns": "No failed runs",
     "noRuns": "No runs",
     "totalRuns": "Total Runs",
     "week": "Week {{weekNumber}}",
diff --git 
a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/components.json 
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/components.json
index 6588b45e427..e24717385e7 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/components.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/components.json
@@ -2,7 +2,7 @@
   "backfill": {
     "affected_one": "將會觸發 1 次執行。",
     "affected_other": "將會觸發 {{count}} 次執行。",
-    "affectedNone": "沒有符合條件的執行。",
+    "affectedNone": "無符合條件的執行。",
     "allRuns": "所有執行",
     "backwards": "反向執行",
     "dateRange": "日期範圍",
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dag.json 
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dag.json
index f1e3c863098..5f4925c2d8f 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dag.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/dag.json
@@ -10,6 +10,7 @@
     "hourly": "每小時",
     "legend": {
       "less": "較少",
+      "mixed": "混合",
       "more": "較多"
     },
     "navigation": {
@@ -19,7 +20,8 @@
       "previousYear": "上一年"
     },
     "noData": "沒有可用的資料",
-    "noRuns": "沒有執行",
+    "noFailedRuns": "無失敗的執行",
+    "noRuns": "無執行",
     "totalRuns": "總執行數",
     "week": "第 {{weekNumber}} 週",
     "weekdays": {
@@ -62,7 +64,7 @@
       "tooltip": "按下 {{hotkey}} 進入全螢幕"
     },
     "info": "INFO",
-    "noTryNumber": "沒有嘗試次數",
+    "noTryNumber": "無嘗試次數",
     "settings": "日誌設定",
     "viewInExternal": "在 {{name}} 中檢視日誌(嘗試 {{attempt}})",
     "warning": "WARNING"
diff --git 
a/airflow-core/src/airflow/ui/src/pages/Dag/Calendar/CalendarTooltip.tsx 
b/airflow-core/src/airflow/ui/src/pages/Dag/Calendar/CalendarTooltip.tsx
index d4c919436bd..61f65e9b876 100644
--- a/airflow-core/src/airflow/ui/src/pages/Dag/Calendar/CalendarTooltip.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/Dag/Calendar/CalendarTooltip.tsx
@@ -140,10 +140,7 @@ export const CalendarTooltip = ({ cellData, triggerRef, 
viewMode = "total" }: Pr
       ) : (
         <Text fontSize="sm">
           {/* To do: remove fallback translations */}
-          {date}:{" "}
-          {viewMode === "failed"
-            ? translate("calendar.noFailedRuns", "No failed runs")
-            : translate("calendar.noRuns", "No runs")}
+          {date}: {viewMode === "failed" ? translate("calendar.noFailedRuns") 
: translate("calendar.noRuns")}
         </Text>
       )}
     </div>

Reply via email to