From 9887ed71710ff6c7d43449a9e3e69d84a2fa872a Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 12 Aug 2011 01:34:26 +0000 Subject: [PATCH] Replace hardcoded string "diff" in Repositories_Helper (#9043). Contributed by Tom Rochette. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6424 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/repositories_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index 7b2d65c14..14cd4aafd 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -103,7 +103,7 @@ module RepositoriesHelper :path => path_param, :rev => @changeset.identifier) unless c.action == 'D' text << " - #{h(c.revision)}" unless c.revision.blank? - text << ' (' + link_to('diff', :controller => 'repositories', + text << ' (' + link_to(l(:label_diff), :controller => 'repositories', :action => 'diff', :id => @project, :path => path_param, -- 2.39.5