--- a/src/pyams_content/shared/common/zmi/templates/check-input.pt Tue Oct 30 11:01:34 2018 +0100
+++ b/src/pyams_content/shared/common/zmi/templates/check-input.pt Tue Oct 30 11:01:52 2018 +0100
@@ -31,7 +31,7 @@
onselect view/onselect;
checked python: checked and 'checked' or None;
data-ams-data tales:object_data(view);" />
- <i></i><span tal:replace="item/label" i18n:translate="">Label</span>
+ <i></i><span tal:replace="python:request.localizer.translate(item['label'])">Label</span>
</label>
<button class="btn btn-xs col-md-2" i18n:domain="pyams_content"
data-ams-url="content-check.html" data-toggle="modal">
--- a/src/pyams_content/shared/common/zmi/templates/preview-input.pt Tue Oct 30 11:01:34 2018 +0100
+++ b/src/pyams_content/shared/common/zmi/templates/preview-input.pt Tue Oct 30 11:01:52 2018 +0100
@@ -31,7 +31,7 @@
onselect view/onselect;
checked python: checked and 'checked' or None;
data-ams-data tales:object_data(view);" />
- <i></i><span tal:replace="item/label" i18n:translate="">Label</span>
+ <i></i><span tal:replace="python:request.localizer.translate(item['label'])">Label</span>
</label>
<button class="btn btn-xs col-md-2" i18n:domain="pyams_content"
data-ams-url="content-preview.html" data-toggle="modal">