Skip to content

Commit b526b49

Browse files
authored
Add translatable options for Swimming Pool field; add preset for Hot Tub (#1008)
1 parent 08bd117 commit b526b49

File tree

3 files changed

+46
-1
lines changed

3 files changed

+46
-1
lines changed

data/deprecated.json

+4
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,10 @@
990990
"old": {"leisure": "recreation_ground"},
991991
"replace": {"landuse": "recreation_ground"}
992992
},
993+
{
994+
"old": {"leisure": "swimming_pool", "swimming_pool": "hot_tub"},
995+
"replace": {"leisure": "hot_tub"}
996+
},
993997
{
994998
"old": {"leisure": "table_tennis_table"},
995999
"replace": {"leisure": "pitch", "sport": "table_tennis"}

data/fields/swimming_pool.json

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
{
22
"key": "swimming_pool",
33
"type": "combo",
4-
"label": "Type"
4+
"label": "Type",
5+
"strings": {
6+
"options": {
7+
"swimming": "Lap Pool",
8+
"plunge": "Diving",
9+
"wading": "Wading / Leisure",
10+
"spa": "Spa",
11+
"wave_pool": "Wave Pool",
12+
"lazy_river": "Lazy River",
13+
"personal": "Personal / Backyard",
14+
"kids": "Kids Pool"
15+
}
16+
},
17+
"autoSuggestions": false,
18+
"customValues": true
519
}

data/presets/leisure/hot_tub.json

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"icon": "fas-hot-tub-person",
3+
"fields": [
4+
"access_simple",
5+
"location_pool"
6+
],
7+
"moreFields": [
8+
"level",
9+
"gender",
10+
"lit",
11+
"nudism",
12+
"opening_hours",
13+
"operator"
14+
],
15+
"geometry": [
16+
"area",
17+
"point"
18+
],
19+
"terms": [
20+
"jacuzzi",
21+
"spa"
22+
],
23+
"tags": {
24+
"leisure": "hot_tub"
25+
},
26+
"name": "Hot Tub"
27+
}

0 commit comments

Comments
 (0)