Commit b6739db9 authored by Nicolas Delaby's avatar Nicolas Delaby

Use Base_translateString to do translation and support non ascii translated messages.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42829 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8569c50e
......@@ -53,11 +53,13 @@
<value> <string>"""\n
Use to contribute file to ERP5.\n
"""\n
from Products.ERP5Type.Message import translateString\n
from ZTUtils import make_query\n
\n
MARKER = [\'\', None]\n
portal = context.getPortalObject()\n
translateString = portal.Base_translateString\n
\n
\n
MARKER = [\'\', None]\n
portal_contributions = portal.portal_contributions\n
context_url = context.getRelativeUrl()\n
\n
......
126
\ No newline at end of file
131
\ No newline at end of file
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