Merge pull request #189 from plone/erral-add-missing-i18n-translate

add missing i18n:translate tags
This commit is contained in:
Jens W. Klein 2021-10-14 12:13:39 +02:00 committed by GitHub
commit 6460109926
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

2
news/189.bugfix Normal file
View File

@ -0,0 +1,2 @@
Add missing i18n:translate tags
[erral]

View File

@ -67,6 +67,7 @@
i18n:translate="bulkactions_publish"
tal:condition="python: filter != 'published'">Approve</option>
<option value="mark_as_spam"
i18n:translate="bulkactions_spam"
tal:condition="python: filter != 'spam'">Spam</option>
<option value="delete" i18n:translate="bulkactions_delete">Delete</option>
</select>
@ -182,6 +183,7 @@
>Delete</button>
<!-- edit -->
<a class="pat-plone-modal context btn btn-sm btn-primary" href="#"
i18n:translate="label_edit"
tal:attributes="href python:item_url+'/@@edit-comment?review_state=' + item.review_state">Edit</a>
<!-- workflow actions -->
@ -205,7 +207,8 @@
</td>
<td>
<span class="last-history-entry"
tal:attributes="data-href string:$item_url/@@contenthistorypopup">
tal:attributes="data-href string:$item_url/@@contenthistorypopup"
i18n:translate="">
last history entry
</span>
</td>