Labels of collections are wrongly translatable

Created on 7 June 2023, over 1 year ago
Updated 8 June 2023, over 1 year ago

Problem/Motivation

When trying to translate the labels for a collection, I looked up how the label gets parsed and was seeing $this->t((string) $collection['label']) which does not allow to translate the label in the collection definition and only after the code was already executed and through the interface.

Steps to reproduce

-

Proposed resolution

Remove the translate function inside AdminToolbarContentPluginBase.php.php.

Remaining tasks

Create patch
Review patch

User interface changes

-

API changes

-

Data model changes

-

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇧🇪Belgium tim-diels Belgium 🇧🇪

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024