From 4c75bd404bd4ca0ac1fa30d30db807812f995e72 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 29 Mar 2007 19:02:48 +0000 Subject: [PATCH] removed hard coded strings in views git-svn-id: http://redmine.rubyforge.org/svn/trunk@391 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/repositories/_revisions.rhtml | 4 ++-- app/views/repositories/revision.rhtml | 4 ++-- app/views/repositories/revisions.rhtml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/repositories/_revisions.rhtml b/app/views/repositories/_revisions.rhtml index d9bf7cc7..475d1b56 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 3f28f3a9..f738f8cd 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 9e7cdd9c..91ef64ed 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) %>