What happened?
Description
I'm implementing the permissions for my plugin I'm planning to realease soon and noticed that the requirePermissions methods default text is not translated. The Control panel is translated in many langauges by default but does this not include error messaging? I guess for now I can just also just throw my own Forbidden exception.
Steps to reproduce
Expected behavior
Actual behavior
Craft CMS version
5.9.x
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
I'm implementing the permissions for my plugin I'm planning to realease soon and noticed that the requirePermissions methods default text is not translated. The Control panel is translated in many langauges by default but does this not include error messaging? I guess for now I can just also just throw my own Forbidden exception.
Steps to reproduce
Expected behavior
Actual behavior
Craft CMS version
5.9.x
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions