arodu / cakelte

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

Related Not found record string without __ function for internationalization #76

Closed 1DL closed 6 months ago

1DL commented 6 months ago

Hi, its me again! Sorry for not spotting this on the prevous issue.

When baking a view template, if the entity has related entities, the record not found string does not contain the __ function.

Example: Users record not found! Instead of:

<?=__('Users record not found!')?>

I believe the change must be done on line 130 of bake/template/view.twig.

Thanks for the previous fix!