Skip to content

Commit

Permalink
Add terms to Cattle Grid preset
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Nov 25, 2019
1 parent 25a4174 commit e76ffc5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3935,6 +3935,7 @@ en:
barrier/cattle_grid:
# barrier=cattle_grid
name: Cattle Grid
# 'terms: cattle guard,cattle stop,livestock grid,stock gate,stock grid,stock stop,Texas gate,vehicle pass'
terms: '<translate with synonyms or related terms for ''Cattle Grid'', separated by commas>'
barrier/chain:
# barrier=chain
Expand Down
2 changes: 1 addition & 1 deletion data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
"barrier/bollard_line": {"icon": "temaki-silo", "fields": ["access", "bollard", "height", "material", "colour"], "geometry": ["line"], "tags": {"barrier": "bollard"}, "name": "Bollard Row"},
"barrier/bollard": {"icon": "temaki-silo", "fields": ["access", "bollard", "height", "width", "material", "colour"], "geometry": ["point", "vertex"], "tags": {"barrier": "bollard"}, "name": "Bollard"},
"barrier/border_control": {"icon": "maki-roadblock", "fields": ["access", "building_area"], "moreFields": ["address", "email", "fax", "phone", "website"], "geometry": ["vertex", "area"], "tags": {"barrier": "border_control"}, "name": "Border Control"},
"barrier/cattle_grid": {"icon": "maki-barrier", "geometry": ["vertex"], "tags": {"barrier": "cattle_grid"}, "name": "Cattle Grid"},
"barrier/cattle_grid": {"icon": "maki-barrier", "geometry": ["vertex"], "tags": {"barrier": "cattle_grid"}, "terms": ["cattle guard", "cattle stop", "livestock grid", "stock gate", "stock grid", "stock stop", "Texas gate", "vehicle pass"], "name": "Cattle Grid"},
"barrier/chain": {"icon": "maki-barrier", "fields": ["access"], "geometry": ["vertex", "line"], "tags": {"barrier": "chain"}, "name": "Chain"},
"barrier/city_wall": {"icon": "temaki-wall", "fields": ["height", "material"], "geometry": ["line", "area"], "tags": {"barrier": "city_wall"}, "name": "City Wall"},
"barrier/cycle_barrier": {"icon": "maki-roadblock", "fields": ["access"], "geometry": ["vertex"], "tags": {"barrier": "cycle_barrier"}, "name": "Cycle Barrier"},
Expand Down
10 changes: 10 additions & 0 deletions data/presets/presets/barrier/cattle_grid.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,15 @@
"tags": {
"barrier": "cattle_grid"
},
"terms": [
"cattle guard",
"cattle stop",
"livestock grid",
"stock gate",
"stock grid",
"stock stop",
"Texas gate",
"vehicle pass"
],
"name": "Cattle Grid"
}
2 changes: 1 addition & 1 deletion dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -5840,7 +5840,7 @@
},
"barrier/cattle_grid": {
"name": "Cattle Grid",
"terms": ""
"terms": "cattle guard,cattle stop,livestock grid,stock gate,stock grid,stock stop,Texas gate,vehicle pass"
},
"barrier/chain": {
"name": "Chain",
Expand Down

0 comments on commit e76ffc5

Please sign in to comment.