This is an automated email from the ASF dual-hosted git repository.
bbovenzi 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 dc6f19ff0d6 Add missing Dag run table translation (#58572)
dc6f19ff0d6 is described below
commit dc6f19ff0d6f2b751379262896509274a8c0cd5d
Author: LI,JHE-CHEN <[email protected]>
AuthorDate: Tue Nov 25 15:13:02 2025 -0500
Add missing Dag run table translation (#58572)
* fix: Fix missing state translation in Dag Runs table
* fix: add missing run type translation
---
airflow-core/src/airflow/ui/src/pages/DagRuns.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
b/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
index 21981d9c7ff..9a2585ff2f1 100644
--- a/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
@@ -104,7 +104,7 @@ const runColumns = (translate: TFunction, dagId?: string):
Array<ColumnDef<DAGRu
row: {
original: { state },
},
- }) => <StateBadge state={state}>{state}</StateBadge>,
+ }) => <StateBadge
state={state}>{translate(`common:states.${state}`)}</StateBadge>,
header: () => translate("state"),
},
{
@@ -112,7 +112,7 @@ const runColumns = (translate: TFunction, dagId?: string):
Array<ColumnDef<DAGRu
cell: ({ row: { original } }) => (
<HStack>
<RunTypeIcon runType={original.run_type} />
- <Text>{original.run_type}</Text>
+ <Text>{translate(`common:runTypes.${original.run_type}`)}</Text>
</HStack>
),
enableSorting: false,