Skip to content

Wrap label outputs at lines 475 and 509 in t() for translation support (follow-up to #3536094)

A previous patch (issue #3536094) added $this->t(...) around column header labels at line 345 of DataFieldTable.php, improving translation support for that part of the formatter.

However, additional label outputs at lines 475 and 509—used in horizontal and vertical rendering modes—are still unwrapped and therefore not translatable via the interface or .po files.

This patch extends translation coverage by wrapping those remaining label outputs in $this->t(...), ensuring all visible subfield labels in Views follow Drupal's multilingual standards

Merge request reports

Loading