mapcomplete/assets/tagRenderings/questions.json

121 lines
No EOL
5.4 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"images": {
"render": "{image_carousel()}{image_upload()}"
},
"reviews": {
"render": "{reviews()}"
},
"minimap": {
"render": "{minimap(18, id): width:100%; height:8rem; border-radius:2rem; overflow: hidden; pointer-events: none;}"
},
"phone": {
"question": {
"en": "What is the phone number of {name}?",
"nl": "Wat is het telefoonnummer van {name}?",
"fr": "Quel est le numéro de téléphone de {name} ?",
"de": "Was ist die Telefonnummer von {name}?",
"nb_NO": "Hva er telefonnummeret til {name}?",
"ru": "Какой номер телефона у {name}?",
"sv": "Vad är telefonnumret till {name}?",
"zh_Hant": "{name} 的電話號碼是什麼?"
},
"render": "<a href='tel:{phone}'>{phone}</a>",
"freeform": {
"key": "phone",
"type": "phone"
}
},
"osmlink": {
"render": "<a href='https://openstreetmap.org/{id}' target='_blank'><img src='./assets/svg/osm-logo-us.svg'/></a>",
"mappings": [
{
"if": "id~=-",
"then": "<span class='alert'>Uploading...</alert>"
}
]
},
"wikipedialink": {
"render": "<a href='https://wikipedia.org/wiki/{wikipedia}' target='_blank'><img src='./assets/wikipedia.svg' alt='WP'/></a>",
"condition": "wikipedia~*"
},
"email": {
"render": "<a href='mailto:{email}' target='_blank'>{email}</a>",
"question": {
"nl": "Wat is het email-adres van {name}?",
"fr": "Quelle est l'adresse courriel de {name} ?",
"en": "What is the email address of {name}?",
"nb_NO": "Hva er e-postadressen til {name}?",
"ru": "Какой адрес электронной почты у {name}?",
"id": "Apa alamat surel dari {name}?",
"zh_Hant": "{name} 的電子郵件地址是什麼?"
},
"freeform": {
"key": "email",
"type": "email"
}
},
"website": {
"question": {
"en": "What is the website of {name}?",
"nl": "Wat is de website van {name}?",
"fr": "Quel est le site web de {name} ?",
"gl": "Cal é a páxina web de {name}?",
"nb_NO": "Hva er nettsiden til {name}?",
"ru": "Какой сайт у {name}?",
"id": "Apa situs web dari {name}?",
"zh_Hant": "{name} 網址是什麼?"
},
"render": "<a href='{website}' target='_blank'>{website}</a>",
"freeform": {
"key": "website",
"type": "url"
}
},
"description": {
"question": {
"nl": "Zijn er extra zaken die je niet in de bovenstaande vragen kwijt kon? Zet deze in de description<span style='font-size: small'>Herhaal geen antwoorden die je reeds gaf</span>",
"fr": "Y a-t-il quelque chose de pertinent que vous n'avez pas pu donner à la dernière question ? Ajoutez-le ici.<br/><span style='font-size: small'>Ne répétez pas des réponses déjà données</span>",
"en": "Is there still something relevant you couldn't give in the previous questions? Add it here.<br/><span style='font-size: small'>Don't repeat already stated facts</span>",
"nb_NO": "Er det noe mer som er relevant du ikke kunne opplyse om i tidligere svar? Legg det til her.<br/><span style='font-size: small'>Ikke gjenta fakta som allerede er nevnt</span>",
"ru": "Есть ли еще что-то важное, о чем вы не смогли рассказать в предыдущих вопросах? Добавьте это здесь.<br/><span style='font-size: small'>Не повторяйте уже изложенные факты</span>",
"zh_Hant": "有什麼相關的資訊你無法在先前的問題回應的嗎?請加在這邊吧。<br/><span style='font-size: small'>不要重覆答覆已經知道的事情</span>"
},
"render": "{description}",
"freeform": {
"key": "description"
}
},
"opening_hours": {
"question": {
"en": "What are the opening hours of {name}?",
"fr": "Quelles sont les horaires d'ouverture de {name} ?",
"de": "Was sind die Öffnungszeiten von {name}?",
"nl": "Wat zijn de openingsuren van {name}?",
"nb_NO": "Hva er åpningstidene for {name})",
"ru": "Какое время работы у {name}?",
"zh_Hant": "{name} 的開放時間是什麼?"
},
"render": {
"de": "<h3>Öffnungszeiten</h3>{opening_hours_table(opening_hours)}",
"fr": "<h3>Horaires d'ouverture</h3>{opening_hours_table(opening_hours)}",
"en": "<h3>Opening hours</h3>{opening_hours_table(opening_hours)}",
"nl": "<h3>Openingsuren</h3>{opening_hours_table(opening_hours)}",
"nb_NO": "<h3>Åpningstider</h3>{opening_hours_table(opening_hours)}",
"ru": "<h3>Часы работы</h3>{opening_hours_table(opening_hours)}",
"zh_Hant": "<h3>開放時間</h3>{opening_hours_table(opening_hours)}"
},
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
}
},
"last_edit": {
"#": "Gives some metainfo about the last edit and who did edit it - rendering only",
"condition": "_last_edit:contributor~*",
"render": "<div class='subtle' style='font-size: small; margin-top: 2em; margin-bottom: 0.5em;'><a href='https://www.openStreetMap.org/changeset/{_last_edit:changeset}' target='_blank'>Last edited on {_last_edit:timestamp}</a> by <a href='https://www.openStreetMap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a></div>"
},
"all_tags": {
"#": "Prints all the tags",
"render": "{all_tags()}"
}
}