Commit 01994d83 authored by Jérome Perrin's avatar Jérome Perrin

xhtml_style: add methods for translation

do nothing, but at least makes gadget compatible

See discussion on
nexedi/erp5@a7ffbc92 (comment 81088)
parent 6ad74a6d
......@@ -69,6 +69,17 @@
return displayFieldError(argument_list[0]);
})
.allowPublicAcquisition('translateHtml', function dummyTranslateHtml (html) {
// gadget translation does not work in erp5_xhtml_style, but at least
// gadgets can be used.
return html;
})
.allowPublicAcquisition('translate', function dummyTranslate (html) {
// gadget translation does not work in erp5_xhtml_style, but at least
// gadgets can be used.
return html;
})
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment