Commit 0a9f1be8 authored by Gabriel Monnerat's avatar Gabriel Monnerat

continuation of r44596. Use ZPT engine to do translation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44597 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fbc2f0d3
...@@ -50,12 +50,15 @@ ...@@ -50,12 +50,15 @@
<tal:block tal:define="portal_path here/absolute_url;\n <tal:block tal:define="portal_path here/absolute_url;\n
url_suffix python: \'/ERP5Site_createNewWebDocument?select_action=\'">\n url_suffix python: \'/ERP5Site_createNewWebDocument?select_action=\'">\n
<li>\n <li>\n
<a id="change_state">Change State<img tal:attributes="src python: portal_path + \'/ung_images/arrow.png\'"></a>\n <a id="change_state">\n
<span i18n:translate="" i18n:domain="ui">Change State</span>\n
<img tal:attributes="src python: portal_path + \'/ung_images/arrow.png\'">\n
</a>\n
<ul>\n <ul>\n
<tal:block tal:repeat="action actions/workflow">\n <tal:block tal:repeat="action actions/workflow">\n
<li>\n <li>\n
<a tal:attributes="href string:workflow ${action/url}">\n <a tal:attributes="href string:workflow ${action/url}">\n
<h6 tal:content="action/name"></h6>\n <h6 tal:content="action/name" i18n:translate="" i18n:domain="ui"></h6>\n
</a>\n </a>\n
</li>\n </li>\n
</tal:block>\n </tal:block>\n
......
...@@ -41,24 +41,26 @@ ...@@ -41,24 +41,26 @@
<div class="menu_create_object">\n <div class="menu_create_object">\n
<tal:block tal:define="portal_path here/absolute_url;\n <tal:block tal:define="portal_path here/absolute_url;\n
url_suffix python: \'/ERP5Site_createNewWebDocument?template=\'">\n url_suffix python: \'/ERP5Site_createNewWebDocument?template=\'">\n
<li><a id="current">Create New<img tal:attributes="src python: portal_path + \'/ung_images/arrow.png\'"></a>\n <li><a id="current">\n
<span i18n:translate="" i18n:domain="ui">Create New</span>\n
<img tal:attributes="src python: portal_path + \'/ung_images/arrow.png\'"></a>\n
<ul>\n <ul>\n
<li>\n <li>\n
<a tal:attributes="href python: portal_path + url_suffix + \'web_illustration_template\'">\n <a tal:attributes="href python: portal_path + url_suffix + \'web_illustration_template\'">\n
<img tal:attributes="src python: portal_path + \'/ung_images/svg.png\'">\n <img tal:attributes="src python: portal_path + \'/ung_images/svg.png\'">\n
Web Illustration\n <span i18n:translate="" i18n:domain="ui">Web Illustration</span>\n
</a>\n </a>\n
</li>\n </li>\n
<li>\n <li>\n
<a tal:attributes="href python: portal_path + url_suffix + \'web_table_template\'">\n <a tal:attributes="href python: portal_path + url_suffix + \'web_table_template\'">\n
<img tal:attributes="src python: portal_path + \'/ung_images/table.jpg\'">\n <img tal:attributes="src python: portal_path + \'/ung_images/table.jpg\'">\n
Web Table\n <span i18n:translate="" i18n:domain="ui">Web Table</span>\n
</a>\n </a>\n
</li>\n </li>\n
<li>\n <li>\n
<a tal:attributes="href python: portal_path + url_suffix + \'web_page_template\'">\n <a tal:attributes="href python: portal_path + url_suffix + \'web_page_template\'">\n
<img tal:attributes="src python: portal_path + \'/ung_images/document.gif\'">\n <img tal:attributes="src python: portal_path + \'/ung_images/document.gif\'">\n
Web Page\n <span i18n:translate="" i18n:domain="ui">Web Page</span>\n
</a>\n </a>\n
</li>\n </li>\n
</ul>\n </ul>\n
...@@ -71,9 +73,9 @@ ...@@ -71,9 +73,9 @@
<fieldset id="file_box">\n <fieldset id="file_box">\n
<input type="file" size="30" name="file">\n <input type="file" size="30" name="file">\n
<select name="portal_type">\n <select name="portal_type">\n
<option value="Web Page">Web Page</option>\n <option value="Web Page" i18n:translate="" i18n:domain="ui">Web Page</option>\n
<option value="Web Illustration">Web Illustration</option>\n <option value="Web Illustration" i18n:translate="" i18n:domain="ui">Web Illustration</option>\n
<option value="Web Table">Web Table</option>\n <option value="Web Table" i18n:translate="" i18n:domain="ui">Web Table</option>\n
</select>\n </select>\n
<br />\n <br />\n
<input type="submit" id="submit_document" value="Submit" i18n:translate="" i18n:domain="ui">\n <input type="submit" id="submit_document" value="Submit" i18n:translate="" i18n:domain="ui">\n
......
326 327
\ No newline at end of file \ 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