Add internet access questions, add to a few themes

This commit is contained in:
Robin van der Linde 2022-08-10 17:29:08 +02:00
parent 9306fe279e
commit 95886744a2
No known key found for this signature in database
GPG key ID: 53956B3252478F0D
7 changed files with 200 additions and 1 deletions

View file

@ -271,6 +271,9 @@
"smoking",
"service:electricity",
"dog-access",
"internet",
"internet-fee",
"internet-ssid",
"reviews"
],
"filter": [

View file

@ -764,6 +764,9 @@
},
"service:electricity",
"dog-access",
"internet",
"internet-fee",
"internet-ssid",
"reviews"
],
"filter": [

View file

@ -80,7 +80,10 @@
"phone",
"email",
"website",
"wheelchair-access"
"wheelchair-access",
"internet",
"internet-fee",
"internet-ssid"
],
"allowMove": {
"enableImproveAccuracy": true,

View file

@ -201,6 +201,9 @@
}
]
},
"internet",
"internet-fee",
"internet-ssid",
"questions",
"reviews"
],

View file

@ -1148,5 +1148,110 @@
}
}
]
},
"internet": {
"question": {
"en": "Does this place offer internet access?",
"nl": "Biedt deze plaats internettoegang aan?"
},
"mappings": [
{
"if": "internet_access=wlan",
"then": {
"en": "This place offers wireless internet access",
"nl": "Deze plaats biedt draadloze internettoegang aan"
}
},
{
"if": "internet_access=no",
"then": {
"en": "This place <b>does not</b> offer internet access",
"nl": "Deze plaats biedt <b>geen</b> internettoegang aan"
}
},
{
"if": "internet_access=yes",
"then": {
"en": "This place offers internet access",
"nl": "Deze plaats biedt internettoegang aan"
},
"hideInAnswer": true
},
{
"if": "internet_access=terminal",
"then": {
"en": "This place offers internet access via a terminal or computer",
"nl": "Deze plaats biedt internettoegang via een terminal of computer aan"
}
},
{
"if": "internet_access=wired",
"then": {
"en": "This place offers wired internet access",
"nl": "Deze plaats biedt bedrade internettoegang aan"
}
}
]
},
"internet-fee": {
"condition": {
"and": [
"internet_access!=no",
"internet_access!="
]
},
"question": {
"en": "Is there a fee for internet access?",
"nl": "Zijn er kosten voor internettoegang?"
},
"mappings": [
{
"if": "internet_access:fee=yes",
"then": {
"en": "There is a fee for the internet access at this place",
"nl": "Er zijn kosten voor internettoegang op deze plaats"
}
},
{
"if": "internet_access:fee=no",
"then": {
"en": "Internet access is free at this place",
"nl": "Internettoegang is gratis op deze plaats"
}
},
{
"if": "internet_access:fee=customers",
"then": {
"en": "Internet access is free at this place, for customers only",
"nl": "Internettoegang is gratis op deze plaats, alleen voor klanten"
}
}
]
},
"internet-ssid": {
"condition": "internet_access=wlan",
"question": {
"en": "What is the network name for the wireless internet access?",
"nl": "Wat is de netwerknaam voor de draadloze internettoegang?"
},
"freeform": {
"key": "internet_access:ssid",
"type": "string",
"placeholder": {
"en": "Enter the network name",
"nl": "Voer de netwerknaam in"
}
},
"mappings": [
{
"if": "internet_access:ssid=Telekom",
"then": "Telekom",
"hideInAnswer": "_country!=de"
}
],
"render": {
"en": "The network name is <b>{{internet_access:ssid}}</b>",
"nl": "De netwerknaam is <b>{{internet_access:ssid}}</b>"
}
}
}

View file

@ -34,6 +34,47 @@
},
"question": "Does this place have an audio induction loop for people with reduced hearing?"
},
"internet": {
"mappings": {
"0": {
"then": "This place offers wireless internet access"
},
"1": {
"then": "This place <b>does not</b> offer internet access"
},
"2": {
"then": "This place offers internet access"
},
"3": {
"then": "This place offers internet access via a terminal or computer"
},
"4": {
"then": "This place offers wired internet access"
}
},
"question": "Does this place offer internet access?"
},
"internet-fee": {
"mappings": {
"0": {
"then": "There is a fee for the internet access at this place"
},
"1": {
"then": "Internet access is free at this place"
},
"2": {
"then": "Internet access is free at this place, for customers only"
}
},
"question": "Is there a fee for internet access?"
},
"internet-ssid": {
"freeform": {
"placeholder": "Enter the network name"
},
"question": "What is the network name for the wireless internet access?",
"render": "The network name is <b>{{internet_access:ssid}}</b>"
},
"level": {
"mappings": {
"0": {

View file

@ -23,6 +23,47 @@
"email": {
"question": "Wat is het e-mailadres van {title()}?"
},
"internet": {
"mappings": {
"0": {
"then": "Deze plaats biedt draadloze internettoegang aan"
},
"1": {
"then": "Deze plaats biedt <b>geen</b> internettoegang aan"
},
"2": {
"then": "Deze plaats biedt internettoegang aan"
},
"3": {
"then": "Deze plaats biedt internettoegang via een terminal of computer aan"
},
"4": {
"then": "Deze plaats biedt bedrade internettoegang aan"
}
},
"question": "Biedt deze plaats internettoegang aan?"
},
"internet-fee": {
"mappings": {
"0": {
"then": "Er zijn kosten voor internettoegang op deze plaats"
},
"1": {
"then": "Internettoegang is gratis op deze plaats"
},
"2": {
"then": "Internettoegang is gratis op deze plaats, alleen voor klanten"
}
},
"question": "Zijn er kosten voor internettoegang?"
},
"internet-ssid": {
"freeform": {
"placeholder": "Voer de netwerknaam in"
},
"question": "Wat is de netwerknaam voor de draadloze internettoegang?",
"render": "De netwerknaam is <b>{{internet_access:ssid}}</b>"
},
"level": {
"mappings": {
"0": {