Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

method name not working #37

Open
GarikBelik opened this issue Feb 15, 2023 · 0 comments
Open

method name not working #37

GarikBelik opened this issue Feb 15, 2023 · 0 comments

Comments

@GarikBelik
Copy link

I try to specify a different value in the method name, but the import button is not displayed.

Example

File ImportUsers.php:

class ImportUsers extends Action
{
...
...
    public function name() {
        return __('ImportTestUsers');
    }
...
...
}

File en.json:

{
    "ImportTestUsers": "Custom Button Name",
}

If that's the way it's meant to be, then it's a very bad idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant