]> source.dussan.org Git - redmine.git/commitdiff
Replace hardcoded string "diff" in Repositories_Helper (#9043).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 12 Aug 2011 01:34:26 +0000 (01:34 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 12 Aug 2011 01:34:26 +0000 (01:34 +0000)
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

index 7b2d65c1427368924ffce44a04da8236657aa257..14cd4aafdb47e2f0af9720321a22753ec35e75da 100644 (file)
@@ -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,