Translation sync

This commit is contained in:
Pieter Vander Vennet 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": { "then": {
"en": "This is a single bollard in the road" "en": "This is a single bollard in the road"
} }
},{ },
{
"if": "barrier=cycle_barrier", "if": "barrier=cycle_barrier",
"then": { "then": {
"en": "This is a cycle barrier slowing down cyclists", "en": "This is a cycle barrier slowing down cyclists",

View file

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

View file

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

View file

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

View file

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

View file

@ -479,7 +479,6 @@
"_osm_obj:addr:street=(feat.get('_overlaps_with')?.feat?.properties ?? {})['addr:street']", "_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:addr:housenumber=(feat.get('_overlaps_with')?.feat?.properties ?? {})['addr:housenumber']",
"_osm_obj:surface=(feat.get('_overlaps_with')?.feat?.properties ?? {})['_surface:strict']", "_osm_obj:surface=(feat.get('_overlaps_with')?.feat?.properties ?? {})['_surface:strict']",
"_overlap_absolute=feat.get('_overlaps_with')?.overlap", "_overlap_absolute=feat.get('_overlaps_with')?.overlap",
"_reverse_overlap_percentage=Math.round(100 * feat.get('_overlap_absolute') / feat.get('_surface'))", "_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'))", "_overlap_percentage=Math.round(100 * feat.get('_overlap_absolute') / feat.get('_osm_obj:surface'))",
@ -515,10 +514,11 @@
}, },
{ {
"if": { "if": {
"and":[ "and": [
"_overlap_percentage>50", "_overlap_percentage>50",
"_reverse_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)}" "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?", "question": "How wide is the smallest opening next to the barriers?",
"render": "Width of opening: {width:opening} m" "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": { "bicycle=yes/no": {
"mappings": { "mappings": {
"0": { "0": {

View file

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