Index: app/views/projects/list_files.rhtml =================================================================== --- app/views/projects/list_files.rhtml (revision 579) +++ app/views/projects/list_files.rhtml (working copy) @@ -31,7 +31,7 @@ <% if delete_allowed %>
- <%= link_to_if_authorized '', {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %> + <%= link_to_if_authorized l(:button_delete), {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
<% end %>