]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/_diary_entry.html.erb
Moved strings to locales + Added 'Issues' button + Fixed typo in tests
[rails.git] / app / views / diary_entry / _diary_entry.html.erb
index a5162ff597a09cfc4009477fec0e903a4afb934d..76a6666f31d9e973bec39852a02157168ce3c969 100644 (file)
@@ -33,7 +33,7 @@
 
       <li>
         <% if @user and diary_entry.user.id != @user.id %>
-          <%= link_to 'Report', new_issue_url(reportable_id: diary_entry.id, reportable_type: diary_entry.class.name, reported_user_id: diary_entry.user.id) %>
+          <%= link_to t('issues.report'), new_issue_url(reportable_id: diary_entry.id, reportable_type: diary_entry.class.name, reported_user_id: diary_entry.user.id) %>
         <% end %>
       </li>
     <%= if_administrator(:li) do %>