Commit 9576d0557144e7d9d55821dfc893e1650ee27182
1 parent
688cc083
Exists in
staging
and in
27 other branches
Translates model name in search hint
Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
Showing
5 changed files
with
7 additions
and
3 deletions
Show diff stats
app/models/article.rb
app/models/community.rb
app/models/enterprise.rb
app/models/person.rb
app/views/search/search_page.html.erb
1 | -<%= render :partial => 'search_form', :locals => { :hint => _("Type words about the %s you're looking for") % @asset.to_s.singularize } %> | |
1 | +<%= render :partial => 'search_form', :locals => { :hint => _("Type words about the %s you're looking for") % _(@asset.to_s.singularize) } %> | |
2 | 2 | <%= render :partial => 'search_content' %> |
3 | 3 | |
4 | 4 | <div style="clear: both"></div> | ... | ... |