add missing i18n:translate tags

This commit is contained in:
Mikel Larreategi 2021-10-14 07:55:31 +02:00
parent 68398a1ab4
commit 62e0eb8059
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" i18n:translate="bulkactions_publish"
tal:condition="python: filter != 'published'">Approve</option> tal:condition="python: filter != 'published'">Approve</option>
<option value="mark_as_spam" <option value="mark_as_spam"
i18n:translate="bulkactions_spam"
tal:condition="python: filter != 'spam'">Spam</option> tal:condition="python: filter != 'spam'">Spam</option>
<option value="delete" i18n:translate="bulkactions_delete">Delete</option> <option value="delete" i18n:translate="bulkactions_delete">Delete</option>
</select> </select>
@ -182,6 +183,7 @@
>Delete</button> >Delete</button>
<!-- edit --> <!-- edit -->
<a class="pat-plone-modal context btn btn-sm btn-primary" href="#" <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> tal:attributes="href python:item_url+'/@@edit-comment?review_state=' + item.review_state">Edit</a>
<!-- workflow actions --> <!-- workflow actions -->
@ -205,7 +207,8 @@
</td> </td>
<td> <td>
<span class="last-history-entry" <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 last history entry
</span> </span>
</td> </td>