Add translatable options for hazard_traffic field

This commit is contained in:
arch0345 2023-07-07 15:36:16 -07:00
parent 15254351c7
commit 98c75c8867
6 changed files with 40 additions and 21 deletions

View file

@ -1,5 +0,0 @@
{
"key": "hazard",
"type": "combo",
"label": "Hazard"
}

View file

@ -0,0 +1,35 @@
{
"key": "hazard",
"type": "combo",
"strings": {
"options": {
"animal_crossing": "Animal Crossing",
"cyclists": "Bicycle / Cyclist",
"bump": "Bump",
"children": "Children",
"queues_likely": "Congestion / Stoped Traffic",
"curve": "Curve",
"curves": "Curves",
"dangerous_junction": "Dangerous Intersection",
"dip": "Dip",
"emergency_vehicles": "Emergency Vehicles",
"falling_rocks": "Falling Rocks",
"flooding": "Flooding",
"fog": "Fog",
"horse_riders": "Horseback Rider",
"ice": "Ice",
"landslide": "Landslide",
"loose_gravel": "Loose Gravel",
"ground_clearance": "Low Ground Clearance",
"road_narrows": "Narrow Road",
"pedestrians": "Pedestrian",
"roundabout": "Roundabout",
"school_zone": "School Zone",
"turn": "Sharp Turn",
"turns": "Sharp Turns",
"slippery": "Slippery Road",
"traffic_signals": "Traffic Signal"
}
},
"label": "Hazard"
}

View file

@ -1,14 +0,0 @@
{
"icon": "fas-triangle-exclamation",
"fields": [
"name",
"hazard"
],
"geometry": [
"area"
],
"tags": {
"boundary": "hazard"
},
"name": "Hazardous Area"
}

View file

@ -29,5 +29,5 @@
"troop",
"war"
],
"name": "Military Danger Area"
"name": "Danger Zone, Access Prohibited"
}

View file

@ -2,7 +2,7 @@
"icon": "fas-triangle-exclamation",
"fields": [
"{traffic_sign}",
"hazard"
"hazard_traffic"
],
"geometry": [
"point",

View file

@ -15,5 +15,8 @@
"Bike Warning Sign",
"Cyclist Warning Sign"
],
"terms": [
"share the road"
],
"name": "Bicycle Warning Sign"
}