Commit f9c84c07 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

translate pagetitle even in non-default document case.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29020 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f211fc73
...@@ -63,6 +63,10 @@ ...@@ -63,6 +63,10 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -75,6 +79,10 @@ ...@@ -75,6 +79,10 @@
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
...@@ -129,7 +137,7 @@ ...@@ -129,7 +137,7 @@
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
python:\'<h1 class="pagetitle">%s</h1>\' % request.current_web_document.getTitle() python:\'<h1 class="pagetitle">%s</h1>\' % request.current_web_document.getTranslatedTitle()
]]></string> </value> ]]></string> </value>
</item> </item>
......
142 143
\ 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