arodu / cakelte

AdminLTE plugin for CakePHP
https://packagist.org/packages/arodu/cakelte
MIT License
28 stars 6 forks source link

Breadcrumbs title strings without __ function for internationalization #74

Closed 1DL closed 6 months ago

1DL commented 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'], ]);

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.