Hi devs,
in order to be able to translate the macro descriptors to use for the
gadgets (for the moment, to be able to provide the title of the gadget),
I would like to move the MacroDescriptorTranslator and its
implementation from the wysiwyg gwt module to the rendering module.
My +1 on this.
We'd also have to refactor it to use the
org.xwiki.rendering.macro.descriptor.MacroDescriptor instead of the gwt,
serializable clone of it.
About where in the rendering to put it, we could either:
1/ create a new module for it, under xwiki-core-rendering
2/ put it in xwiki-core-rendering-api since it's about translating macro
descriptors which have both the interface and implementation in the api
module
3/ create a new module for it under xwiki-core-rendering-macros
My +1 for 2/
WDYT?