nova-import icon indicating copy to clipboard operation
nova-import copied to clipboard

method name not working

Open GarikBelik opened this issue 2 years ago • 0 comments

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.

GarikBelik avatar Feb 15 '23 05:02 GarikBelik