diff --git a/app/views/repositories/_revisions.rhtml b/app/views/repositories/_revisions.rhtml index d9bf7cc7c..475d1b565 100644 --- a/app/views/repositories/_revisions.rhtml +++ b/app/views/repositories/_revisions.rhtml @@ -12,8 +12,8 @@ <%= link_to changeset.revision, :action => 'revision', :id => project, :rev => changeset.revision %> <%=h changeset.committer %> <%= format_time(changeset.committed_on) %> -<%= textilizable(changeset.comment) %> -<%= link_to 'Diff', :action => 'diff', :id => project, :path => path, :rev => changeset.revision if entry && entry.is_file? && changeset != changesets.last %> +<%= textilizable(changeset.comment) %> +<%= link_to l(:label_view_diff), :action => 'diff', :id => project, :path => path, :rev => changeset.revision if entry && entry.is_file? && changeset != changesets.last %> <% end %> diff --git a/app/views/repositories/revision.rhtml b/app/views/repositories/revision.rhtml index 3f28f3a9c..f738f8cda 100644 --- a/app/views/repositories/revision.rhtml +++ b/app/views/repositories/revision.rhtml @@ -22,9 +22,9 @@ <% @changeset.changes.each do |change| %>
<%= change.path %> - + <% if change.action == "M" %> -<%= link_to 'View diff', :action => 'diff', :id => @project, :path => change.path, :rev => @changeset.revision %> +<%= link_to l(:label_view_diff), :action => 'diff', :id => @project, :path => change.path, :rev => @changeset.revision %> <% end %> diff --git a/app/views/repositories/revisions.rhtml b/app/views/repositories/revisions.rhtml index 9e7cdd9c6..91ef64ed4 100644 --- a/app/views/repositories/revisions.rhtml +++ b/app/views/repositories/revisions.rhtml @@ -9,7 +9,7 @@ <% if @entry && @entry.is_file? %>

<%=h @entry.name %>

-

<%= link_to 'Download', {:action => 'entry', :id => @project, :path => @path, :rev => @rev, :format => 'raw' }, :class => "icon file" %> (<%= number_to_human_size @entry.size %>)

+

<%= link_to l(:button_download), {:action => 'entry', :id => @project, :path => @path, :rev => @rev, :format => 'raw' }, :class => "icon file" %> (<%= number_to_human_size @entry.size %>)

<% end %>

<%= l(:label_revision_plural) %>