Skip to content

Commit 28f9b82

Browse files
committed
add fields tents, [static_]caravans, picnic_table, nudism to camp site preset
6 parents 7c30052 + 40cb39e + 9e994d3 + 476309d + 891eb02 + e808c2c commit 28f9b82

9 files changed

+109
-9
lines changed

data/fields/capacity/caravans.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"key": "capacity:caravans",
33
"type": "number",
44
"minValue": 0,
5-
"label": "Capacity (Caravans)",
6-
"placeholder": "10, 20, 50..."
5+
"label": "Capacity (Campervan / Camping Trailer)",
6+
"placeholder": "10, 20, 50...",
7+
"prerequisiteTag": {
8+
"key": "caravans",
9+
"valueNot": "no"
10+
}
711
}

data/fields/caravans.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"key": "caravans",
3+
"type": "check",
4+
"label": "Campervan / Camping Trailer",
5+
"terms": [
6+
"Camper",
7+
"Camper Trailer",
8+
"Caravan",
9+
"Tourer"
10+
]
11+
}

data/fields/nudism.json

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"key": "nudism",
3+
"type": "combo",
4+
"label": "Nudism",
5+
"strings": {
6+
"options": {
7+
"customary": "Customary",
8+
"designated": "Designated",
9+
"no": "Prohibited",
10+
"obligatory": "Obligatory",
11+
"permissive": "Permissive",
12+
"yes": "Allowed"
13+
}
14+
},
15+
"autoSuggestions": false,
16+
"customValues": false,
17+
"terms": [
18+
"naturism",
19+
"naturist",
20+
"nude recreation",
21+
"nudist"
22+
]
23+
}

data/fields/picnic_table.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"key": "picnic_table",
3+
"type": "check",
4+
"label": "Picnic Table",
5+
"terms": [
6+
"outdoor table",
7+
"bench"
8+
]
9+
}

data/fields/static_caravans.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"key": "static_caravans",
3+
"type": "check",
4+
"label": "Mobile Homes",
5+
"terms": [
6+
"House Trailers",
7+
"Park Home",
8+
"Static Caravans",
9+
"Trailer home"
10+
]
11+
}

data/fields/tents.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"key": "tents",
3+
"type": "check",
4+
"label": "Tents"
5+
}

data/presets/building/static_caravan.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
"terms": [
1010
"house trailer",
1111
"manufactured home",
12-
"mobile home",
1312
"prefabricated home",
1413
"residential caravan",
1514
"static caravan",
15+
"static mobile home",
1616
"trailer home"
1717
],
1818
"matchScore": 0.5,
19-
"name": "Static Mobile Home"
19+
"name": "Mobile Home"
2020
}

data/presets/tourism/camp_site.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55
"operator",
66
"address",
77
"access_simple",
8-
"capacity/caravans",
98
"capacity/persons",
9+
"tents",
1010
"capacity/tents",
11+
"caravans",
12+
"capacity/caravans",
13+
"static_caravans",
1114
"fee",
1215
"payment_multi_fee",
1316
"charge_fee"
@@ -23,10 +26,12 @@
2326
"internet_access",
2427
"internet_access/fee",
2528
"internet_access/ssid",
29+
"nudism",
2630
"openfire",
2731
"opening_hours",
2832
"opening_hours/covid19",
2933
"phone",
34+
"picnic_table",
3035
"power_supply",
3136
"ref/vatin",
3237
"reservation",

interim/source_strings.yaml

+36-4
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ en:
664664
terms: '[translate with synonyms or related terms for ''Capacity'', separated by commas]'
665665
capacity/caravans:
666666
# capacity:caravans=*
667-
label: Capacity (Caravans)
667+
label: Capacity (Campervan / Camping Trailer)
668668
# capacity/caravans field placeholder
669669
placeholder: 10, 20, 50...
670670
capacity/disabled_parking:
@@ -692,6 +692,9 @@ en:
692692
label: Capacity (Cubic Meters)
693693
# capacity_volume field placeholder
694694
placeholder: 50, 100, 200...
695+
caravans:
696+
# caravans=*
697+
label: Campervan / Camping Trailer
695698
cash_in:
696699
# cash_in=*
697700
label: Deposits
@@ -2744,6 +2747,24 @@ en:
27442747
label: Note
27452748
# 'terms: comment'
27462749
terms: '[translate with synonyms or related terms for ''Note'', separated by commas]'
2750+
nudism:
2751+
# nudism=*
2752+
label: Nudism
2753+
options:
2754+
# nudism=customary
2755+
customary: Customary
2756+
# nudism=designated
2757+
designated: Designated
2758+
# nudism=no
2759+
'no': Prohibited
2760+
# nudism=obligatory
2761+
obligatory: Obligatory
2762+
# nudism=permissive
2763+
permissive: Permissive
2764+
# nudism=yes
2765+
'yes': Allowed
2766+
# 'terms: naturism,naturist,nude recreation,nudist'
2767+
terms: '[translate with synonyms or related terms for ''Nudism'', separated by commas]'
27472768
office:
27482769
# office=*
27492770
label: Type
@@ -3017,6 +3038,11 @@ en:
30173038
placeholder: +31 42 123 4567
30183039
# 'terms: phone number'
30193040
terms: '[translate with synonyms or related terms for ''Telephone'', separated by commas]'
3041+
picnic_table:
3042+
# picnic_table=*
3043+
label: Picnic Table
3044+
# 'terms: outdoor table,bench'
3045+
terms: '[translate with synonyms or related terms for ''Picnic Table'', separated by commas]'
30203046
pipeline:
30213047
# pipeline=*
30223048
label: Type
@@ -4032,6 +4058,9 @@ en:
40324058
placeholder: YYYY-MM-DD
40334059
# 'terms: inception'
40344060
terms: '[translate with synonyms or related terms for ''Start Date'', separated by commas]'
4061+
static_caravans:
4062+
# static_caravans=*
4063+
label: Mobile Homes
40354064
step_count:
40364065
# step_count=*
40374066
label: Number of Steps
@@ -4331,6 +4360,9 @@ en:
43314360
telecom/medium:
43324361
# telecom:medium=*
43334362
label: Medium
4363+
tents:
4364+
# tents=*
4365+
label: Tents
43344366
tidal:
43354367
# tidal=*
43364368
label: Tidal
@@ -6856,9 +6888,9 @@ en:
68566888
terms: <translate with synonyms or related terms for 'Stadium Building', separated by commas>
68576889
building/static_caravan:
68586890
# building=static_caravan | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
6859-
name: Static Mobile Home
6860-
# 'terms: house trailer,manufactured home,mobile home,prefabricated home,residential caravan,static caravan,trailer home'
6861-
terms: <translate with synonyms or related terms for 'Static Mobile Home', separated by commas>
6891+
name: Mobile Home
6892+
# 'terms: house trailer,manufactured home,prefabricated home,residential caravan,static caravan,static mobile home,trailer home'
6893+
terms: <translate with synonyms or related terms for 'Mobile Home', separated by commas>
68626894
building/sty:
68636895
# building=sty | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
68646896
name: Pigsty

0 commit comments

Comments
 (0)