From ba56b3f76333408e3a4692d5e3214ec27db2f4fc Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 1 Nov 2010 12:55:15 +0000 Subject: [PATCH] Provides a default string for untranslated search types. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4353 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/search_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb index 640b5a907..b8f416c58 100644 --- a/app/helpers/search_helper.rb +++ b/app/helpers/search_helper.rb @@ -39,7 +39,7 @@ module SearchHelper end def type_label(t) - l("label_#{t.singularize}_plural") + l("label_#{t.singularize}_plural", :default => t.to_s.humanize) end def project_select_tag