On Wed, Dec 22, 2010 at 18:33, Anca Luca <lucaa(a)xwiki.com> wrote:
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.
-0
This tool is supposed to be temporary waiting for new translation
module to be finished and support variables.
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
No rendering-api does not contain anything about macros anymore, APIs
included, If there is anything left that's a bug
3/ create a new module for it under
xwiki-core-rendering-macros
-1, this is supposed to contains macros
My +1 for 2/
WDYT?
I would prefer we wait for new translation module.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne