]> git.openstreetmap.org Git - rails.git/blobdiff - config/locales/en.yml
Refactor nominatim translation a bit more.
[rails.git] / config / locales / en.yml
index ebcc8a9a634757588f8e1dfd61a6a309fd718672..a053a77936c3ced0700253a7ed2d815f1a341e6d 100644 (file)
@@ -391,8 +391,30 @@ en:
       suffix_parent: "{{suffix}} ({{parentdistance}} {{parentdirection}} of {{parentname}})"
       suffix_suburb: "{{suffix}}, {{parentname}}"
     search_osm_nominatim:
-      prefix_highway: "{{type}} road"
-      prefix_other: "{{type}}"
+      prefix
+        highway:
+          motorway: "Motorway"
+          trunk: "Trunk road"
+          primary: "Primary road"
+          secondary: "Secondary road"
+          tertiary: "Tertiary road"
+          unclassified: "Unclassified road"
+          residential: "Residential road"
+          track: "Track"
+          footway: "Footpath"
+          cycleway: "Cycle path"
+          bridleway: "Bridleway"
+        place:             
+          city: "City"
+          town: "Town"
+          suburb: "Suburb"
+          village: "Village"
+          hamlet: "Hamlet"
+        railway:
+          station: "Station"
+        amenity:
+          bus_stop: "Bus stop"
+          pub: "Pub"
     description:
       title:
         osm_namefinder: '{{types}} from <a href="http://gazetteer.openstreetmap.org/namefinder/">OpenStreetMap Namefinder</a>'