X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d2bd78627e3903e990ddb28aebb39653ebb22fcd..d0b845fc6025f2fb84a4cf4fa10cbb71084843a7:/app/views/geocoder/_results.rhtml?ds=sidebyside diff --git a/app/views/geocoder/_results.rhtml b/app/views/geocoder/_results.rhtml index 9bcc5d8ae..bf42244f9 100644 --- a/app/views/geocoder/_results.rhtml +++ b/app/views/geocoder/_results.rhtml @@ -1,9 +1,9 @@ <% results.each do |source| %> -<% type = source[:type] || "Results" %> -
<%= type %> from <%= link_to source[:source], source[:url] %>
+<% type = source[:type] || t('geocoder.results.results') %> +<%= t'geocoder.results.type_from_source', :type => type, :source_link => link_to(source[:source], source[:url]) %>
<% if source[:results] %> <% if source[:results].empty? %> -No results found
+<%= t'geocoder.results.no_results' %>
<% else %> <% source[:results].each do |result| %><%= result_to_html(result) %>