Skip to content

Commit

Permalink
add fields tents, [static_]caravans, picnic_table, nudism to camp sit…
Browse files Browse the repository at this point in the history
…e preset
  • Loading branch information
tyrasd committed Jan 23, 2023
6 parents 7c30052 + 40cb39e + 9e994d3 + 476309d + 891eb02 + e808c2c commit 28f9b82
Show file tree
Hide file tree
Showing 9 changed files with 109 additions and 9 deletions.
8 changes: 6 additions & 2 deletions data/fields/capacity/caravans.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
"key": "capacity:caravans",
"type": "number",
"minValue": 0,
"label": "Capacity (Caravans)",
"placeholder": "10, 20, 50..."
"label": "Capacity (Campervan / Camping Trailer)",
"placeholder": "10, 20, 50...",
"prerequisiteTag": {
"key": "caravans",
"valueNot": "no"
}
}
11 changes: 11 additions & 0 deletions data/fields/caravans.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"key": "caravans",
"type": "check",
"label": "Campervan / Camping Trailer",
"terms": [
"Camper",
"Camper Trailer",
"Caravan",
"Tourer"
]
}
23 changes: 23 additions & 0 deletions data/fields/nudism.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"key": "nudism",
"type": "combo",
"label": "Nudism",
"strings": {
"options": {
"customary": "Customary",
"designated": "Designated",
"no": "Prohibited",
"obligatory": "Obligatory",
"permissive": "Permissive",
"yes": "Allowed"
}
},
"autoSuggestions": false,
"customValues": false,
"terms": [
"naturism",
"naturist",
"nude recreation",
"nudist"
]
}
9 changes: 9 additions & 0 deletions data/fields/picnic_table.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"key": "picnic_table",
"type": "check",
"label": "Picnic Table",
"terms": [
"outdoor table",
"bench"
]
}
11 changes: 11 additions & 0 deletions data/fields/static_caravans.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"key": "static_caravans",
"type": "check",
"label": "Mobile Homes",
"terms": [
"House Trailers",
"Park Home",
"Static Caravans",
"Trailer home"
]
}
5 changes: 5 additions & 0 deletions data/fields/tents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "tents",
"type": "check",
"label": "Tents"
}
4 changes: 2 additions & 2 deletions data/presets/building/static_caravan.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"terms": [
"house trailer",
"manufactured home",
"mobile home",
"prefabricated home",
"residential caravan",
"static caravan",
"static mobile home",
"trailer home"
],
"matchScore": 0.5,
"name": "Static Mobile Home"
"name": "Mobile Home"
}
7 changes: 6 additions & 1 deletion data/presets/tourism/camp_site.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
"operator",
"address",
"access_simple",
"capacity/caravans",
"capacity/persons",
"tents",
"capacity/tents",
"caravans",
"capacity/caravans",
"static_caravans",
"fee",
"payment_multi_fee",
"charge_fee"
Expand All @@ -23,10 +26,12 @@
"internet_access",
"internet_access/fee",
"internet_access/ssid",
"nudism",
"openfire",
"opening_hours",
"opening_hours/covid19",
"phone",
"picnic_table",
"power_supply",
"ref/vatin",
"reservation",
Expand Down
40 changes: 36 additions & 4 deletions interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ en:
terms: '[translate with synonyms or related terms for ''Capacity'', separated by commas]'
capacity/caravans:
# capacity:caravans=*
label: Capacity (Caravans)
label: Capacity (Campervan / Camping Trailer)
# capacity/caravans field placeholder
placeholder: 10, 20, 50...
capacity/disabled_parking:
Expand Down Expand Up @@ -692,6 +692,9 @@ en:
label: Capacity (Cubic Meters)
# capacity_volume field placeholder
placeholder: 50, 100, 200...
caravans:
# caravans=*
label: Campervan / Camping Trailer
cash_in:
# cash_in=*
label: Deposits
Expand Down Expand Up @@ -2744,6 +2747,24 @@ en:
label: Note
# 'terms: comment'
terms: '[translate with synonyms or related terms for ''Note'', separated by commas]'
nudism:
# nudism=*
label: Nudism
options:
# nudism=customary
customary: Customary
# nudism=designated
designated: Designated
# nudism=no
'no': Prohibited
# nudism=obligatory
obligatory: Obligatory
# nudism=permissive
permissive: Permissive
# nudism=yes
'yes': Allowed
# 'terms: naturism,naturist,nude recreation,nudist'
terms: '[translate with synonyms or related terms for ''Nudism'', separated by commas]'
office:
# office=*
label: Type
Expand Down Expand Up @@ -3017,6 +3038,11 @@ en:
placeholder: +31 42 123 4567
# 'terms: phone number'
terms: '[translate with synonyms or related terms for ''Telephone'', separated by commas]'
picnic_table:
# picnic_table=*
label: Picnic Table
# 'terms: outdoor table,bench'
terms: '[translate with synonyms or related terms for ''Picnic Table'', separated by commas]'
pipeline:
# pipeline=*
label: Type
Expand Down Expand Up @@ -4032,6 +4058,9 @@ en:
placeholder: YYYY-MM-DD
# 'terms: inception'
terms: '[translate with synonyms or related terms for ''Start Date'', separated by commas]'
static_caravans:
# static_caravans=*
label: Mobile Homes
step_count:
# step_count=*
label: Number of Steps
Expand Down Expand Up @@ -4331,6 +4360,9 @@ en:
telecom/medium:
# telecom:medium=*
label: Medium
tents:
# tents=*
label: Tents
tidal:
# tidal=*
label: Tidal
Expand Down Expand Up @@ -6856,9 +6888,9 @@ en:
terms: <translate with synonyms or related terms for 'Stadium Building', separated by commas>
building/static_caravan:
# building=static_caravan | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Static Mobile Home
# 'terms: house trailer,manufactured home,mobile home,prefabricated home,residential caravan,static caravan,trailer home'
terms: <translate with synonyms or related terms for 'Static Mobile Home', separated by commas>
name: Mobile Home
# 'terms: house trailer,manufactured home,prefabricated home,residential caravan,static caravan,static mobile home,trailer home'
terms: <translate with synonyms or related terms for 'Mobile Home', separated by commas>
building/sty:
# building=sty | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Pigsty
Expand Down

0 comments on commit 28f9b82

Please sign in to comment.