Reset translations

This commit is contained in:
Pieter Vander Vennet 2021-10-26 01:39:29 +02:00
parent 07bc5d6a6d
commit 43240ab7fc
32 changed files with 763 additions and 1172 deletions

View file

@ -663,8 +663,7 @@
"iconOverlays": [
{
"if": "operator=De Fietsambassade Gent",
"then": "./assets/themes/cyclofix/fietsambassade_gent_logo_small.svg",
"badge": true
"then": "./assets/themes/cyclofix/fietsambassade_gent_logo_small.svg"
}
],
"iconSize": {
@ -762,16 +761,7 @@
"mapRendering": [
{
"icon": {
"render": {
"en": "./assets/layers/bike_repair_station/repair_station.svg",
"ru": "./assets/layers/bike_repair_station/repair_station.svg",
"it": "./assets/layers/bike_repair_station/repair_station.svg",
"fi": "./assets/layers/bike_repair_station/repair_station.svg",
"fr": "./assets/layers/bike_repair_station/repair_station.svg",
"pt_BR": "./assets/layers/bike_repair_station/repair_station.svg",
"de": "./assets/layers/bike_repair_station/repair_station.svg",
"pt": "./assets/layers/bike_repair_station/repair_station.svg"
},
"render": "./assets/layers/bike_repair_station/repair_station.svg",
"mappings": [
{
"if": {

View file

@ -568,7 +568,8 @@
"en": "./assets/layers/defibrillator/aed_checked.svg",
"ru": "./assets/layers/defibrillator/aed_checked.svg",
"it": "./assets/layers/defibrillator/aed_checked.svg",
"fr": "./assets/layers/defibrillator/aed_checked.svg"
"fr": "./assets/layers/defibrillator/aed_checked.svg",
"de": "./assets/layers/defibrillator/aed_checked.svg"
}
}
]

View file

@ -33,8 +33,7 @@
"operational_status=closed"
]
},
"then": "close:#c33",
"badge": true
"then": "close:#c33"
}
],
"iconSize": "40,40,bottom",

View file

@ -36,8 +36,7 @@
"iconOverlays": [
{
"if": "opening_hours~*",
"then": "isOpen",
"badge": true
"then": "isOpen"
},
{
"if": {
@ -48,8 +47,7 @@
},
"then": {
"render": "circle:white;./assets/themes/fritures/Vegetarian-mark.svg"
},
"badge": true
}
}
],
"label": {

View file

@ -1,41 +1,20 @@
{
"id": "left_right_style",
"description": "Special meta-style which will show one single line, either on the left or on the right depending on the id. This is used in the small popups with left_right roads",
"source": {
"osmTags": {
"or": [
"id=left",
"id=right"
]
}
},
"mapRendering": [
{
"width": 6,
"offset": {
"mappings": [
{
"if": "id=left",
"then": "-5"
},
{
"if": "id=right",
"then": "5"
}
]
},
"color": {
"mappings": [
{
"if": "id=left",
"then": "#00f"
},
{
"if": "id=right",
"then": "#f00"
}
]
}
}
]
"id": "left_right_style",
"description": "Special meta-style which will show one single line, either on the left or on the right depending on the id. This is used in the small popups with left_right roads",
"source": {
"osmTags": {
"or": [
"id=left",
"id=right"
]
}
},
"mapRendering": [
{
"location": [
"point"
]
},
{}
]
}

View file

@ -488,8 +488,7 @@
"opening_hours~*"
]
},
"then": "isOpen",
"badge": true
"then": "isOpen"
}
],
"width": {

View file

@ -296,8 +296,7 @@
"iconOverlays": [
{
"if": "opening_hours~*",
"then": "isOpen",
"badge": true
"then": "isOpen"
}
],
"width": {

View file

@ -444,8 +444,7 @@
"opening_hours~*"
]
},
"then": "isOpen",
"badge": true
"then": "isOpen"
},
{
"if": {
@ -455,8 +454,7 @@
"access=no"
]
},
"then": "circle:white;./assets/layers/sport_pitch/lock.svg",
"badge": true
"then": "circle:white;./assets/layers/sport_pitch/lock.svg"
}
],
"width": {

View file

@ -204,7 +204,8 @@
"then": {
"en": "Waste Basket",
"nl": "Vuilnisbak",
"ru": "Контейнер для мусора"
"ru": "Контейнер для мусора",
"de": "Abfalleimer"
}
}
]

View file

@ -156,8 +156,7 @@
"iconOverlays": [
{
"if": "opening_hours~*",
"then": "isOpen",
"badge": true
"then": "isOpen"
}
],
"width": {
@ -215,7 +214,26 @@
}
}
],
"wayHandling": 1
"wayHandling": 1,
"mapRendering": [
{
"icon": {
"render": "./assets/themes/climbing/club.svg"
},
"iconBadges": [
{
"if": "opening_hours~*",
"then": "isOpen"
}
],
"iconSize": {
"render": "40,40,center"
},
"location": [
"point"
]
}
]
},
{
"id": "climbing_gym",
@ -305,15 +323,33 @@
"iconOverlays": [
{
"if": "opening_hours~*",
"then": "isOpen",
"badge": true
"then": "isOpen"
}
],
"width": "0",
"iconSize": {
"render": "40,40,center"
},
"wayHandling": 1
"wayHandling": 1,
"mapRendering": [
{
"icon": {
"render": "./assets/themes/climbing/climbing_gym.svg"
},
"iconBadges": [
{
"if": "opening_hours~*",
"then": "isOpen"
}
],
"iconSize": {
"render": "40,40,center"
},
"location": [
"point"
]
}
]
},
{
"id": "climbing_route",
@ -532,7 +568,29 @@
]
}
],
"wayHandling": 2
"wayHandling": 2,
"mapRendering": [
{
"icon": {
"render": "circle:white;./assets/themes/climbing/climbing_route.svg"
},
"iconSize": {
"render": "28,28,center"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#0f0"
},
"width": {
"render": "4"
}
}
]
},
{
"id": "climbing",
@ -801,6 +859,28 @@
"_difficulty_hist=JSON.parse(feat.properties._contained_climbing_routes_properties ?? '[]').map(p => p['climbing:grade:french'])",
"_length_hist=JSON.parse(feat.properties._contained_climbing_routes_properties ?? '[]').map(p => p['climbing:length'])",
"_contained_climbing_routes_count=JSON.parse(feat.properties._contained_climbing_routes_properties ?? '[]').length"
],
"mapRendering": [
{
"icon": {
"render": "./assets/themes/climbing/climbing_no_rope.svg"
},
"iconSize": {
"render": "40,40,center"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#d38d5fAA"
},
"width": {
"render": "8"
}
}
]
},
{
@ -930,7 +1010,23 @@
"color": {
"render": "#ddff55AA"
},
"wayHandling": 0
"wayHandling": 0,
"mapRendering": [
{
"icon": "./assets/themes/climbing/climbing_unknown.svg",
"location": [
"point"
]
},
{
"color": {
"render": "#ddff55AA"
},
"width": {
"render": "2"
}
}
]
}
],
"overrideAll": {

View file

@ -196,7 +196,34 @@
"render": "#00f"
},
"wayHandling": 2,
"presets": []
"presets": [],
"mapRendering": [
{
"label": {
"mappings": [
{
"if": "addr:housenumber~*",
"then": "<div style='background-color: white; font: large; width: 1.5em; height: 1.5em; border-radius: 100%'>{addr:housenumber}</div>"
}
]
},
"iconSize": {
"render": "40,40,center"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#00f"
},
"width": {
"render": "2"
}
}
]
}
],
"hideFromOverview": true,

View file

@ -340,7 +340,29 @@
}
}
],
"wayHandling": 2
"wayHandling": 2,
"mapRendering": [
{
"icon": {
"render": "./assets/themes/hailhydrant/hydrant.svg"
},
"iconSize": {
"render": "20,20,center"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#00f"
},
"width": {
"render": "8"
}
}
]
},
{
"id": "extinguisher",
@ -466,7 +488,20 @@
}
}
],
"wayHandling": 1
"wayHandling": 1,
"mapRendering": [
{
"icon": {
"render": "./assets/themes/hailhydrant/Twemoji12_1f9ef.svg"
},
"iconSize": {
"render": "20,20,center"
},
"location": [
"point"
]
}
]
},
{
"id": "fire_stations",
@ -695,6 +730,28 @@
"de": "Eine Feuerwache ist ein Ort, an dem die Feuerwehrfahrzeuge und die Feuerwehrleute untergebracht sind, wenn sie nicht im Einsatz sind."
}
}
],
"mapRendering": [
{
"icon": {
"render": "./assets/themes/hailhydrant/Twemoji12_1f692.svg"
},
"iconSize": {
"render": "35,35,center"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#c22"
},
"width": {
"render": "1"
}
}
]
},
{
@ -897,7 +954,29 @@
}
}
],
"wayHandling": 2
"wayHandling": 2,
"mapRendering": [
{
"icon": {
"render": "./assets/themes/hailhydrant/Twemoji_1f691.svg"
},
"iconSize": {
"render": "35,35,center"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#00f"
},
"width": {
"render": "1"
}
}
]
}
],
"defaultBackgroundId": "HDM_HOT"

View file

@ -230,6 +230,23 @@
}
]
}
],
"mapRendering": [
{
"icon": "./assets/themes/openwindpowermap/wind_turbine.svg",
"label": {
"mappings": [
{
"if": "generator:output:electricity~^[0-9]+.*[W]$",
"then": "<div style='background-color: rgba(0,0,0,0.3); color: white; font-size: 8px; padding: 0.25em; border-radius:0.5em'>{generator:output:electricity}</div>"
}
]
},
"iconSize": "40, 40, bottom",
"location": [
"point"
]
}
]
}
],

View file

@ -82,7 +82,29 @@
"razed:amenity=post_box"
]
}
}
},
"mapRendering": [
{
"icon": {
"render": "./assets/themes/postboxes/postbox.svg"
},
"iconSize": {
"render": "40,40,bottom"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#DADADA"
},
"width": {
"render": "1"
}
}
]
},
{
"id": "postoffices",
@ -137,8 +159,7 @@
"iconOverlays": [
{
"if": "opening_hours~*",
"then": "isOpen",
"badge": true
"then": "isOpen"
}
],
"width": {
@ -173,6 +194,34 @@
}
]
}
],
"mapRendering": [
{
"icon": {
"render": "square:white;./assets/themes/postboxes/post_office.svg"
},
"iconBadges": [
{
"if": "opening_hours~*",
"then": "isOpen"
}
],
"iconSize": {
"render": "40,40,bottom"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#DADADA"
},
"width": {
"render": "1"
}
}
]
}
]

View file

@ -45,54 +45,62 @@
"en": "Layer showing sidewalks of highways"
},
"tagRenderings": [
{
"id": "streetname",
"render": {
"en": "This street is named {name}"
}
},
{
"rewrite": {
"sourceString": "left|right",
"into": ["left","right"]
},
"renderings": [
{
"id": "sidewalk_minimap",
"render": "{sided_minimap(left|right):height:3rem;border-radius:0.5rem;overflow:hidden}"
"rewrite": {
"sourceString": "left|right",
"into": [
"left",
"right"
]
},
{
"id": "has_sidewalk",
"question": "Is there a sidewalk on the left|right side of the road?",
"mappings": [{
"if": "sidewalk:left|right=yes",
"then": "Yes, there is a sidewalk on this side of the road"
"renderings": [
{
"id": "sidewalk_minimap",
"render": "{sided_minimap(left|right):height:3rem;border-radius:0.5rem;overflow:hidden}"
},
{
"if": "sidewalk:left|right=no",
"then": "No, there is no seperated sidewalk to walk on"
}]
},
{
"id": "sidewalk_width",
"question": "What is the width of the sidewalk on this side of the road?",
"render": "This sidewalk is {sidewalk:left|right:width}m wide",
"condition": "sidewalk:left|right=yes",
"freeform": {
"key": "sidewalk:left|right:width",
"type": "length",
"helperArgs": ["21", "map"]
{
"id": "has_sidewalk",
"question": "Is there a sidewalk on the left|right side of the road?",
"mappings": [
{
"if": "sidewalk:left|right=yes",
"then": "Yes, there is a sidewalk on this side of the road"
},
{
"if": "sidewalk:left|right=no",
"then": "No, there is no seperated sidewalk to walk on"
}
]
},
{
"id": "sidewalk_width",
"question": "What is the width of the sidewalk on this side of the road?",
"render": "This sidewalk is {sidewalk:left|right:width}m wide",
"condition": "sidewalk:left|right=yes",
"freeform": {
"key": "sidewalk:left|right:width",
"type": "length",
"helperArgs": [
"21",
"map"
]
}
}
}
]
}],
]
}
],
"mapRendering": [
{
"location": ["start","end"],
"location": [
"start",
"end"
],
"icon": "circle:#ccc",
"iconSize": "20,20,center"
},

View file

@ -112,6 +112,29 @@
}
]
}
],
"mapRendering": [
{
"icon": {
"render": "./assets/themes/uk_addresses/housenumber_unknown.svg",
"mappings": [
{
"if": "_embedding_object:id~*",
"then": "./assets/themes/uk_addresses/housenumber_unknown_small.svg"
},
{
"if": "_imported=yes",
"then": "./assets/themes/uk_addresses/housenumber_unknown_small.svg"
}
]
},
"iconSize": {
"render": "40,40,center"
},
"location": [
"point"
]
}
]
},
{
@ -267,7 +290,60 @@
"then": "#ff0"
}
]
}
},
"mapRendering": [
{
"icon": {
"render": "./assets/themes/uk_addresses/housenumber_ok.svg",
"mappings": [
{
"if": {
"or": [
{
"and": [
"addr:housenumber=",
"nohousenumber!=yes"
]
},
"addr:street="
]
},
"then": "./assets/themes/uk_addresses/housenumber_unknown.svg"
}
]
},
"iconSize": {
"render": "40,40,center"
},
"location": [
"point"
]
},
{
"color": {
"render": "#00f",
"mappings": [
{
"if": {
"or": [
{
"and": [
"addr:housenumber=",
"nohousenumber!=yes"
]
},
"addr:street="
]
},
"then": "#ff0"
}
]
},
"width": {
"render": "8"
}
}
]
},
{
"id": "named_streets",
@ -285,7 +361,22 @@
},
"width": {
"render": "0"
}
},
"mapRendering": [
{
"location": [
"point"
]
},
{
"color": {
"render": "#ccc"
},
"width": {
"render": "0"
}
}
]
}
]
}