X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0fd4a6175961671f25f70e055c28aaabc66685a4..b9c9d6c1aafdd60c72b54345b4d2dc94317298a0:/app/controllers/geocoder_controller.rb?ds=sidebyside diff --git a/app/controllers/geocoder_controller.rb b/app/controllers/geocoder_controller.rb index 2071dacce..2af95e5fa 100644 --- a/app/controllers/geocoder_controller.rb +++ b/app/controllers/geocoder_controller.rb @@ -254,7 +254,7 @@ class GeocoderController < ApplicationController name = place.attributes["display_name"].to_s min_lat,max_lat,min_lon,max_lon = place.attributes["boundingbox"].to_s.split(",") prefix_name = t "geocoder.search_osm_nominatim.prefix.#{klass}.#{type}", :default => type.gsub("_", " ").capitalize - prefix = t "geocoder.search_osm_nominatim_format.prefix", :name => prefix_name + prefix = t "geocoder.search_osm_nominatim.prefix_format", :name => prefix_name @results.push({:lat => lat, :lon => lon, :min_lat => min_lat, :max_lat => max_lat,