X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d2bd78627e3903e990ddb28aebb39653ebb22fcd..40df6f7754ccd1ca551a47b654eef65341704a66:/app/views/geocoder/_results.rhtml 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) %>