Commit 5eafcba484529825ad0138d296729e7c8a116abf
1 parent
23abc6b0
Exists in
master
Translates Institution search hint
Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
Showing
4 changed files
with
4 additions
and
4 deletions
Show diff stats
src/noosfero-spb/gov_user/po/pt/gov_user.po
src/noosfero-spb/gov_user/views/search/institutions.html.erb
1 | 1 | <%= search_page_title( @titles[@asset], @category ) %> |
2 | 2 | |
3 | -<%= render :partial => 'search_form', :locals => { :hint => _("Type words about the %s you're looking for") % @asset.to_s.singularize } %> | |
3 | +<%= render :partial => 'search_form', :locals => { :hint => _("Type words about the %s you're looking for") % _(@asset.to_s.singularize) } %> | |
4 | 4 | |
5 | 5 | <%= display_results(@searches, @asset) %> |
6 | 6 | <% if params[:display] != 'map' %> | ... | ... |
src/noosfero-spb/software_communities/views/search/sisp.html.erb
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | <div id="software-search-container"> |
4 | 4 | <%= search_page_title( @titles[@asset], @category ) %> |
5 | 5 | |
6 | - <%= render :partial => 'software_search_form', :locals => { :hint => _("Type words about the %s you're looking for") % @asset.to_s.singularize } %> | |
6 | + <%= render :partial => 'software_search_form', :locals => { :hint => _("Type words about the %s you're looking for") % _(@asset.to_s.singularize) } %> | |
7 | 7 | |
8 | 8 | <% if @asset == :product %> |
9 | 9 | <%= javascript_tag do %> | ... | ... |
src/noosfero-spb/software_communities/views/search/software_infos.html.erb
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | <div id="software-search-container"> |
4 | 4 | <%= search_page_title( @titles[@asset], @category ) %> |
5 | 5 | |
6 | - <%= render :partial => 'software_search_form', :locals => { :hint => _("Type words about the %s you're looking for") % @asset.to_s.singularize } %> | |
6 | + <%= render :partial => 'software_search_form', :locals => { :hint => _("Type words about the %s you're looking for") % _(@asset.to_s.singularize) } %> | |
7 | 7 | |
8 | 8 | <% if @asset == :product %> |
9 | 9 | <%= javascript_tag do %> | ... | ... |