Commit c562bc8a authored by Vincent Desmares's avatar Vincent Desmares

Fix title and translation for every Widget and fix translation in the box renderer.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26412 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 537a5158
...@@ -58,9 +58,21 @@ ...@@ -58,9 +58,21 @@
current_web_document python:request.get(\'current_web_document\', here);\n current_web_document python:request.get(\'current_web_document\', here);\n
breadcrumb_list python: current_web_section.getBreadcrumbItemList(current_web_document);">\n breadcrumb_list python: current_web_section.getBreadcrumbItemList(current_web_document);">\n
<ul>\n <ul>\n
<li class="nobullet" i18n:translate="" i18n:domain="ui">You are here</li><span>&nbsp;:&nbsp;</span>\n <li class="nobullet" \n
i18n:translate=""\n
i18n:domain="ui"\n
i18n:attributes="title"\n
title="This breadcrumb help you to remind you where you are in the web site.">You are here</li><span>&nbsp;:&nbsp;</span>\n
<li tal:repeat="breadcrumb breadcrumb_list">\n <li tal:repeat="breadcrumb breadcrumb_list">\n
<a href="#" tal:attributes="href python:breadcrumb[1].absolute_url()" \n <a href="#" tal:condition="not: repeat/breadcrumb/end"\n
i18n:domain="ui" i18n:attributes="title"\n
title="A previous emplacement in the web site."\n
tal:attributes="href python:breadcrumb[1].absolute_url();" \n
tal:content="python:breadcrumb[0]">Home</a>\n
<a href="#" tal:condition="repeat/breadcrumb/end"\n
i18n:domain="ui" i18n:attributes="title"\n
title="You are here."\n
tal:attributes="href python:breadcrumb[1].absolute_url();" \n
tal:content="python:breadcrumb[0]">Home</a>\n tal:content="python:breadcrumb[0]">Home</a>\n
</li>\n </li>\n
</ul>\n </ul>\n
......
...@@ -58,7 +58,9 @@ ...@@ -58,7 +58,9 @@
\n \n
<tal:block tal:define="current_web_site python:request.get(\'current_web_site\', here);\n <tal:block tal:define="current_web_site python:request.get(\'current_web_site\', here);\n
menu_item_list python:current_web_site.WebSection_getSiteMapTree(depth=3)">\n menu_item_list python:current_web_site.WebSection_getSiteMapTree(depth=3)">\n
<ul tal:repeat="menu_item menu_item_list">\n <ul tal:repeat="menu_item menu_item_list"\n
i18n:translate="" i18n:domain="ui" i18n:attributes="title"\n
title="Navigate threw the web site.">\n
<li tal:condition="python: menu_item is not None"><a href="#" tal:attributes="href menu_item/url"\n <li tal:condition="python: menu_item is not None"><a href="#" tal:attributes="href menu_item/url"\n
tal:content="menu_item/translated_title">Drop-down Menu<!--[if IE 7]><!--></a><!--<![endif]-->\n tal:content="menu_item/translated_title">Drop-down Menu<!--[if IE 7]><!--></a><!--<![endif]-->\n
<!--[if lte IE 6]><table><tr><td><![endif]-->\n <!--[if lte IE 6]><table><tr><td><![endif]-->\n
......
...@@ -68,18 +68,18 @@ ...@@ -68,18 +68,18 @@
current_web_site python:request.get(\'current_web_site\', here);">\n current_web_site python:request.get(\'current_web_site\', here);">\n
<a class="sitelogo"\n <a class="sitelogo"\n
href="#"\n href="#"\n
title="Home"\n i18n:translate="" i18n:domain="ui" i18n:attributes="title"\n
i18n:translate="" i18n:domain="ui"\n
tal:attributes="href current_web_site/absolute_url;\n tal:attributes="href current_web_site/absolute_url;\n
title python:current_web_site.getLayoutProperty(\'layout_header_title\')"></a> <!-- Make a script for search an image who have the site in follow_up / install DMS-->\n title python:current_web_site.getLayoutProperty(\'layout_header_title\')"></a> <!-- Make a script for search an image who have the site in follow_up / install DMS-->\n
<div class="sitename">\n <div class="sitename">\n
<h1><a href="#"\n <h1><a href="#"\n
title="Home"\n i18n:translate="" i18n:domain="ui" i18n:attributes="title"\n
i18n:translate="" i18n:domain="ui"\n
tal:content="current_web_section_header_title"\n tal:content="current_web_section_header_title"\n
tal:attributes="href current_web_site/absolute_url;\n tal:attributes="href current_web_site/absolute_url;\n
title current_web_section_header_title">Site Name</a></h1>\n title current_web_section_header_title">Site Name</a></h1>\n
<h2 i18n:translate="" i18n:domain="ui" tal:content="python:current_web_section.getLayoutProperty(\'layout_header_moto\')">Open Source Designs</h2>\n <h2 i18n:translate="" i18n:domain="ui" i18n:attributes="title"\n
tal:content="python:current_web_section.getLayoutProperty(\'layout_header_moto\')"\n
tal:attributes="title python:current_web_section.getLayoutProperty(\'layout_header_moto\')">Open Source Designs</h2>\n
</tal:block> </tal:block>
]]></string> </value> ]]></string> </value>
......
...@@ -56,7 +56,9 @@ ...@@ -56,7 +56,9 @@
</tal:block>\n </tal:block>\n
\n \n
\n \n
<ul tal:define="current_web_section python:request.get(\'current_web_section\', here)">\n <ul tal:define="current_web_section python:request.get(\'current_web_section\', here)"\n
i18n:translate="" i18n:domain="ui" i18n:attributes="title"\n
title="Sections accessible from here.">\n
<li tal:repeat="subsection python:current_web_section.WebSection_getSiteMapTree(depth=1)">\n <li tal:repeat="subsection python:current_web_section.WebSection_getSiteMapTree(depth=1)">\n
<a href="#" tal:content="subsection/translated_title"\n <a href="#" tal:content="subsection/translated_title"\n
tal:attributes="href subsection/url">Menu item</a>\n tal:attributes="href subsection/url">Menu item</a>\n
......
...@@ -39,13 +39,12 @@ ...@@ -39,13 +39,12 @@
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
\n
<tal:block metal:define-macro="widget">\n <tal:block metal:define-macro="widget">\n
<a id="anchor-sidemenu-4" tal:attributes="id gid"></a>\n <a id="anchor-sidemenu-4" tal:attributes="id gid"></a>\n
<div class="corner-subcontent-top" tal:condition="python:len(field_list)"></div>\n <div class="corner-subcontent-top" tal:condition="python:len(field_list)"></div>\n
<div tal:attributes="class python: gid.lstrip(aggregate_name);"\n <div tal:attributes="class python: gid.lstrip(aggregate_name);"\n
tal:condition="python:len(field_list)">\n tal:condition="python:len(field_list)">\n
<h1 class="group_title" tal:content="python: gtitle">4-01a. Side menu 1</h1> \n <h1 class="group_title" i18n:translate="" i18n:domain="ui" tal:content="python: gtitle">4-01a. Side menu 1</h1> \n
<fieldset class="widget">\n <fieldset class="widget">\n
<legend i18n:translate="" i18n:domain="ui" tal:content="python: gtitle" class="group_title"/>\n <legend i18n:translate="" i18n:domain="ui" tal:content="python: gtitle" class="group_title"/>\n
<tal:block tal:repeat="field field_list">\n <tal:block tal:repeat="field field_list">\n
...@@ -59,10 +58,22 @@ ...@@ -59,10 +58,22 @@
]]></string> </value> ]]></string> </value>
</item> </item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>multiflex5_box_renderer</string> </value> <value> <string>multiflex5_box_renderer</string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
65 66
\ 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