Closed
Description
Describe the bug (*)
When I use the plugin to create a new entity, the translation function (__()
) is not called on the buttons label (back, delete and save).
To Reproduce (*)
Steps to reproduce the behavior:
- Create a new entity using this plugin
- Change the current admin language to another language than english
- Create a translation in
i18n
folder forSave
,Delete
andBack to grid
- The translation is not used and the buttons labels are displayed in english
Expected behavior (*)
The buttons labels should be translated.
Screenshots
In a button class, we can see the translation function is not called:
Or maybe the GenericButton
class should called it in the wrapButtonSettings
function.
Please complete the following information: (*)
- OS: Fedora 36
- PhpStorm/Intellij version: 2022.2.1
- Plugin Version: 4.4.0