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
@@ -281,4 +281,4 @@ msgid "Add" | @@ -281,4 +281,4 @@ msgid "Add" | ||
281 | msgstr "Adicionar" | 281 | msgstr "Adicionar" |
282 | 282 | ||
283 | msgid "Type words about the %s you're looking for" | 283 | msgid "Type words about the %s you're looking for" |
284 | -msgstr "Escreve palavras sobre o %s que você está procurando" | 284 | +msgstr "Escreva palavras sobre o(a) %s que você está procurando" |
src/noosfero-spb/gov_user/views/search/institutions.html.erb
1 | <%= search_page_title( @titles[@asset], @category ) %> | 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 | <%= display_results(@searches, @asset) %> | 5 | <%= display_results(@searches, @asset) %> |
6 | <% if params[:display] != 'map' %> | 6 | <% if params[:display] != 'map' %> |
src/noosfero-spb/software_communities/views/search/sisp.html.erb
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | <div id="software-search-container"> | 3 | <div id="software-search-container"> |
4 | <%= search_page_title( @titles[@asset], @category ) %> | 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 | <% if @asset == :product %> | 8 | <% if @asset == :product %> |
9 | <%= javascript_tag do %> | 9 | <%= javascript_tag do %> |
src/noosfero-spb/software_communities/views/search/software_infos.html.erb
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | <div id="software-search-container"> | 3 | <div id="software-search-container"> |
4 | <%= search_page_title( @titles[@asset], @category ) %> | 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 | <% if @asset == :product %> | 8 | <% if @asset == :product %> |
9 | <%= javascript_tag do %> | 9 | <%= javascript_tag do %> |