]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/_diary_comment.html.erb
Moved strings to locales + Added 'Issues' button + Fixed typo in tests
[rails.git] / app / views / diary_entry / _diary_comment.html.erb
index d74d06b8906daf93b57e5c1265fbb4653958b2bf..c741d7734630f5ca93b206c1102db4ec82979933 100644 (file)
@@ -6,6 +6,6 @@
     <%= link_to t('diary_entry.diary_comment.hide_link'), hide_diary_comment_path(:display_name => diary_comment.diary_entry.user.display_name, :id => diary_comment.diary_entry.id, :comment => diary_comment.id), :method => :post, :data=> { :confirm => t('diary_entry.diary_comment.confirm') } %> |
   <% end %>
   <% if @user and diary_comment.user.id != @user.id %>
-       <%= link_to 'Report', new_issue_url(reportable_id: diary_comment.id, reportable_type: diary_comment.class.name, reported_user_id: diary_comment.user.id) %>
+       <%= link_to t('issues.report'), new_issue_url(reportable_id: diary_comment.id, reportable_type: diary_comment.class.name, reported_user_id: diary_comment.user.id) %>
   <% end %>
 </div>