Commit c6c8ff1e authored by Rafael Monnerat's avatar Rafael Monnerat

Implement ticket_view with translated_simulation_state_title and update translation_data

See merge request !229
parents f7a543bb 8890d22f
...@@ -179,11 +179,11 @@ ...@@ -179,11 +179,11 @@
"my_simulation_state": { "my_simulation_state": {
"description": "", "description": "",
"title": result[1][5], "title": result[1][5],
"default": gadget.state.doc.simulation_state_title, "default": gadget.state.doc.translated_simulation_state_title,
"css_class": "", "css_class": "",
"required": 1, "required": 1,
"editable": 0, "editable": 0,
"key": "simulation_state", "key": "translated_simulation_state_title",
"hidden": 0, "hidden": 0,
"type": "StringField" "type": "StringField"
}, },
......
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>982.32558.21529.45158</string> </value> <value> <string>984.31603.59902.62276</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -249,7 +249,7 @@ ...@@ -249,7 +249,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1584354056.49</float> <float>1591824165.21</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -363,7 +363,15 @@ ...@@ -363,7 +363,15 @@
"Telephone": "Telephone", "Telephone": "Telephone",
"Address": "Address", "Address": "Address",
"Postal Code": "Postal Code", "Postal Code": "Postal Code",
"City": "City" "City": "City",
"User": "User",
"Opened": "Opened",
"Suspended": "Suspended",
"Submitted": "Submitted",
"Cancelled": "Cancelled",
"Closed": "Closed",
"Deleted": "Deleted",
"Draft": "Draft"
}, },
"zh": { "zh": {
"Title": "标题", "Title": "标题",
...@@ -462,7 +470,7 @@ ...@@ -462,7 +470,7 @@
"Fail...": "失败...", "Fail...": "失败...",
"2/3 Select one Release": "2/3 选择一个发布", "2/3 Select one Release": "2/3 选择一个发布",
"Longitude": "经度", "Longitude": "经度",
"Regularisation Request:": "正则要求:", "Regularisation Request:": "合规化请求:",
"Trade Condition": "贸易条款", "Trade Condition": "贸易条款",
"Previous": "上一页", "Previous": "上一页",
"Network": "网络", "Network": "网络",
...@@ -724,7 +732,15 @@ ...@@ -724,7 +732,15 @@
"Telephone": "电话号码", "Telephone": "电话号码",
"Address": "地址", "Address": "地址",
"Postal Code": "邮编", "Postal Code": "邮编",
"City": "城市" "City": "城市",
"User": "用户",
"Opened": "已开启",
"Suspended": "已暂停",
"Submitted": "已递交",
"Cancelled": "已取消",
"Closed": "已终止",
"Deleted": "已删除",
"Draft": "草拟"
} }
}; };
}(window)); }(window));
...@@ -233,7 +233,7 @@ ...@@ -233,7 +233,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>983.48431.41868.27426</string> </value> <value> <string>984.31273.50577.64750</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1588980555.44</float> <float>1591825398.38</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -104,6 +104,7 @@ ...@@ -104,6 +104,7 @@
<string>my_simulation_state_title</string> <string>my_simulation_state_title</string>
<string>my_destination_decision</string> <string>my_destination_decision</string>
<string>my_source</string> <string>my_source</string>
<string>my_translated_simulation_state_title</string>
</list> </list>
</value> </value>
</item> </item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_translated_simulation_state_title</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_string_field</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Resource</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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