diff --git a/data/presets.yaml b/data/presets.yaml index 48e11b274..e63611b99 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -1623,6 +1623,8 @@ en: undefined: Assumed to be No # oneway=yes 'yes': 'Yes' + # 'terms: bidirectional,oneway,unidirectional' + terms: '[translate with synonyms or related terms for ''One Way'', separated by commas]' oneway/bicycle: # 'oneway:bicycle=*' label: One Way (Bicycles) diff --git a/data/presets/fields.json b/data/presets/fields.json index c7fc1411e..0bb7b5947 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -297,7 +297,7 @@ "note": {"key": "note", "type": "textarea", "universal": true, "icon": "note", "label": "Note", "terms": ["comment"]}, "office": {"key": "office", "type": "typeCombo", "label": "Type"}, "oneway_yes": {"key": "oneway", "type": "onewayCheck", "label": "One Way", "strings": {"options": {"undefined": "Assumed to be Yes", "yes": "Yes", "no": "No", "reversible": "Reversible", "alternating": "Alternating"}}}, - "oneway": {"key": "oneway", "type": "onewayCheck", "label": "One Way", "strings": {"options": {"undefined": "Assumed to be No", "yes": "Yes", "no": "No", "reversible": "Reversible", "alternating": "Alternating"}}}, + "oneway": {"key": "oneway", "type": "onewayCheck", "label": "One Way", "strings": {"options": {"undefined": "Assumed to be No", "yes": "Yes", "no": "No", "reversible": "Reversible", "alternating": "Alternating"}}, "terms": ["bidirectional", "oneway", "unidirectional"]}, "oneway/bicycle": {"key": "oneway:bicycle", "type": "check", "label": "One Way (Bicycles)", "prerequisiteTag": {"key": "oneway"}}, "openfire": {"key": "openfire", "type": "check", "label": "Open Fires Allowed"}, "opening_date": {"key": "opening_date", "type": "text", "label": "Expected Opening Date", "placeholder": "YYYY-MM-DD"}, diff --git a/data/presets/fields/oneway.json b/data/presets/fields/oneway.json index b2c30c9fd..f83d22a3d 100644 --- a/data/presets/fields/oneway.json +++ b/data/presets/fields/oneway.json @@ -10,5 +10,10 @@ "reversible": "Reversible", "alternating": "Alternating" } - } + }, + "terms": [ + "bidirectional", + "oneway", + "unidirectional" + ] } diff --git a/data/presets/presets.json b/data/presets/presets.json index 13ce0e7fd..4a407e656 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -1040,7 +1040,7 @@ "railway/tram": {"icon": "temaki-tram", "fields": ["{railway/light_rail}"], "moreFields": ["{railway/light_rail}"], "geometry": ["line"], "tags": {"railway": "tram"}, "terms": ["electric street railway", "light rail", "streetcar", "tramway", "trolley"], "name": "Tram Track"}, "railway/yard": {"icon": "temaki-freight_car", "fields": ["name", "operator"], "moreFields": ["gnis/feature_id"], "geometry": ["point"], "tags": {"railway": "yard"}, "terms": ["freight car stop", "freight train station", "rail freight station", "railroad yard", "railway yard"], "name": "Rail Yard"}, "relation": {"icon": "iD-relation", "fields": ["name", "relation"], "geometry": ["relation"], "tags": {}, "name": "Relation"}, - "route/ferry": {"icon": "temaki-ferry", "geometry": ["line"], "fields": ["name", "operator", "duration", "access", "toll", "from", "to"], "moreFields": ["charge_toll", "distance", "dog", "email", "interval", "maxheight", "maxweight", "network", "opening_hours", "opening_hours/covid19", "phone", "ref_route", "reservation", "roundtrip", "vhf", "website", "wheelchair"], "tags": {"route": "ferry"}, "terms": ["boat", "merchant vessel", "ship", "water bus", "water shuttle", "water taxi"], "name": "Ferry Route"}, + "route/ferry": {"icon": "temaki-ferry", "geometry": ["line"], "fields": ["name", "operator", "duration", "access", "toll", "from", "to"], "moreFields": ["charge_toll", "distance", "dog", "email", "interval", "maxheight", "maxweight", "network", "oneway", "opening_hours", "opening_hours/covid19", "phone", "ref_route", "reservation", "roundtrip", "vhf", "website", "wheelchair"], "tags": {"route": "ferry"}, "terms": ["boat", "merchant vessel", "ship", "water bus", "water shuttle", "water taxi"], "name": "Ferry Route"}, "seamark/beacon_isolated_danger": {"fields": ["ref", "operator", "seamark/beacon_isolated_danger/shape", "seamark/type"], "geometry": ["point", "vertex"], "terms": ["beacon isolated danger", "isolated danger beacon", "iala"], "tags": {"seamark:type": "beacon_isolated_danger"}, "name": "Danger Beacon"}, "seamark/beacon_lateral": {"fields": ["ref", "operator", "seamark/beacon_lateral/colour", "seamark/beacon_lateral/category", "seamark/beacon_lateral/shape", "seamark/beacon_lateral/system", "seamark/type"], "geometry": ["point", "vertex"], "terms": ["lateral beacon", "beacon lateral", "cevni", "channel marker", "iala", "lateral mark"], "tags": {"seamark:type": "beacon_lateral"}, "name": "Channel Beacon"}, "seamark/buoy_lateral": {"icon": "temaki-buoy", "fields": ["ref", "operator", "seamark/buoy_lateral/colour", "seamark/buoy_lateral/category", "seamark/buoy_lateral/shape", "seamark/buoy_lateral/system", "seamark/type"], "geometry": ["point", "vertex"], "terms": ["lateral buoy", "buoy lateral", "cevni", "channel marker", "iala", "lateral mark"], "tags": {"seamark:type": "buoy_lateral"}, "name": "Channel Buoy"}, diff --git a/data/presets/presets/route/ferry.json b/data/presets/presets/route/ferry.json index 36d421050..41f557a7e 100644 --- a/data/presets/presets/route/ferry.json +++ b/data/presets/presets/route/ferry.json @@ -21,6 +21,7 @@ "maxheight", "maxweight", "network", + "oneway", "opening_hours", "opening_hours/covid19", "phone", diff --git a/dist/locales/en.json b/dist/locales/en.json index cb4eda33d..d8f8d0d9b 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -4153,6 +4153,7 @@ }, "oneway": { "label": "One Way", + "terms": "bidirectional,oneway,unidirectional", "options": { "undefined": "Assumed to be No", "yes": "Yes",