Silvanite / novatoolpermissions

Laravel Nova Permissions Tool (User, Roles and Permissions / Access Control (ACL))
MIT License
101 stars 33 forks source link

Customize Role Resource - labels, title, search etc. #11

Open maciejfikus opened 6 years ago

maciejfikus commented 6 years ago

Hello! First of all, thank you for a great package. However, I wonder how to customize Role resource, i.e. labels, title, searchable stuff, field names etc?

Right now I couldn't find a way to make it possible other than creating another resource and extending original one - but this result in duplicated resource.

Thanks in advance!

ekandreas commented 5 years ago

It is possible to translate the resource name and content already. Eg for swedish, sv.json: "Roles": "Roller", "Role": "Roll", "Name": "Namn", "Slug": "Slugg", "Permission": "Rättighet", "Permissions": "Rättigheter", "User": "Användare", "Users": "Användare"