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

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


The following commit(s) were added to refs/heads/v3-3-test by this push:
     new 4950d047b60 UI: Fix raw translation key showing as a Backfills column 
header (#72836) (#73650)
4950d047b60 is described below

commit 4950d047b60af7356300b10bedf1110de356d81d
Author: Pierre Jeambrun <[email protected]>
AuthorDate: Thu Sep 24 13:38:23 2026 +0200

    UI: Fix raw translation key showing as a Backfills column header (#72836) 
(#73650)
    
    The Backfills table and its Dag runs modal read column headers from the
    components namespace without declaring it, so react-i18next neither waits 
for
    that namespace nor re-renders when it arrives. Because headers are evaluated
    eagerly, a namespace that resolves after first render leaves users looking 
at
    backfill.reprocessBehavior instead of the translated label.
    
    (cherry picked from commit 5d559174c34692c61078449719136f754480cf82)
    
    Co-authored-by: Brent Bovenzi <[email protected]>
---
 airflow-core/src/airflow/ui/src/pages/Dag/Backfills/Backfills.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow-core/src/airflow/ui/src/pages/Dag/Backfills/Backfills.tsx 
b/airflow-core/src/airflow/ui/src/pages/Dag/Backfills/Backfills.tsx
index c4ffbc8e20f..f1fdea5f444 100644
--- a/airflow-core/src/airflow/ui/src/pages/Dag/Backfills/Backfills.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/Dag/Backfills/Backfills.tsx
@@ -104,7 +104,7 @@ const getColumns = (translate: (key: string) => string): 
Array<ColumnDef<Backfil
 ];
 
 export const Backfills = () => {
-  const { t: translate } = useTranslation();
+  const { t: translate } = useTranslation(["common", "components"]);
   const { setTableURLState, tableURLState } = useTableURLState();
 
   const { pagination } = tableURLState;

Reply via email to