Add translatable options for Swimming Pool field; add preset for Hot Tub (#1008)

This commit is contained in:
archpdx 2024-02-05 06:12:08 -08:00 committed by GitHub
parent 08bd11719c
commit b526b49ea2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 46 additions and 1 deletions

View file

@ -990,6 +990,10 @@
"old": {"leisure": "recreation_ground"},
"replace": {"landuse": "recreation_ground"}
},
{
"old": {"leisure": "swimming_pool", "swimming_pool": "hot_tub"},
"replace": {"leisure": "hot_tub"}
},
{
"old": {"leisure": "table_tennis_table"},
"replace": {"leisure": "pitch", "sport": "table_tennis"}

View file

@ -1,5 +1,19 @@
{
"key": "swimming_pool",
"type": "combo",
"label": "Type"
"label": "Type",
"strings": {
"options": {
"swimming": "Lap Pool",
"plunge": "Diving",
"wading": "Wading / Leisure",
"spa": "Spa",
"wave_pool": "Wave Pool",
"lazy_river": "Lazy River",
"personal": "Personal / Backyard",
"kids": "Kids Pool"
}
},
"autoSuggestions": false,
"customValues": true
}

View file

@ -0,0 +1,27 @@
{
"icon": "fas-hot-tub-person",
"fields": [
"access_simple",
"location_pool"
],
"moreFields": [
"level",
"gender",
"lit",
"nudism",
"opening_hours",
"operator"
],
"geometry": [
"area",
"point"
],
"terms": [
"jacuzzi",
"spa"
],
"tags": {
"leisure": "hot_tub"
},
"name": "Hot Tub"
}