This is an automated email from the ASF dual-hosted git repository.
kaxil 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 5d70b49e9ea UI: Label the Dag bundle file table as Parsed Files and
say what it lists (#76462)
5d70b49e9ea is described below
commit 5d70b49e9ead3a610c4ac8cacc6933a80931bc8b
Author: Kaxil Naik <[email protected]>
AuthorDate: Wed Nov 4 17:00:12 2026 +0000
UI: Label the Dag bundle file table as Parsed Files and say what it lists
(#76462)
The bundle detail page lists only files the Dag processor has parsed:
files with a live Dag, plus files that recorded an import error. Labelled
"Files", it read as the bundle's full contents, so helper modules and Dag
files not parsed yet looked missing.
The English meaning changed, so the key is renamed from `file` to
`parsedFile` and the eleven locales that translated it are updated to match.
"Parsed Files" alone still leaves a reader guessing what was left out.
A muted line next to the heading states the rule the endpoint applies: a
file is listed when it defines a Dag or failed to import. Translated into
the eleven locales that carry the table's other strings.
---
.../src/airflow/ui/public/i18n/locales/ar/browse.json | 13 +++++++------
.../src/airflow/ui/public/i18n/locales/ca/browse.json | 5 +++--
.../src/airflow/ui/public/i18n/locales/de/browse.json | 5 +++--
.../src/airflow/ui/public/i18n/locales/el/browse.json | 5 +++--
.../src/airflow/ui/public/i18n/locales/en/browse.json | 5 +++--
.../src/airflow/ui/public/i18n/locales/fr/browse.json | 7 ++++---
.../src/airflow/ui/public/i18n/locales/he/browse.json | 7 ++++---
.../src/airflow/ui/public/i18n/locales/hi/browse.json | 5 +++--
.../src/airflow/ui/public/i18n/locales/ko/browse.json | 5 +++--
.../src/airflow/ui/public/i18n/locales/pl/browse.json | 9 +++++----
.../src/airflow/ui/public/i18n/locales/zh-CN/browse.json | 5 +++--
.../src/airflow/ui/public/i18n/locales/zh-TW/browse.json | 5 +++--
.../src/airflow/ui/src/pages/DagBundle/BundleFiles.tsx | 7 ++++++-
13 files changed, 50 insertions(+), 33 deletions(-)
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/ar/browse.json
b/airflow-core/src/airflow/ui/public/i18n/locales/ar/browse.json
index a9ed54d09f5..252a66a00b9 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/ar/browse.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/ar/browse.json
@@ -28,14 +28,15 @@
"lastParsed": "آخر تحليل",
"parseDuration": "مدة التحليل"
},
- "file_few": "ملفات",
- "file_many": "ملفات",
- "file_one": "ملف",
- "file_other": "ملفات",
- "file_two": "ملفان",
- "file_zero": "لا يوجد أي ملف",
"importErrorGone": "لم يعد خطأ الاستيراد هذا مسجلاً. ربما تم إصلاحه
بإعادة التحليل.",
"neverParsed": "أبداً",
+ "parsedFile_few": "ملفات محللة",
+ "parsedFile_many": "ملفات محللة",
+ "parsedFile_one": "ملف محلل",
+ "parsedFile_other": "ملفات محللة",
+ "parsedFile_two": "ملفان محللان",
+ "parsedFile_zero": "لا يوجد أي ملف محلل",
+ "parsedFilesNote": "تُعرض فقط الملفات التي تعرّف Dag أو فشل استيرادها.",
"showImportError_few": "عرض {{count, number}} أخطاء",
"showImportError_many": "عرض {{count, number}} خطأً",
"showImportError_one": "عرض الخطأ",
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/ca/browse.json
b/airflow-core/src/airflow/ui/public/i18n/locales/ca/browse.json
index 48e0eb1d2f8..72eefec43ce 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/ca/browse.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/ca/browse.json
@@ -28,10 +28,11 @@
"lastParsed": "Darrera anàlisi",
"parseDuration": "Durada de l'anàlisi"
},
- "file_one": "Fitxer",
- "file_other": "Fitxers",
"importErrorGone": "Aquest error d'importació ja no consta al registre.
Probablement s'ha resolt amb una nova anàlisi.",
"neverParsed": "Mai",
+ "parsedFile_one": "Fitxer analitzat",
+ "parsedFile_other": "Fitxers analitzats",
+ "parsedFilesNote": "Només es mostren els fitxers que defineixen un Dag o
que no s'han pogut importar.",
"showImportError_one": "Veure error",
"showImportError_other": "Veure {{count, number}} errors"
},
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/de/browse.json
b/airflow-core/src/airflow/ui/public/i18n/locales/de/browse.json
index c26d228477c..50ef3ae3b5a 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/de/browse.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/de/browse.json
@@ -28,10 +28,11 @@
"lastParsed": "Zuletzt geparst",
"parseDuration": "Parsezeit"
},
- "file_one": "Datei",
- "file_other": "Dateien",
"importErrorGone": "Der Importfehler ist nicht mehr aufgetreten.
Vermutlich durch ein Wiedereinlesen behoben.",
"neverParsed": "Nie",
+ "parsedFile_one": "Geparste Datei",
+ "parsedFile_other": "Geparste Dateien",
+ "parsedFilesNote": "Es werden nur Dateien aufgeführt, die einen Dag
definieren oder deren Import fehlgeschlagen ist.",
"showImportError_one": "{{count, number}} Importfehler ansehen",
"showImportError_other": "{{count, number}} Importfehler ansehen"
},
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/el/browse.json
b/airflow-core/src/airflow/ui/public/i18n/locales/el/browse.json
index e4766bf1b8e..d6b820d8859 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/el/browse.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/el/browse.json
@@ -28,10 +28,11 @@
"lastParsed": "Τελευταία Ανάλυση",
"parseDuration": "Διάρκεια Ανάλυσης"
},
- "file_one": "Αρχείο",
- "file_other": "Αρχεία",
"importErrorGone": "Αυτό το σφάλμα εισαγωγής πλέον δεν καταγράφεται.
Πιθανότατα διορθώθηκε από μια επανανάλυση.",
"neverParsed": "Ποτέ",
+ "parsedFile_one": "Αναλυμένο Αρχείο",
+ "parsedFile_other": "Αναλυμένα Αρχεία",
+ "parsedFilesNote": "Εμφανίζονται μόνο αρχεία που ορίζουν ένα Dag ή των
οποίων η εισαγωγή απέτυχε.",
"showImportError_one": "Προβολή σφάλματος",
"showImportError_other": "Προβολή {{count, number}} σφαλμάτων"
},
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/en/browse.json
b/airflow-core/src/airflow/ui/public/i18n/locales/en/browse.json
index 4ec6012687f..cab57df9ec5 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/en/browse.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/en/browse.json
@@ -28,11 +28,12 @@
"lastParsed": "Last Parsed",
"parseDuration": "Parse Duration"
},
- "file_one": "File",
- "file_other": "Files",
"importErrorForbidden": "You don't have permission to read this import
error.",
"importErrorGone": "This import error is no longer recorded. It was
probably fixed by a reparse.",
"neverParsed": "Never",
+ "parsedFile_one": "Parsed File",
+ "parsedFile_other": "Parsed Files",
+ "parsedFilesNote": "Only files that define a Dag or failed to import are
listed.",
"showImportError_one": "View error",
"showImportError_other": "View {{count, number}} errors"
},
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/fr/browse.json
b/airflow-core/src/airflow/ui/public/i18n/locales/fr/browse.json
index fdca069b6aa..1343e6f73ca 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/fr/browse.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/fr/browse.json
@@ -28,11 +28,12 @@
"lastParsed": "Dernière analyse",
"parseDuration": "Durée d'analyse"
},
- "file_many": "Fichiers",
- "file_one": "Fichier",
- "file_other": "Fichiers",
"importErrorGone": "Cette erreur d'import n'est plus enregistrée. Elle a
probablement été corrigée par une nouvelle analyse.",
"neverParsed": "Jamais",
+ "parsedFile_many": "Fichiers analysés",
+ "parsedFile_one": "Fichier analysé",
+ "parsedFile_other": "Fichiers analysés",
+ "parsedFilesNote": "Seuls les fichiers qui définissent un Dag ou dont
l'import a échoué sont listés.",
"showImportError_many": "Voir {{count, number}} erreurs",
"showImportError_one": "Voir {{count, number}} erreur",
"showImportError_other": "Voir {{count, number}} erreurs"
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/he/browse.json
b/airflow-core/src/airflow/ui/public/i18n/locales/he/browse.json
index fdc7de2979e..6997b6686b8 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/he/browse.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/he/browse.json
@@ -28,11 +28,12 @@
"lastParsed": "נותח לאחרונה",
"parseDuration": "משך הניתוח"
},
- "file_one": "קובץ",
- "file_other": "קבצים",
- "file_two": "קבצים",
"importErrorGone": "שגיאת ייבוא זו אינה מתועדת עוד. כנראה שהיא תוקנה
והניתוח מחדש זיהה זאת.",
"neverParsed": "אף פעם",
+ "parsedFile_one": "קובץ שנותח",
+ "parsedFile_other": "קבצים שנותחו",
+ "parsedFile_two": "קבצים שנותחו",
+ "parsedFilesNote": "מוצגים רק קבצים שמגדירים Dag או שהייבוא שלהם נכשל.",
"showImportError_one": "הצג שגיאה",
"showImportError_other": "הצגת {{count, number}} שגיאות",
"showImportError_two": "הצגת {{count, number}} שגיאות"
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/hi/browse.json
b/airflow-core/src/airflow/ui/public/i18n/locales/hi/browse.json
index ca9dcec8674..72bd13ca967 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/hi/browse.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/hi/browse.json
@@ -28,10 +28,11 @@
"lastParsed": "अंतिम पार्स",
"parseDuration": "पार्स अवधि"
},
- "file_one": "फ़ाइल",
- "file_other": "फ़ाइलें",
"importErrorGone": "यह इम्पोर्ट त्रुटि अब दर्ज नहीं है। संभवतः इसे पुनः
पार्स द्वारा ठीक कर दिया गया था।",
"neverParsed": "कभी नहीं",
+ "parsedFile_one": "पार्स की गई फ़ाइल",
+ "parsedFile_other": "पार्स की गई फ़ाइलें",
+ "parsedFilesNote": "केवल वे फ़ाइलें दिखाई जाती हैं जो कोई डैग परिभाषित
करती हैं या जिनका इम्पोर्ट विफल हुआ।",
"showImportError_one": "त्रुटि देखें",
"showImportError_other": "{{count, number}} त्रुटियां देखें"
},
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/ko/browse.json
b/airflow-core/src/airflow/ui/public/i18n/locales/ko/browse.json
index a4144c92de6..40f436fca18 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/ko/browse.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/ko/browse.json
@@ -28,10 +28,11 @@
"lastParsed": "마지막 파싱 시점",
"parseDuration": "파싱 기간"
},
- "file_one": "파일",
- "file_other": "파일",
"importErrorGone": "이 가져오기 오류는 더 이상 기록되어 있지 않습니다. 재구문 분석으로 해결되었을 수
있습니다.",
"neverParsed": "파싱된 적 없음",
+ "parsedFile_one": "파싱된 파일",
+ "parsedFile_other": "파싱된 파일",
+ "parsedFilesNote": "Dag를 정의하거나 가져오기에 실패한 파일만 표시됩니다.",
"showImportError_one": "오류 보기",
"showImportError_other": "오류 {{count, number}}개 보기"
},
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/pl/browse.json
b/airflow-core/src/airflow/ui/public/i18n/locales/pl/browse.json
index 348dced9810..51dba7779fb 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/pl/browse.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/pl/browse.json
@@ -28,12 +28,13 @@
"lastParsed": "Ostatnia analiza",
"parseDuration": "Czas parsowania"
},
- "file_few": "Pliki",
- "file_many": "Plików",
- "file_one": "Plik",
- "file_other": "Pliki",
"importErrorGone": "Ten błąd importu nie jest już rejestrowany.
Prawdopodobnie został naprawiony przez ponowne przetworzenie.",
"neverParsed": "Nigdy",
+ "parsedFile_few": "Przeanalizowane pliki",
+ "parsedFile_many": "Przeanalizowanych plików",
+ "parsedFile_one": "Przeanalizowany plik",
+ "parsedFile_other": "Przeanalizowane pliki",
+ "parsedFilesNote": "Wyświetlane są tylko pliki, które definiują Dag lub
których import się nie powiódł.",
"showImportError_few": "Zobacz {{count, number}} błędy",
"showImportError_many": "Zobacz {{count, number}} błędów",
"showImportError_one": "Zobacz błąd",
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 dc83046b862..ac750ba8470 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
@@ -28,10 +28,11 @@
"lastParsed": "最后解析时间",
"parseDuration": "解析耗时"
},
- "file_one": "文件",
- "file_other": "文件",
"importErrorGone": "此导入错误已不再被记录,可能已通过重新解析修复。",
"neverParsed": "从未",
+ "parsedFile_one": "已解析文件",
+ "parsedFile_other": "已解析文件",
+ "parsedFilesNote": "仅列出定义了 Dag 或导入失败的文件。",
"showImportError_one": "查看错误",
"showImportError_other": "查看 {{count, number}} 个错误"
},
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/browse.json
b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/browse.json
index 7f5540efca2..e47260aea9d 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/browse.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/browse.json
@@ -28,11 +28,12 @@
"lastParsed": "最後解析時間",
"parseDuration": "解析耗時"
},
- "file_one": "檔案",
- "file_other": "檔案",
"importErrorForbidden": "您沒有檢視此匯入錯誤的權限。",
"importErrorGone": "此匯入錯誤已不再記錄,可能已透過重新解析修復。",
"neverParsed": "從未",
+ "parsedFile_one": "已解析檔案",
+ "parsedFile_other": "已解析檔案",
+ "parsedFilesNote": "僅列出定義了 Dag 或匯入失敗的檔案。",
"showImportError_one": "檢視錯誤",
"showImportError_other": "檢視 {{count, number}} 個錯誤"
},
diff --git a/airflow-core/src/airflow/ui/src/pages/DagBundle/BundleFiles.tsx
b/airflow-core/src/airflow/ui/src/pages/DagBundle/BundleFiles.tsx
index 3dae93d77af..e46409250d1 100644
--- a/airflow-core/src/airflow/ui/src/pages/DagBundle/BundleFiles.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/DagBundle/BundleFiles.tsx
@@ -141,9 +141,14 @@ export const BundleFiles = ({ bundleName }: { readonly
bundleName: string }) =>
columns={createColumns(translate, i18n.language, setErrorFileloc)}
data={data?.dag_bundle_files ?? []}
errorMessage={<ErrorAlert error={error} />}
+ headingExtra={
+ <Text color="fg.muted" fontSize="sm">
+ {translate("browse:dagBundles.files.parsedFilesNote")}
+ </Text>
+ }
initialState={tableURLState}
isLoading={isLoading}
- modelName="browse:dagBundles.files.file"
+ modelName="browse:dagBundles.files.parsedFile"
onStateChange={setTableURLState}
total={data?.total_entries}
/>