From c816efc3862ddcdb8fa5e9f14a8b13ff98fdeae6 Mon Sep 17 00:00:00 2001 From: Nenad Vujicic Date: Fri, 23 Aug 2024 14:59:04 +0200 Subject: [PATCH] Compacted repeated "Results" into one sentence Fixes #5065. Removed "Results from" from search results. --- app/views/geocoder/search.html.erb | 2 +- config/locales/en.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.5