Commit 4db8132c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

erp5_content_translation: fix Translation form for new UI.

parent f3dc7d8b
Pipeline #23776 failed with stage
in 0 seconds
from Products.ERP5Type.Message import translateString from Products.ERP5Type.Message import translateString
language_column_list = [(i['id'], translateString(i['title'])) language_column_list = [(i['id'], str(translateString(i['title'])))
for i in context.Localizer.get_languages_map()] for i in context.Localizer.get_languages_map()]
language_column_list.sort() language_column_list.sort()
return language_column_list return language_column_list
...@@ -317,7 +317,7 @@ ...@@ -317,7 +317,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.Base_getContentTranslationPropertyValueAndLabelList(pretty=True)</string> </value> <value> <string>python: here.Base_getContentTranslationPropertyValueAndLabelList()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -290,7 +290,7 @@ ...@@ -290,7 +290,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>cell</string> </value> <value> <string>python: str(cell)</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
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