Merge pull request #269 from creative-commoners/pulls/3.1/moderation-labels

FIX Capitalise comment moderation action labels and update i18n syntax in templates
This commit is contained in:
Dylan Wagstaff 2018-11-28 14:36:30 +13:00 committed by GitHub
commit 4ee9720081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -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.'

View File

@ -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>