Closed 1DL closed 6 months ago
All title strings generated for breadcrumbs are not wrapped by the __ function.
For example, when baking a template, it produces: $this->Breadcrumbs->add([ ['title' => 'Home', 'url' => '/'], ['title' => 'List Users'], ]);
$this->Breadcrumbs->add([ ['title' => 'Home', 'url' => '/'], ['title' => 'List Users'], ]);
instead of
$this->Breadcrumbs->add([ ['title' => __('Home'), 'url' => '/'], ['title' => __('List Users')], ]);
Most of the code generated does come with __ function, however, Breadcrumbs generation does not.
All title strings generated for breadcrumbs are not wrapped by the __ function.
For example, when baking a template, it produces:
$this->Breadcrumbs->add([ ['title' => 'Home', 'url' => '/'], ['title' => 'List Users'], ]);
instead of
$this->Breadcrumbs->add([ ['title' => __('Home'), 'url' => '/'], ['title' => __('List Users')], ]);
Most of the code generated does come with __ function, however, Breadcrumbs generation does not.