mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
FIX Capitalise comment moderation action labels and update i18n syntax in templates
This commit is contained in:
parent
f74d91041b
commit
e101b74778
@ -18,10 +18,10 @@ en:
|
|||||||
CommentsInterface_pendingcomment_ss:
|
CommentsInterface_pendingcomment_ss:
|
||||||
AWAITINGMODERATION: 'Your comment has been submitted and is now awaiting moderation.'
|
AWAITINGMODERATION: 'Your comment has been submitted and is now awaiting moderation.'
|
||||||
CommentsInterface_singlecomment_ss:
|
CommentsInterface_singlecomment_ss:
|
||||||
APPROVE: 'approve it'
|
APPROVE: 'Approve it'
|
||||||
ISNTSPAM: 'not spam'
|
ISNTSPAM: 'Not spam'
|
||||||
ISSPAM: 'spam it'
|
ISSPAM: 'Spam it'
|
||||||
REMCOM: 'reject it'
|
REMCOM: 'Reject it'
|
||||||
REPLYTO: 'Reply to'
|
REPLYTO: 'Reply to'
|
||||||
CommentsInterface_ss:
|
CommentsInterface_ss:
|
||||||
AWAITINGMODERATION: 'Your comment has been submitted and is now awaiting moderation.'
|
AWAITINGMODERATION: 'Your comment has been submitted and is now awaiting moderation.'
|
||||||
|
@ -20,21 +20,21 @@
|
|||||||
<div class="comment-action-links">
|
<div class="comment-action-links">
|
||||||
<div class="comment-moderation-options">
|
<div class="comment-moderation-options">
|
||||||
<% if $ApproveLink %>
|
<% if $ApproveLink %>
|
||||||
<a href="$ApproveLink.ATT" class="approve"><% _t('CommentsInterface_singlecomment_ss.APPROVE', 'approve it') %></a>
|
<a href="$ApproveLink.ATT" class="approve"><%t CommentsInterface_singlecomment_ss.APPROVE "Approve it" %></a>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
<% if $SpamLink %>
|
<% if $SpamLink %>
|
||||||
<a href="$SpamLink.ATT" class="spam"><% _t('CommentsInterface_singlecomment_ss.ISSPAM','spam it') %></a>
|
<a href="$SpamLink.ATT" class="spam"><%t CommentsInterface_singlecomment_ss.ISSPAM "Spam it" %></a>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
<% if $HamLink %>
|
<% if $HamLink %>
|
||||||
<a href="$HamLink.ATT" class="ham"><% _t('CommentsInterface_singlecomment_ss.ISNTSPAM','not spam') %></a>
|
<a href="$HamLink.ATT" class="ham"><%t CommentsInterface_singlecomment_ss.ISNTSPAM "Not spam" %></a>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
<% if $DeleteLink %>
|
<% if $DeleteLink %>
|
||||||
<a href="$DeleteLink.ATT" class="delete"><% _t('CommentsInterface_singlecomment_ss.REMCOM','reject it') %></a>
|
<a href="$DeleteLink.ATT" class="delete"><%t CommentsInterface_singlecomment_ss.REMCOM "Reject it" %></a>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</div>
|
</div>
|
||||||
<% if $RepliesEnabled && $canPostComment %>
|
<% if $RepliesEnabled && $canPostComment %>
|
||||||
<button class="comment-reply-link" type="button" aria-controls="$ReplyForm.FormName" aria-expanded="false">
|
<button class="comment-reply-link" type="button" aria-controls="$ReplyForm.FormName" aria-expanded="false">
|
||||||
<% _t('CommentsInterface_singlecomment_ss.REPLYTO','Reply to') %> $AuthorName.XML
|
<%t CommentsInterface_singlecomment_ss.REPLYTO "Reply to" %> $AuthorName.XML
|
||||||
</button>
|
</button>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user