<% results.each do |source| %>
-<% type = source[:type] || "Results" %>
-<p class="search_results_heading"><%= type %> from <%= link_to source[:source], source[:url] %></p>
+<% type = source[:type] || t('geocoder.results.results') %>
+<p class="search_results_heading"><%= t'geocoder.results.type_from_source', :type => type, :source_link => link_to(source[:source], source[:url]) %></p>
<% if source[:results] %>
<% if source[:results].empty? %>
-<p class="search_results_entry">No results found</p>
+<p class="search_results_entry"><%= t'geocoder.results.no_results' %></p>
<% else %>
<% source[:results].each do |result| %>
<p class="search_results_entry"><%= result_to_html(result) %></p>
change_marker: "Change marker position"
add_marker: "Add a marker to the map"
view_larger_map: "View Larger Map"
+ geocoder:
+ results:
+ results: "Results"
+ type_from_source: "{{type}} from {{source_link}}"
+ no_results: "No results found"
layouts:
welcome_user: "Welcome, {{user_link}}"
inbox: "inbox ({{size}})"