This is an automated email from the ASF dual-hosted git repository. vatsrahul1001 pushed a commit to branch backport-5d70b49-v3-4-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit d77bec9c7b007dea1d6b134965e2b13b500d00a6 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. (cherry picked from commit 5d70b49e9ead3a610c4ac8cacc6933a80931bc8b) --- .../airflow/ui/public/i18n/locales/ar/browse.json | 39 ++++++++++++++++++++++ .../airflow/ui/public/i18n/locales/ca/browse.json | 5 +-- .../airflow/ui/public/i18n/locales/de/browse.json | 5 +-- .../airflow/ui/public/i18n/locales/el/browse.json | 5 +-- .../airflow/ui/public/i18n/locales/en/browse.json | 5 +-- .../airflow/ui/public/i18n/locales/fr/browse.json | 7 ++-- .../airflow/ui/public/i18n/locales/he/browse.json | 7 ++-- .../airflow/ui/public/i18n/locales/hi/browse.json | 5 +-- .../airflow/ui/public/i18n/locales/ko/browse.json | 5 +-- .../airflow/ui/public/i18n/locales/pl/browse.json | 9 ++--- .../ui/public/i18n/locales/zh-CN/browse.json | 5 +-- .../ui/public/i18n/locales/zh-TW/browse.json | 5 +-- .../airflow/ui/src/pages/DagBundle/BundleFiles.tsx | 7 +++- 13 files changed, 82 insertions(+), 27 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 bcb3a7d0ce1..f8397362486 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 @@ -10,6 +10,45 @@ "eventType": "نوع الأصل" } }, + "dagBundles": { + "active": "نشط", + "columns": { + "active": "نشط", + "importErrors": "أخطاء الاستيراد", + "lastRefreshed": "آخر تحديث", + "name": "الاسم", + "version": "الإصدار" + }, + "detail": { + "status": "الحالة" + }, + "files": { + "columns": { + "file": "الملف", + "lastParsed": "آخر تحليل", + "parseDuration": "مدة التحليل" + }, + "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": "عرض الخطأ", + "showImportError_other": "عرض {{count, number}} خطأ", + "showImportError_two": "عرض خطأين", + "showImportError_zero": "لا توجد أخطاء" + }, + "inactive": "غير نشط", + "neverRefreshed": "أبداً", + "notRefreshedYet": "لم يتم التحديث بعد", + "notVersioned": "بدون إصدار" + }, "deadlines": { "columns": { "alertName": "اسم التنبيه", 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 fa3ecea187d..d4194e2c619 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 58f400c1899..e44df98edeb 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,10 +28,11 @@ "lastParsed": "Last Parsed", "parseDuration": "Parse Duration" }, - "file_one": "File", - "file_other": "Files", "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 bc74110cfa0..1f6e08d4701 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 be95f5496fd..f4c15379d20 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 0556e97c5e1..9cff018add3 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 f099ae2d92a..d81e648d16f 100644 --- a/airflow-core/src/airflow/ui/src/pages/DagBundle/BundleFiles.tsx +++ b/airflow-core/src/airflow/ui/src/pages/DagBundle/BundleFiles.tsx @@ -136,9 +136,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} />
