Commit 7e4a5fcf authored by Yusei Tahara's avatar Yusei Tahara

erp5_hal_json_style: Do not translate container's title otherwise a new...

erp5_hal_json_style: Do not translate container's title otherwise a new translation message is added to Localizer/erp5_ui every time when a Sale Order Line is displayed for example.
parent 3db46412
...@@ -1432,7 +1432,7 @@ def calculateHateoas(is_portal=None, is_site_root=None, traversed_document=None, ...@@ -1432,7 +1432,7 @@ def calculateHateoas(is_portal=None, is_site_root=None, traversed_document=None,
"relative_url": container.getRelativeUrl(), "relative_url": container.getRelativeUrl(),
"script_id": script.id "script_id": script.id
}, },
"name": Base_translateString(container.getTitle()), "name": container.getTitle(),
} }
# Find current action URL and extract embedded view # Find current action URL and extract embedded view
......
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