Commit 84d7904b authored by Gabriel Monnerat's avatar Gabriel Monnerat

Use Base_translateString to do translation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44547 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a76d437d
......@@ -37,7 +37,7 @@
<value> <unicode encoding="cdata"><![CDATA[
<form id="create_new_event">\n
<label>Event Type</label>\n
<label tal:content="python:unicode(here.Base_translateString(\'Event Type\'), \'utf-8\')">Event Type</label>\n
<select name="portal_type">\n
<option>Acknowledgement</option>\n
<option>Fax Message</option>\n
......
......@@ -36,6 +36,7 @@
<key> <string>_text</string> </key>
<value> <unicode encoding="cdata"><![CDATA[
<tal:block tal:define="default_language python:here.Localizer.get_selected_language()">\n
<div class="gadget-column">\n
<div class="gadget-action">\n
<div class="menu_create_object">\n
......@@ -65,8 +66,8 @@
</li> \n
</tal:block>\n
</div>\n
<input type="submit" id="upload" name="Upload" value="Upload"/>\n
<div id="upload_document" title="Upload Document">\n
<input type="submit" id="upload" name="Upload" tal:attributes="value python:here.Base_translateString(\'Upload\', lang=default_language)"/>\n
<div id="upload_document" tal:attributes="title python:here.Base_translateString(\'Upload Document\', lang=default_language)">\n
<form action="WebSection_uploadDocument" method="post" enctype="multipart/form-data">\n
<fieldset id="file_box">\n
<input type="file" size="30" name="file">\n
......@@ -76,14 +77,14 @@
<option value="Web Table">Web Table</option>\n
</select>\n
<br />\n
<input type="submit" value="Submit" id="submit_document">\n
<input type="submit" id="submit_document" tal:attributes="value python:here.Base_translateString(\'Submit\', lang=default_language)">\n
</fieldset>\n
</form> \n
</div>\n
<div class="file-selection">\n
<div class="file-quick-search"></div>\n
</div>\n
<div class="gadget-listbox" id="gadget-listbox" title="Add Gadget">\n
<div class="gadget-listbox" id="gadget-listbox" tal:attributes="title python:here.Base_translateString(\'Add Gadgets\', lang=default_language)">\n
<table id="gadget-table"></table>\n
</div>\n
<div class="front_pad">\n
......@@ -95,7 +96,8 @@
columns=1)"\n
class="draggable_wrapper"/>\n
</div>\n
</div>
</div>\n
</tal:block>
]]></unicode> </value>
</item>
......
......@@ -36,12 +36,14 @@
<key> <string>_text</string> </key>
<value> <unicode encoding="cdata"><![CDATA[
<tal:block tal:define="portal_path python: here.getWebSiteValue().absolute_url();">\n
<tal:block tal:define="portal_path python: here.getWebSiteValue().absolute_url();\n
default_language python:here.Localizer.get_selected_language()">\n
<a class="email" tal:attributes="href string:${portal_path}/mail">Email</a>\n
<a class="document" tal:attributes="href string:${portal_path}">Documents</a>\n
<a class="calendar" tal:attributes="href string:${portal_path}/calendar">Calendar</a>\n
</tal:block>\n
<a id="left_message">Not Implemented yet</a>
<a class="document" tal:attributes="href string:${portal_path}"\n
tal:content="python:here.Base_translateString(\'Documents\', lang=default_language)">Documents</a>\n
<a class="calendar" tal:attributes="href string:${portal_path}/calendar"\n
tal:content="python:here.Base_translateString(\'Calendar\', lang=default_language)">Calendar</a>\n
</tal:block>
]]></unicode> </value>
</item>
......
314
\ No newline at end of file
315
\ 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