]> git.openstreetmap.org Git - rails.git/commitdiff
Merge branch 'pull/5115'
authorAnton Khorev <tony29@yandex.ru>
Fri, 6 Sep 2024 03:04:25 +0000 (06:04 +0300)
committerAnton Khorev <tony29@yandex.ru>
Fri, 6 Sep 2024 03:04:25 +0000 (06:04 +0300)
app/views/geocoder/search.html.erb
config/locales/en.yml

index f87a4909dd3a4144bdae95a0505fcdc8b5d8817e..56f468f2f655a1303038a237173aca13550d7099 100644 (file)
@@ -4,7 +4,7 @@
 
 <% @sources.each do |source| %>
   <h4>
-    <%= 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 %>
   </h4>
   <div class="search_results_entry mx-n3" data-href="<%= url_for @params.merge(:action => "search_#{source[:name]}") %>">
     <div class="text-center loader">
index 0f3c5b18579e97091ba9521cdcc9f98424e1f8c3..e2f2de059e0927a85c711fc2329b4b15a4d8ff90 100644 (file)
@@ -668,7 +668,6 @@ en:
   geocoder:
     search:
       title:
-        results_from_html: 'Results from %{results_link}'
         latlon: Internal
         osm_nominatim: OpenStreetMap Nominatim
         osm_nominatim_reverse: OpenStreetMap Nominatim