Fix various issues in themes

This commit is contained in:
Pieter Vander Vennet 2022-02-17 23:56:53 +01:00
parent 701050c93b
commit f55e5cf26c
5 changed files with 121 additions and 18 deletions

View file

@ -272,21 +272,6 @@
"pt": "Estacionamento ao nível da superfície" "pt": "Estacionamento ao nível da superfície"
}, },
"hideInAnswer": true "hideInAnswer": true
},
{
"if": "location=rooftop",
"then": {
"en": "Rooftop parking",
"nl": "Dakparking",
"fr": "Parking sur un toit",
"hu": "Tetőparkoló",
"it": "Parcheggio sul tetto",
"ru": "Парковка на крыше",
"zh_Hant": "屋頂停車場",
"pt_BR": "Estacionamento no telhado",
"de": "Parkplatz auf dem Dach",
"pt": "Estacionamento no telhado"
}
} }
], ],
"id": "Underground?" "id": "Underground?"

View file

@ -25,7 +25,8 @@
] ]
}, },
"then": { "then": {
"*": "{name}" "*": "{name}",
"nl": "{name}"
} }
}, },
{ {

View file

@ -35,7 +35,8 @@
] ]
}, },
"then": { "then": {
"*": "{name}" "*": "{name}",
"nl": "{name}"
} }
} }
] ]
@ -348,7 +349,7 @@
{ {
"question": { "question": {
"en": "Is there some extra info?", "en": "Is there some extra info?",
"nl": "Is er extra info die je kwijt wil?" "nl": "Is er extra info die je kwijt wil?"
}, },
"render": { "render": {
"en": "Extra info: <i>{description:0}</i>", "en": "Extra info: <i>{description:0}</i>",

View file

@ -1123,6 +1123,7 @@
} }
}, },
"birdhide": { "birdhide": {
"description": "A birdhide",
"filter": { "filter": {
"0": { "0": {
"options": { "options": {
@ -1130,7 +1131,84 @@
"question": "Wheelchair accessible" "question": "Wheelchair accessible"
} }
} }
},
"1": {
"options": {
"0": {
"question": "Only covered birdhides"
}
}
} }
},
"name": "Bird watching places",
"presets": {
"0": {
"description": "A covered shelter where one can watch birds comfortably",
"title": "Birdhide"
},
"1": {
"description": "A screen or wall with openings to watch birds",
"title": "Bird blind"
}
},
"tagRenderings": {
"bird-hide-shelter-or-wall": {
"mappings": {
"0": {
"then": "Bird blind"
},
"1": {
"then": "Bird hide"
},
"2": {
"then": "Bird tower hide"
},
"3": {
"then": "Bird hide shelter"
}
},
"question": "Is this a bird blind or a bird watching shelter?"
},
"bird-hide-wheelchair": {
"mappings": {
"0": {
"then": "There are special provisions for wheelchair users"
},
"1": {
"then": "A wheelchair can easily use this birdhide"
},
"2": {
"then": "This birdhide is reachable by wheelchair, but it is not easy"
},
"3": {
"then": "Not accessible to wheelchair users"
}
},
"question": "Is this bird hide accessible to wheelchair users?"
},
"birdhide-operator": {
"mappings": {
"0": {
"then": "Operated by Natuurpunt"
},
"1": {
"then": "Operated by the Agency for Nature and Forests"
}
},
"question": "Who operates this birdhide?",
"render": "Operated by {operator}"
}
},
"title": {
"mappings": {
"1": {
"then": "Bird hide {name}"
},
"2": {
"then": "Bird blind {name}"
}
},
"render": "Bird watching place"
} }
}, },
"cafe_pub": { "cafe_pub": {
@ -3515,6 +3593,35 @@
}, },
"nature_reserve": { "nature_reserve": {
"description": "A nature reserve is an area where nature can take its course", "description": "A nature reserve is an area where nature can take its course",
"filter": {
"0": {
"options": {
"0": {
"question": "Freely accesible"
}
}
},
"1": {
"options": {
"0": {
"question": "All nature reserves"
},
"1": {
"question": "Dogs are allowed to roam freely"
},
"2": {
"question": "Dogs are allowed if they are leashed"
}
}
}
},
"name": "Nature reserve",
"presets": {
"0": {
"description": "Add a missing nature reserve",
"title": "nature reserve"
}
},
"tagRenderings": { "tagRenderings": {
"Access tag": { "Access tag": {
"mappings": { "mappings": {
@ -3558,6 +3665,10 @@
}, },
"question": "Are dogs allowed in this nature reserve?" "question": "Are dogs allowed in this nature reserve?"
}, },
"Editable description": {
"question": "Is there some extra info?",
"render": "Extra info: <i>{description:0}</i>"
},
"Email": { "Email": {
"question": "What email adress can one send to with questions and problems with this nature reserve?<br/><span class='subtle'>Respect privacy - only fill out a personal email address if this is widely published", "question": "What email adress can one send to with questions and problems with this nature reserve?<br/><span class='subtle'>Respect privacy - only fill out a personal email address if this is widely published",
"render": "<a href='mailto:{email}' target='_blank'>{email}</a>" "render": "<a href='mailto:{email}' target='_blank'>{email}</a>"
@ -3571,6 +3682,9 @@
"question": "What is the name of this area?", "question": "What is the name of this area?",
"render": "This area is named {name}" "render": "This area is named {name}"
}, },
"Non-editable description": {
"render": "Extra information: <i>{description}</i>"
},
"Operator tag": { "Operator tag": {
"mappings": { "mappings": {
"0": { "0": {
@ -3764,6 +3878,7 @@
}, },
"parking": { "parking": {
"description": "A layer showing car parkings", "description": "A layer showing car parkings",
"name": "Parking",
"presets": { "presets": {
"0": { "0": {
"title": "car parking" "title": "car parking"

View file

@ -3473,6 +3473,7 @@
"question": "Zijn honden toegelaten in dit gebied?" "question": "Zijn honden toegelaten in dit gebied?"
}, },
"Editable description": { "Editable description": {
"question": "Is er extra info die je kwijt wil?",
"render": "Extra info: <i>{description:0}</i>" "render": "Extra info: <i>{description:0}</i>"
}, },
"Email": { "Email": {