Commit 8cecb78f2bf9db1d00350dc2048f944493a077ca
Exists in
ratings_minor_fixes
and in
3 other branches
Merge branch 'search_hint_translation' into 'master'
Translates model name in search hint The text field hint in search page was not fully translated See merge request !945
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> | ... | ... |