Added cardinal direction field to some route presets

This commit is contained in:
Minh Nguyễn 2021-08-06 21:58:34 -07:00
parent 2a3ab19203
commit 097273cc8c
5 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{
"key": "direction",
"type": "combo",
"label": "Direction",
"strings": {
"options": {
"north": "Northbound",
"south": "Southbound",
"east": "Eastbound",
"west": "Westbound"
}
},
"autoSuggestions" : false
}

View file

@ -6,6 +6,7 @@
"network_bicycle",
"cycle_network",
"network/type",
"direction_cardinal",
"from",
"to",
"via"

View file

@ -4,6 +4,7 @@
"name",
"ref_route",
"network_road",
"direction_cardinal",
"from",
"to",
"via"

View file

@ -5,6 +5,7 @@
"ref_route",
"operator",
"network",
"direction_cardinal",
"from",
"to",
"via"

View file

@ -857,6 +857,18 @@ en:
# direction field placeholder
placeholder: '45, 90, 180, 270'
terms: '[translate with synonyms or related terms for ''Direction (Degrees Clockwise)'', separated by commas]'
direction_cardinal:
# direction=*
label: Direction
options:
# direction=east
east: Eastbound
# direction=north
north: Northbound
# direction=south
south: Southbound
# direction=west
west: Westbound
direction_clock:
# direction=*
label: Direction