From 9f092d884f4aa194e2b512d5d1d933e53096cab7 Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Tue, 5 Jan 2021 10:18:33 -0500 Subject: [PATCH] Add Via field to route relations (re: #104) --- data/fields/via.json | 6 ++++++ data/presets/type/route/bicycle.json | 3 ++- data/presets/type/route/hiking.json | 3 ++- data/presets/type/route/horse.json | 3 ++- data/presets/type/route/piste.json | 3 ++- data/presets/type/route/road.json | 3 ++- data/presets/type/route/train.json | 3 ++- interim/source_strings.yaml | 3 +++ 8 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 data/fields/via.json diff --git a/data/fields/via.json b/data/fields/via.json new file mode 100644 index 00000000..e6e71c61 --- /dev/null +++ b/data/fields/via.json @@ -0,0 +1,6 @@ +{ + "key": "via", + "type": "semiCombo", + "label": "Via", + "snake_case": false +} diff --git a/data/presets/type/route/bicycle.json b/data/presets/type/route/bicycle.json index 0c326d66..665798c5 100644 --- a/data/presets/type/route/bicycle.json +++ b/data/presets/type/route/bicycle.json @@ -7,7 +7,8 @@ "cycle_network", "network/type", "from", - "to" + "to", + "via" ], "moreFields": [ "ascent", diff --git a/data/presets/type/route/hiking.json b/data/presets/type/route/hiking.json index 934780c5..84aa13d9 100644 --- a/data/presets/type/route/hiking.json +++ b/data/presets/type/route/hiking.json @@ -7,7 +7,8 @@ "network_foot", "network/type", "from", - "to" + "to", + "via" ], "moreFields": [ "ascent", diff --git a/data/presets/type/route/horse.json b/data/presets/type/route/horse.json index 047ab6e9..1cf23457 100644 --- a/data/presets/type/route/horse.json +++ b/data/presets/type/route/horse.json @@ -7,7 +7,8 @@ "network_horse", "network/type", "from", - "to" + "to", + "via" ], "moreFields": [ "ascent", diff --git a/data/presets/type/route/piste.json b/data/presets/type/route/piste.json index 397d688a..7c3616b6 100644 --- a/data/presets/type/route/piste.json +++ b/data/presets/type/route/piste.json @@ -6,7 +6,8 @@ "ref_route", "operator", "from", - "to" + "to", + "via" ], "moreFields": [ "ascent", diff --git a/data/presets/type/route/road.json b/data/presets/type/route/road.json index d0ad0562..7f62aa42 100644 --- a/data/presets/type/route/road.json +++ b/data/presets/type/route/road.json @@ -5,7 +5,8 @@ "ref_route", "network_road", "from", - "to" + "to", + "via" ], "moreFields": [ "colour", diff --git a/data/presets/type/route/train.json b/data/presets/type/route/train.json index d95579c6..cb37ada1 100644 --- a/data/presets/type/route/train.json +++ b/data/presets/type/route/train.json @@ -6,7 +6,8 @@ "operator", "network", "from", - "to" + "to", + "via" ], "moreFields": [ "colour", diff --git a/interim/source_strings.yaml b/interim/source_strings.yaml index e575bf43..2c13eaea 100644 --- a/interim/source_strings.yaml +++ b/interim/source_strings.yaml @@ -2919,6 +2919,9 @@ en: label: VHF Channel # 'terms: call sign,very high frequency' terms: '[translate with synonyms or related terms for ''VHF Channel'', separated by commas]' + via: + # via=* + label: Via video_calls: # video=* label: Video Calls