diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-01 12:55:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-01 12:55:15 +0000 |
commit | ba56b3f76333408e3a4692d5e3214ec27db2f4fc (patch) | |
tree | 8a6ddafc5425f6fe0e18c73bcc815ab70381ac54 /app/helpers/search_helper.rb | |
parent | b2eeeb6fa0ccd0ca7a2c76d7894490656dcda328 (diff) | |
download | redmine-ba56b3f76333408e3a4692d5e3214ec27db2f4fc.tar.gz redmine-ba56b3f76333408e3a4692d5e3214ec27db2f4fc.zip |
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
Diffstat (limited to 'app/helpers/search_helper.rb')
-rw-r--r-- | app/helpers/search_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |