diff app/helpers/search_helper.rb @ 51:371eac10df0b live

* Merge from "cannam" branch. This includes update to Redmine trunk, plus welcome/tip-of-the-day from luisf branch.
author Chris Cannam
date Wed, 24 Nov 2010 12:20:08 +0000
parents 94944d00e43c
children 0c939c159af4
line wrap: on
line diff
--- a/app/helpers/search_helper.rb	Thu Oct 21 11:19:14 2010 +0100
+++ b/app/helpers/search_helper.rb	Wed Nov 24 12:20:08 2010 +0000
@@ -39,7 +39,7 @@
   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