X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/526ff061727cd1142350b08eae031294908d0b27..3e9080ac5750b893149b110679179eabaa37f7f7:/app/assets/javascripts/index/query.js diff --git a/app/assets/javascripts/index/query.js b/app/assets/javascripts/index/query.js index 99bb9d9c8..1f45a6872 100644 --- a/app/assets/javascripts/index/query.js +++ b/app/assets/javascripts/index/query.js @@ -82,7 +82,10 @@ OSM.Query = function(map) { var prefix = ""; if (tags.boundary === "administrative" && tags.admin_level) { - prefix = I18n.t("geocoder.search_osm_nominatim.admin_levels.level" + tags.admin_level) + prefix = + I18n.t("geocoder.search_osm_nominatim.admin_levels.level" + tags.admin_level, { + defaultValue: I18n.t("geocoder.search_osm_nominatim.prefix.boundary.administrative") + }) } else { var prefixes = I18n.t("geocoder.search_osm_nominatim.prefix");