wintercms / wn-builder-plugin

GUI for building plugins in Winter CMS
MIT License
34 stars 12 forks source link

* use localized controls keys #52

Open dimti opened 1 year ago

dimti commented 1 year ago

https://github.com/wintercms/wn-builder-plugin/issues/49

bennothommo commented 1 year ago

@dimti @LukeTowers is there any way we can shift the translation into the client-side (ie. in the templates)? It seems a bit weird that we would need to have the translation here being used an array key.

dimti commented 1 year ago

@bennothommo i added new solution for this

Groups controls used both for separate render template an adding field model and in mass adding fields on the model, where groups merge into one array. Now, groups have a marks with integer constant, and a localized label move to group property.