Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add translatable strings for Swimming Pool field #1008

Merged
merged 3 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions data/deprecated.json
Original file line number Diff line number Diff line change
Expand Up @@ -986,6 +986,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"}
Expand Down
14 changes: 13 additions & 1 deletion data/fields/swimming_pool.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
{
"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": "Peronal / Backyard",

Check failure on line 13 in data/fields/swimming_pool.json

View workflow job for this annotation

GitHub Actions / Check for spelling errors

Peronal ==> Personal
"kids": "Kids Pool"
}
}
}
27 changes: 27 additions & 0 deletions data/presets/leisure/hot_tub.json
Original file line number Diff line number Diff line change
@@ -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"
}