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 f79a0ff9352 Fix Asset Event table titles showing a raw translation key 
(#71443)
f79a0ff9352 is described below

commit f79a0ff93522f23aa33e8643fcca269dfbe79a54
Author: Pierre Jeambrun <[email protected]>
AuthorDate: Wed Aug 12 22:19:47 2026 +0200

    Fix Asset Event table titles showing a raw translation key (#71443)
    
    The English assetEvent/sourceAssetEvent/createdAssetEvent title keys 
reference their
    labels through nested $t() (from the translation DRY refactor). These keys 
are
    consumed by the shared Asset Events table, whose translation hook defaults 
to the
    dashboard namespace, so an unqualified nested $t() resolved against 
dashboard —
    where the referenced keys do not exist — and the titles rendered raw keys 
("Source
    assetEvent_other", "asset_one Events"). Qualifying the nested references 
with the
    common namespace keeps the DRY nesting and resolves it regardless of the 
consuming
    component's default namespace.
---
 .../src/airflow/ui/public/i18n/locales/en/common.json        | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json 
b/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json
index 1d37e59d795..dc3ab657d49 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json
@@ -17,8 +17,8 @@
   },
   "asset_one": "Asset",
   "asset_other": "Assets",
-  "assetEvent_one": "$t(asset_one) Event",
-  "assetEvent_other": "$t(asset_one) Events",
+  "assetEvent_one": "$t(common:asset_one) Event",
+  "assetEvent_other": "$t(common:asset_one) Events",
   "assetInactive": {
     "tooltip": "Upstream asset has been deactivated; the scheduler is holding 
partition evaluation until it is reactivated."
   },
@@ -34,8 +34,8 @@
   "collapseAllExtra": "Collapse all extra JSON",
   "collapseDetailsPanel": "Collapse Details Panel",
   "consumingAsset": "Consuming Asset",
-  "createdAssetEvent_one": "Created $t(assetEvent_one)",
-  "createdAssetEvent_other": "Created $t(assetEvent_other)",
+  "createdAssetEvent_one": "Created $t(common:assetEvent_one)",
+  "createdAssetEvent_other": "Created $t(common:assetEvent_other)",
   "dag_one": "Dag",
   "dag_other": "Dags",
   "dagDetails": {
@@ -328,8 +328,8 @@
     "hotkey": "s",
     "show": "Show Source"
   },
-  "sourceAssetEvent_one": "Source $t(assetEvent_one)",
-  "sourceAssetEvent_other": "Source $t(assetEvent_other)",
+  "sourceAssetEvent_one": "Source $t(common:assetEvent_one)",
+  "sourceAssetEvent_other": "Source $t(common:assetEvent_other)",
   "startDate": "Start Date",
   "state": "State",
   "states": {

Reply via email to