Commit 10e1b17d authored by Jérome Perrin's avatar Jérome Perrin

if we do not want to translate group and site, it should be set on the...

if we do not want to translate group and site, it should be set on the categories, because there are some cases where we want to translate, and to many places call getTranslatedTitle anyway

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34585 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c0a1fec3
......@@ -13,9 +13,9 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
<string>description</string>
<string>items</string>
<string>title</string>
</list>
</value>
</item>
......@@ -133,7 +133,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:here.Base_getPreferredCategoryChildItemList(here.portal_categories.group, translate=False)</string> </value>
<value> <string>python:here.Base_getPreferredCategoryChildItemList(here.portal_categories.group)</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -13,9 +13,9 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
<string>description</string>
<string>items</string>
<string>title</string>
</list>
</value>
</item>
......@@ -133,7 +133,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:here.Base_getPreferredCategoryChildItemList(here.portal_categories.site, translate=False)</string> </value>
<value> <string>python:here.Base_getPreferredCategoryChildItemList(here.portal_categories.site)</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -13,9 +13,9 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
<string>description</string>
<string>items</string>
<string>title</string>
</list>
</value>
</item>
......@@ -133,7 +133,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:here.Base_getPreferredCategoryChildItemList(here.portal_categories.group, translate=False)</string> </value>
<value> <string>python:here.Base_getPreferredCategoryChildItemList(here.portal_categories.group)</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -13,9 +13,9 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
<string>description</string>
<string>items</string>
<string>title</string>
</list>
</value>
</item>
......@@ -133,7 +133,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:here.Base_getPreferredCategoryChildItemList(context.portal_categories.site, translate=False)</string> </value>
<value> <string>python:here.Base_getPreferredCategoryChildItemList(context.portal_categories.site)</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -269,11 +269,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -288,18 +285,15 @@
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/portal_categories/group/getCategoryChildLogicalPathItemList</string> </value>
<value> <string>python:here.Base_getPreferredCategoryChildItemList(here.portal_categories.group)</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -269,11 +269,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -288,18 +285,15 @@
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/portal_categories/site/getCategoryChildLogicalPathItemList</string> </value>
<value> <string>python:here.Base_getPreferredCategoryChildItemList(context.portal_categories.site)</string> </value>
</item>
</dictionary>
</pickle>
......
713
\ No newline at end of file
714
\ 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