Commit 182b31d6 authored by Sven Franck's avatar Sven Franck Committed by Xiaowu Zhang

erp5_web_renderjs_ui: removed translation gadget

parent 3260995f
......@@ -148,10 +148,7 @@
<section data-gadget-url="gadget_jio.html"\n
data-gadget-scope="jio_gadget"\n
data-gadget-sandbox="public"></section>\n
\n
<div data-gadget-sandbox="public" \n
data-gadget-url="gadget_translate.html"\n
data-gadget-scope="translate"></div>\n
\n
</body>\n
</html>
......@@ -290,7 +287,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>939.43978.9403.31744</string> </value>
<value> <string>939.51115.58414.11008</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -308,7 +305,7 @@
</tuple>
<state>
<tuple>
<float>1418909214.15</float>
<float>1419245088.26</float>
<string>GMT</string>
</tuple>
</state>
......
......@@ -248,35 +248,6 @@
// handle acquisition\n
/////////////////////////////////////////////////////////////////\n
.declareAcquiredMethod("pleaseRedirectMyHash", "pleaseRedirectMyHash")\n
\n
// bridge translation gadget\n
.allowPublicAcquisition("translateRender", function (param_list) {\n
return this.getDeclaredGadget("translate")\n
.push(function (translation_gadget) {\n
return translation_gadget.render.apply(\n
translation_gadget,\n
param_list\n
);\n
});\n
})\n
.allowPublicAcquisition("changeLanguage", function (param_list) {\n
return this.getDeclaredGadget("translate")\n
.push(function (translation_gadget) {\n
return translation_gadget.changeLanguage.apply(\n
translation_gadget,\n
param_list\n
);\n
});\n
})\n
.allowPublicAcquisition("translateElementList", function (param_list) {\n
return this.getDeclaredGadget("translate")\n
.push(function (translation_gadget) {\n
return translation_gadget.translateElementList.apply(\n
translation_gadget,\n
param_list\n
);\n
});\n
})\n
\n
// Bridge to jio gadget\n
.allowPublicAcquisition("jio_allDocs", function (param_list) {\n
......@@ -656,7 +627,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>939.45541.57768.39543</string> </value>
<value> <string>939.51164.5256.46045</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -674,7 +645,7 @@
</tuple>
<state>
<tuple>
<float>1418913351.61</float>
<float>1419250252.2</float>
<string>GMT</string>
</tuple>
</state>
......
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