diff --git a/data/core.yaml b/data/core.yaml index 457528b8c..134244c28 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -166,6 +166,7 @@ en: reference: View on OpenStreetMap Wiki back_tooltip: Change feature type remove: Remove + search: Search background: title: Background description: Background settings diff --git a/data/locales.js b/data/locales.js index b27cbfb64..c5bd96c89 100644 --- a/data/locales.js +++ b/data/locales.js @@ -6736,7 +6736,8 @@ locale.en = { "results": "{n} results for {search}", "reference": "View on OpenStreetMap Wiki", "back_tooltip": "Change feature type", - "remove": "Remove" + "remove": "Remove", + "search": "Search" }, "background": { "title": "Background", @@ -6993,6 +6994,9 @@ locale.en = { "historic": { "label": "Type" }, + "incline": { + "label": "Incline" + }, "internet_access": { "label": "Internet Access", "options": { @@ -7084,6 +7088,9 @@ locale.en = { "taoist": "Taoist" } }, + "sac_scale": { + "label": "Path Difficulty" + }, "service": { "label": "Type" }, @@ -7120,6 +7127,9 @@ locale.en = { "tracktype": { "label": "Type" }, + "trail_visibility": { + "label": "Trail Visibility" + }, "water": { "label": "Type" }, diff --git a/data/locales/en.js b/data/locales/en.js index daf329e64..94438af05 100644 --- a/data/locales/en.js +++ b/data/locales/en.js @@ -204,7 +204,8 @@ locale.en = { "results": "{n} results for {search}", "reference": "View on OpenStreetMap Wiki", "back_tooltip": "Change feature type", - "remove": "Remove" + "remove": "Remove", + "search": "Search" }, "background": { "title": "Background", @@ -461,6 +462,9 @@ locale.en = { "historic": { "label": "Type" }, + "incline": { + "label": "Incline" + }, "internet_access": { "label": "Internet Access", "options": { @@ -552,6 +556,9 @@ locale.en = { "taoist": "Taoist" } }, + "sac_scale": { + "label": "Path Difficulty" + }, "service": { "label": "Type" }, @@ -588,6 +595,9 @@ locale.en = { "tracktype": { "label": "Type" }, + "trail_visibility": { + "label": "Trail Visibility" + }, "water": { "label": "Type" }, diff --git a/data/presets.yaml b/data/presets.yaml index 55595cf0d..bd9b06a99 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -102,6 +102,8 @@ en: label: Type historic: label: Type + incline: + label: Incline internet_access: label: Internet Access options: @@ -166,6 +168,8 @@ en: hindu: Hindu shinto: Shinto taoist: Taoist + sac_scale: + label: Path Difficulty service: label: Type shelter: @@ -191,6 +195,8 @@ en: label: Type tracktype: label: Type + trail_visibility: + label: Trail Visibility water: label: Type waterway: diff --git a/data/presets/fields.json b/data/presets/fields.json index 829648283..23ef796e8 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -230,6 +230,11 @@ "type": "combo", "label": "Type" }, + "incline": { + "key": "incline", + "type": "combo", + "label": "Incline" + }, "internet_access": { "key": "internet_access", "type": "combo", @@ -405,6 +410,11 @@ } } }, + "sac_scale": { + "key": "sac_scale", + "type": "combo", + "label": "Path Difficulty" + }, "service": { "key": "service", "type": "combo", @@ -477,6 +487,11 @@ "type": "combo", "label": "Type" }, + "trail_visibility": { + "key": "trail_visibility", + "type": "combo", + "label": "Trail Visibility" + }, "water": { "key": "water", "type": "combo", diff --git a/data/presets/presets.json b/data/presets/presets.json index cb86edf7b..b1c418dd0 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -1382,11 +1382,13 @@ "highway/path": { "icon": "highway-path", "fields": [ - "oneway", "structure", "access", - "maxspeed", - "surface" + "sac_scale", + "surface", + "incline", + "trail_visibility", + "ref" ], "geometry": [ "line" diff --git a/js/id/ui/preset_grid.js b/js/id/ui/preset_grid.js index 0f9f6b832..e4c458fa0 100644 --- a/js/id/ui/preset_grid.js +++ b/js/id/ui/preset_grid.js @@ -95,7 +95,7 @@ iD.ui.PresetGrid = function(context, entity) { var search = searchwrap.append('input') .attr('class', 'major') - .attr('placeholder','Search') + .attr('placeholder', t('inspector.search')) .attr('type', 'search') .on('keydown', keydown) .on('keyup', keyup);