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
This commit is contained in:
parent
b2eeeb6fa0
commit
ba56b3f763
app/helpers
|
@ -39,7 +39,7 @@ module SearchHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def type_label(t)
|
def type_label(t)
|
||||||
l("label_#{t.singularize}_plural")
|
l("label_#{t.singularize}_plural", :default => t.to_s.humanize)
|
||||||
end
|
end
|
||||||
|
|
||||||
def project_select_tag
|
def project_select_tag
|
||||||
|
|
Loading…
Reference in New Issue