Skip to content

Commit 477a274

Browse files
committed
add missing i18n tags
1 parent 3b2d233 commit 477a274

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

src/cs_dynamicpages/views/dynamic_pages_template_management.pt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@
2929
tal:repeat="template view/available_templates"
3030
>
3131
<ul>
32-
<li><span i18n:translate="">Name</span>: ${template/name}</li>
33-
<li><span i18n:translate="">Content title</span>: ${template/Title} (${template/translated_portal_type})</li>
32+
<li><span i18n:translate="">Name</span>:
33+
<span tal:replace="template/name"></span></li>
34+
<li><span i18n:translate="">Content title</span>:
35+
<span tal:replace="template/Title"></span>
36+
(<span tal:replace="template/translated_portal_type"></span>)</li>
3437
<li><a href="${template/absolute_url}"
3538
i18n:translate=""
3639
>See template</a></li>

src/cs_dynamicpages/views/dynamic_view.pt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@
414414
data-bs-parent="#templateAccordion"
415415
>
416416
<div class="accordion-body">
417-
SHOW THE MINI RENDERING
417+
<span i18n:translate="">SHOW THE MINI RENDERING</span>
418418

419419
<a class="btn btn-primary apply-template"
420420
href="#"
@@ -429,7 +429,7 @@
429429

430430
</div>
431431
<hr tal:condition="templates" />
432-
<h2>Add block</h2>
432+
<h2 i18n:translate="">Add block</h2>
433433
<ul class="list-unstyled row">
434434
<li class="mb-2 col-4"
435435
tal:repeat="item available_views_for_row"
@@ -532,11 +532,13 @@
532532
<div class="modal-header">
533533
<h1 class="modal-title fs-5"
534534
id="addTemplateModal"
535+
i18n:translate=""
535536
>Add template</h1>
536537
<button class="btn-close"
537538
aria-label="Close"
538539
type="button"
539540
data-bs-dismiss="modal"
541+
i18n:attributes="aria-label"
540542
></button>
541543
</div>
542544
<div class="modal-body">

0 commit comments

Comments
 (0)