diff --git a/data/presets.yaml b/data/presets.yaml index c354f567c..0b582e858 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -2024,6 +2024,9 @@ en: route_master: # route_master=* label: Type + ruins: + # ruins=* + label: Type rwn_ref: # rwn_ref=* label: Walking Code diff --git a/data/presets/fields.json b/data/presets/fields.json index ded549f9a..b2553ab7d 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -361,6 +361,7 @@ "rooms": {"key": "rooms", "type": "number", "minValue": 0, "label": "Rooms"}, "route_master": {"key": "route_master", "type": "combo", "label": "Type"}, "route": {"key": "route", "type": "combo", "label": "Type"}, + "ruins": {"key": "ruins", "type": "combo", "label": "Type"}, "rwn_ref": {"key": "rwn_ref", "type": "text", "label": "Walking Code"}, "sac_scale": {"key": "sac_scale", "type": "combo", "label": "Hiking Difficulty", "placeholder": "Mountain Hiking, Alpine Hiking...", "strings": {"options": {"hiking": "T1: Hiking", "mountain_hiking": "T2: Mountain Hiking", "demanding_mountain_hiking": "T3: Demanding Mountain Hiking", "alpine_hiking": "T4: Alpine Hiking", "demanding_alpine_hiking": "T5: Demanding Alpine Hiking", "difficult_alpine_hiking": "T6: Difficult Alpine Hiking"}}}, "salt": {"key": "salt", "type": "check", "label": "Salt", "terms": ["saline", "salinated"]}, diff --git a/data/presets/fields/ruins.json b/data/presets/fields/ruins.json new file mode 100644 index 000000000..84d409402 --- /dev/null +++ b/data/presets/fields/ruins.json @@ -0,0 +1,5 @@ +{ + "key": "ruins", + "type": "combo", + "label": "Type" +} diff --git a/data/presets/presets.json b/data/presets/presets.json index 5d3133138..fcd1c7740 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -587,7 +587,7 @@ "historic/memorial/plaque": {"icon": "temaki-plaque", "fields": ["{historic/memorial}", "direction"], "geometry": ["point", "vertex"], "terms": ["dedicatory", "epitaph", "historical marker", "remember", "remembrance", "memory"], "tags": {"historic": "memorial", "memorial": "plaque"}, "reference": {"key": "memorial", "value": "plaque"}, "name": "Commemorative Plaque"}, "historic/monument": {"icon": "maki-monument", "fields": ["name", "inscription", "access_simple"], "moreFields": ["{historic}", "material"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "monument"}, "name": "Monument"}, "historic/pillory": {"icon": "maki-monument", "fields": ["name", "building_area", "access_simple", "start_date"], "geometry": ["point", "area"], "tags": {"historic": "pillory"}, "terms": ["attraction"], "name": "Historic Pillory"}, - "historic/ruins": {"icon": "temaki-ruins", "fields": ["name", "historic/civilization", "inscription", "access_simple"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "ruins"}, "name": "Ruins"}, + "historic/ruins": {"icon": "temaki-ruins", "fields": ["name", "ruins", "historic/civilization", "inscription", "access_simple"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "ruins"}, "name": "Ruins"}, "historic/tomb": {"icon": "maki-cemetery", "fields": ["name", "tomb", "building_area", "inscription", "access_simple"], "geometry": ["point", "area"], "tags": {"historic": "tomb"}, "name": "Tomb"}, "historic/wayside_cross": {"icon": "maki-religious-christian", "fields": ["name", "inscription", "material"], "moreFields": ["{historic}", "start_date", "religion", "denomination"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "wayside_cross"}, "name": "Wayside Cross"}, "historic/wayside_shrine": {"icon": "maki-landmark", "fields": ["name", "religion", "denomination", "inscription", "access_simple"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "wayside_shrine"}, "name": "Wayside Shrine"}, diff --git a/data/presets/presets/historic/ruins.json b/data/presets/presets/historic/ruins.json index 7e8a05f06..33c065558 100644 --- a/data/presets/presets/historic/ruins.json +++ b/data/presets/presets/historic/ruins.json @@ -2,6 +2,7 @@ "icon": "temaki-ruins", "fields": [ "name", + "ruins", "historic/civilization", "inscription", "access_simple" @@ -15,4 +16,4 @@ "historic": "ruins" }, "name": "Ruins" -} +} \ No newline at end of file diff --git a/data/taginfo.json b/data/taginfo.json index f1b6da18a..129155606 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -1764,6 +1764,7 @@ {"key": "rooms", "description": "🄵 Rooms"}, {"key": "route_master", "description": "🄵 Type"}, {"key": "route", "description": "🄵 Type"}, + {"key": "ruins", "description": "🄵 Type"}, {"key": "rwn_ref", "description": "🄵 Walking Code"}, {"key": "sac_scale", "value": "hiking", "description": "🄵 Hiking Difficulty"}, {"key": "sac_scale", "value": "mountain_hiking", "description": "🄵 Hiking Difficulty"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index fff08dd1e..3b8702934 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -4326,6 +4326,9 @@ "route": { "label": "Type" }, + "ruins": { + "label": "Type" + }, "rwn_ref": { "label": "Walking Code" },