From: Nenad Vujicic Date: Fri, 23 Aug 2024 12:59:04 +0000 (+0200) Subject: Compacted repeated "Results" into one sentence X-Git-Tag: live~209^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/c816efc3862ddcdb8fa5e9f14a8b13ff98fdeae6?ds=sidebyside Compacted repeated "Results" into one sentence Fixes #5065. Removed "Results from" from search results. --- diff --git a/app/views/geocoder/search.html.erb b/app/views/geocoder/search.html.erb index f87a4909d..56f468f2f 100644 --- a/app/views/geocoder/search.html.erb +++ b/app/views/geocoder/search.html.erb @@ -4,7 +4,7 @@ <% @sources.each do |source| %>

- <%= t(".title.results_from_html", :results_link => link_to(t(".title.#{source[:name]}"), source[:url].to_s)) %> + <%= link_to t(".title.#{source[:name]}"), source[:url].to_s %>

">
diff --git a/config/locales/en.yml b/config/locales/en.yml index dfad0230e..499579d59 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -674,7 +674,6 @@ en: geocoder: search: title: - results_from_html: 'Results from %{results_link}' latlon: Internal osm_nominatim: OpenStreetMap Nominatim osm_nominatim_reverse: OpenStreetMap Nominatim