diff --git a/data/fields/direction_cardinal-US-CA-NZ.json b/data/fields/direction_cardinal-US-CA-NZ.json new file mode 100644 index 00000000..0420417d --- /dev/null +++ b/data/fields/direction_cardinal-US-CA-NZ.json @@ -0,0 +1,17 @@ +{ + "key": "direction", + "type": "combo", + "label": "Direction", + "strings": { + "options": { + "north": "Northbound", + "south": "Southbound", + "east": "Eastbound", + "west": "Westbound" + } + }, + "autoSuggestions" : false, + "locationSet": { + "include": [ "CA", "NZ", "US" ] + } +} diff --git a/data/presets/type/route/bicycle.json b/data/presets/type/route/bicycle.json index d6d822ae..9eb3c8b4 100644 --- a/data/presets/type/route/bicycle.json +++ b/data/presets/type/route/bicycle.json @@ -14,6 +14,7 @@ "ascent", "colour", "descent", + "direction_cardinal-US-CA-NZ", "distance", "roundtrip" ], diff --git a/data/presets/type/route/road.json b/data/presets/type/route/road.json index 7f62aa42..f412382b 100644 --- a/data/presets/type/route/road.json +++ b/data/presets/type/route/road.json @@ -4,6 +4,7 @@ "name", "ref_route", "network_road", + "direction_cardinal-US-CA-NZ", "from", "to", "via" diff --git a/data/presets/type/route/train.json b/data/presets/type/route/train.json index cb37ada1..e7747fc4 100644 --- a/data/presets/type/route/train.json +++ b/data/presets/type/route/train.json @@ -11,6 +11,7 @@ ], "moreFields": [ "colour", + "direction_cardinal-US-CA-NZ", "distance", "duration", "interval", diff --git a/interim/source_strings.yaml b/interim/source_strings.yaml index 0b072b86..45a67b8f 100644 --- a/interim/source_strings.yaml +++ b/interim/source_strings.yaml @@ -885,6 +885,19 @@ 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-US-CA-NZ: + # direction=* + label: Direction + options: + # direction=east + east: Eastbound + # direction=north + north: Northbound + # direction=south + south: Southbound + # direction=west + west: Westbound + terms: '[translate with synonyms or related terms for ''Direction'', separated by commas]' direction_clock: # direction=* label: Direction