X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d5f02968f6f2dd153c74844e818a4d2b2ae24991..fb78544d05fc3539e672d029b37e6e37bf9a610a:/app/views/issues/show.html.erb diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 51498484d..1f57c454e 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -7,9 +7,9 @@ <%= @issue.reports.count %> reports | First reported: <%= l @issue.created_at.to_date, :format => :long %> <%= "| Last resolved at #{l(@issue.resolved_at.to_datetime, :format =>:long)}" if @issue.resolved_at? %>
-<%= link_to "Resolve", resolve_issue_url(@issue), :method => :post if @issue.may_resolve? %>
-<%= link_to "Ignore", ignore_issue_url(@issue), :method => :post if @issue.may_ignore? %>
-<%= link_to "Reopen", reopen_issue_url(@issue), :method => :post if @issue.may_reopen? %>
+<%= link_to t('issues.resolve'), resolve_issue_url(@issue), :method => :post if @issue.may_resolve? %>
+<%= link_to t('issues.ignore'), ignore_issue_url(@issue), :method => :post if @issue.may_ignore? %>
+<%= link_to t('issues.reopen'), reopen_issue_url(@issue), :method => :post if @issue.may_reopen? %>
<% end %>