Merge pull request #189 from plone/erral-add-missing-i18n-translate
add missing i18n:translate tags
This commit is contained in:
commit
6460109926
2
news/189.bugfix
Normal file
2
news/189.bugfix
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Add missing i18n:translate tags
|
||||||
|
[erral]
|
@ -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>
|
||||||
@ -102,11 +103,11 @@
|
|||||||
tal:attributes="for review_state"><span tal:content="python:translationhelper.translate_comment_review_state(review_state)">review_state</span></label>
|
tal:attributes="for review_state"><span tal:content="python:translationhelper.translate_comment_review_state(review_state)">review_state</span></label>
|
||||||
</div>
|
</div>
|
||||||
</tal:states>
|
</tal:states>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<table class="table table-bordered table-striped">
|
<table class="table table-bordered table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr tal:condition="items">
|
<tr tal:condition="items">
|
||||||
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user