Translation sync

This commit is contained in:
pietervdvn 2022-01-06 15:38:43 +01:00
parent 9a1bbb8549
commit e2b3910afe
8 changed files with 36 additions and 11 deletions

View file

@ -133,7 +133,8 @@
"then": {
"en": "This is a single bollard in the road"
}
},{
},
{
"if": "barrier=cycle_barrier",
"then": {
"en": "This is a cycle barrier slowing down cyclists",

View file

@ -46,7 +46,7 @@
{
"location": "start",
"icon": {
"render":"square:#f00",
"render": "square:#f00",
"mappings": [
{
"if": "reprojection=yes",

View file

@ -196,4 +196,4 @@
}
}
]
}
}

View file

@ -543,7 +543,8 @@
"condition": "cuisine=friture"
},
"service:electricity",
"dog-access","reviews"
"dog-access",
"reviews"
],
"filter": [
{
@ -679,4 +680,4 @@
"description": {
"en": "A layer showing restaurants and fast-food amenities (with a special rendering for friteries)"
}
}
}

View file

@ -81,7 +81,9 @@
"freeform": {
"key": "phone",
"type": "phone",
"addExtraTags": ["contact:phone="]
"addExtraTags": [
"contact:phone="
]
}
},
"osmlink": {
@ -158,7 +160,9 @@
"freeform": {
"key": "email",
"type": "email",
"addExtraTags": ["contact:email="]
"addExtraTags": [
"contact:email="
]
}
},
"website": {
@ -185,7 +189,9 @@
"freeform": {
"key": "website",
"type": "url",
"addExtraTags": ["contact:website="]
"addExtraTags": [
"contact:website="
]
},
"mappings": [
{

View file

@ -479,7 +479,6 @@
"_osm_obj:addr:street=(feat.get('_overlaps_with')?.feat?.properties ?? {})['addr:street']",
"_osm_obj:addr:housenumber=(feat.get('_overlaps_with')?.feat?.properties ?? {})['addr:housenumber']",
"_osm_obj:surface=(feat.get('_overlaps_with')?.feat?.properties ?? {})['_surface:strict']",
"_overlap_absolute=feat.get('_overlaps_with')?.overlap",
"_reverse_overlap_percentage=Math.round(100 * feat.get('_overlap_absolute') / feat.get('_surface'))",
"_overlap_percentage=Math.round(100 * feat.get('_overlap_absolute') / feat.get('_osm_obj:surface'))",
@ -515,10 +514,11 @@
},
{
"if": {
"and":[
"and": [
"_overlap_percentage>50",
"_reverse_overlap_percentage>50",
"_overlaps_with!="]
"_overlaps_with!="
]
},
"then": "{conflate_button(osm-buildings,building=$_target_building_type; source:geometry:date=$_grb_date; source:geometry:ref=$_grb_ref, Replace the geometry in OpenStreetMap,,_osm_obj:id)}"
}

View file

@ -213,6 +213,16 @@
"question": "How wide is the smallest opening next to the barriers?",
"render": "Width of opening: {width:opening} m"
},
"barrier_type": {
"mappings": {
"0": {
"then": "This is a single bollard in the road"
},
"1": {
"then": "This is a cycle barrier slowing down cyclists"
}
}
},
"bicycle=yes/no": {
"mappings": {
"0": {

View file

@ -151,6 +151,13 @@
"question": "Hoe breed is de smalste opening naast de barrières?",
"render": "Breedte van de opening: {width:opening} m"
},
"barrier_type": {
"mappings": {
"1": {
"then": "Dit zijn fietshekjes die fietsers afremmen"
}
}
},
"bicycle=yes/no": {
"mappings": {
"0": {