HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Plugins Namespace

I have another naming question:

The newest docs state, that the Plugins namespace for permissions is deprecated.
So an example permission would be called YourPlugin.Comments.Add

Should the Plugins namespace still be used for configuration values?

Plugins.YourPlugin.UseCategories
or
YourPlugin.Categories.Use?

Since plugins will get the same powers that applications have (or do they already?) at some point, it would make sense to drop the namespace for consistency.
And what about translation slugs?

Comments

  • LincLinc Detroit Admin

    No, don't use it for config either. Your second example is correct.

    Translation slugs should be a normal phrase or sentence, spaced correctly. We've abandoned the "slug" method entirely. This makes them easier to manage on Transifex.

Sign In or Register to comment.