Skip to content

Commit fc11ad2

Browse files
authored
Change t to translation (#8509)
1 parent 33b72fc commit fc11ad2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<% if comment.status == 4 %>
22
<p class="alert alert-warning moderated">
33
<% if logged_in_as(['admin','moderator']) %>
4-
<%= t('dashboard._comment_moderate.first_time_post') %>
5-
<a class="btn btn-outline-secondary btn-sm" href="/admin/publish_comment/<%= comment.id %>"><%= t('dashboard.moderate.approve') %></a>
6-
<a class="btn btn-outline-secondary btn-sm" href="/admin/mark_comment_spam/<%= comment.id %>"><%= t('dashboard.moderate.spam') %></a>
4+
<%= translation('dashboard._comment_moderate.first_time_post') %>
5+
<a class="btn btn-outline-secondary btn-sm" href="/admin/publish_comment/<%= comment.id %>"><%= translation('dashboard.moderate.approve') %></a>
6+
<a class="btn btn-outline-secondary btn-sm" href="/admin/mark_comment_spam/<%= comment.id %>"><%= translation('dashboard.moderate.spam') %></a>
77
<% else %>
8-
<%= raw t('dashboard.moderate.pending_approval', :url => '/wiki/moderation') %>
8+
<%= raw translation('dashboard.moderate.pending_approval', :url => '/wiki/moderation') %>
99
<% end %>
1010
</p>
1111
<% end %>

0 commit comments

Comments
 (0)