Commit a76439d17de765302290af43374460751b24c7a9
Committed by
Daniela Feitosa
1 parent
d6b940e9
Exists in
master
and in
29 other branches
Call translate function
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/public/search_controller.rb
... | ... | @@ -243,7 +243,7 @@ class SearchController < PublicController |
243 | 243 | @searching = {} |
244 | 244 | @titles = {} |
245 | 245 | @enabled_searches.each do |key, name| |
246 | - @titles[key] = name | |
246 | + @titles[key] = _(name) | |
247 | 247 | @searching[key] = params[:action] == 'index' || params[:action] == key.to_s |
248 | 248 | end |
249 | 249 | @names = @titles if @names.nil? | ... | ... |