Commit d15a1549 authored by Jérome Perrin's avatar Jérome Perrin

translate solver actions

make a multi lines field for comments

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37510 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d03c3beb
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
<item> <item>
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list/> <list>
<string>height</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -74,12 +76,16 @@ ...@@ -74,12 +76,16 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_string_field</string> </value> <value> <string>my_comment</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>height</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
......
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:[(\'Do Nothing\', \'\')] + [(x.getSolverActionTitle() or x.getTitleOrId(), x.getRelativeUrl()) for x in cell.getCausalityValue().getSolverValueList()]</string> </value> <value> <string>python:[(context.Base_translateString(\'Do Nothing\'), \'\')] + [(context.Base_translateString(x.getSolverActionTitle()) or x.getTranslatedTitle(), x.getRelativeUrl()) for x in cell.getCausalityValue().getSolverValueList()]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
139 141
\ 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