Added icons to mappings

This commit is contained in:
Robin van der Linde 2022-06-29 22:37:06 +02:00
parent 3436894249
commit 8eab5bfdd2
No known key found for this signature in database
GPG key ID: 53956B3252478F0D
9 changed files with 83 additions and 29 deletions

View file

@ -70,7 +70,7 @@
"fr": "Piste cyclable",
"ca": "Via ciclista",
"da": "Cykelsti",
"es": "Carril bici"
"es": "Carril compartido"
}
},
{
@ -93,7 +93,7 @@
"de": "Gemeinsame Fahrspur",
"fr": "Voie partagée",
"ca": "Carril compartit",
"es": "Carril compartido"
"es": "Vía ciclista al lado de la carretera"
}
},
{

View file

@ -7,8 +7,8 @@
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
width="500"
height="500"
id="svg2"
version="1.1"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
@ -22,9 +22,9 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="32"
inkscape:cx="4.775012"
inkscape:cy="8.2391685"
inkscape:zoom="2"
inkscape:cx="304.38287"
inkscape:cy="103.37718"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
@ -32,9 +32,9 @@
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="2160"
inkscape:window-height="1346"
inkscape:window-x="-11"
inkscape:window-width="3840"
inkscape:window-height="2066"
inkscape:window-x="2149"
inkscape:window-y="-11"
inkscape:window-maximized="1"
inkscape:document-rotation="0">
@ -69,7 +69,7 @@
transform="translate(-334.84375,-558.61859)">
<g
id="g837"
transform="translate(0.27195878,0.99513831)">
transform="matrix(32.352738,0,0,32.352738,-10498.292,-17490.849)">
<path
style="fill:#808080;fill-opacity:1;stroke:#000000;stroke-width:0.569125;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 335.15288,572.3216 h 4.00775 v -3.59195 l -1.19172,-3.53528 -0.81215,-0.0566 h -2.00388 z"

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -64,6 +64,10 @@
"then": {
"en": "This kerb is raised (>3 cm)",
"nl": "Deze stoeprand is hoog (>3 cm)"
},
"icon": {
"path": "./assets/layers/kerbs/raised.svg",
"class": "small"
}
},
{
@ -71,6 +75,10 @@
"then": {
"en": "This kerb is lowered (~3 cm)",
"nl": "Deze stoeprand is verlaagd (~3 cm)"
},
"icon": {
"path": "./assets/layers/kerbs/lowered.svg",
"class": "small"
}
},
{
@ -78,6 +86,10 @@
"then": {
"en": "This kerb is flush (~0cm)",
"nl": "Deze stoeprand is vlak (~0cm)"
},
"icon": {
"path": "./assets/layers/kerbs/flush.svg",
"class": "small"
}
},
{
@ -86,7 +98,11 @@
"en": "There is no kerb here",
"nl": "Er is hier geen stoeprand"
},
"hideInAnswer": true
"hideInAnswer": true,
"icon": {
"path": "./assets/layers/kerbs/no.svg",
"class": "small"
}
},
{
"if": "kerb=yes",

View file

@ -298,16 +298,17 @@
"fr": "Quelle est la langue principale de cette école ?<div class='subtle'>Quelle langue est parlée avec les élèves des cours non linguistiques et avec l'administration ?</div>"
},
"render": {
"en": "{school:language} is the main language of {name}",
"nl": "{school:language} is de voertaal van {name}",
"de": "{school:language} ist die Hauptsprache von {name}"
"en": "{school:language} is the main language of {title()}",
"nl": "{school:language} is de voertaal van {title()}",
"de": "{school:language} ist die Hauptsprache von {title()}"
},
"freeform": {
"key": "school:language",
"inline": true,
"placeholder": {
"en":"Language in lowercase English",
"nl":"Taal in lowercase Engel"},
"en": "Language in lowercase English",
"nl": "Taal in lowercase Engel"
},
"addExtraTags": [
"fixme=Freeform tag `school:language` used, to be doublechecked"
]
@ -316,8 +317,10 @@
{
"if": "school:language=english",
"then": {
"en": "English is the main language of {name}",
"nl": "Engels is de voertaal van {name}"
"en": "The main language of this school is unknown",
"nl": "De voertaal van deze school is niet gekend",
"de": "Die Hauptsprache dieser Schule ist unbekannt",
"fr": "La langue principale de cette école est inconnue"
}
},
{
@ -395,4 +398,4 @@
"width": 1
}
]
}
}

View file

@ -5046,6 +5046,9 @@
"mappings": {
"0": {
"then": "Die Hauptsprache dieser Schule ist unbekannt"
},
"4": {
"then": "Die Hauptsprache dieser Schule ist unbekannt"
}
},
"question": "Was ist die Hauptsprache dieser Schule?<div class='subtle'>Welche Sprache wird mit den Schülern in den nicht sprachbezogenen Kursen und mit der Verwaltung gesprochen?</div>",

View file

@ -5106,9 +5106,24 @@
"question": "Which genders can enroll at this school?"
},
"language": {
"freeform": {
"placeholder": "Language in lowercase English"
},
"mappings": {
"0": {
"then": "The main language of this school is unknown"
},
"1": {
"then": "French is the main language of {name}"
},
"2": {
"then": "Dutch is the main language of {name}"
},
"3": {
"then": "German is the main language of {name}"
},
"4": {
"then": "The main language of this school is unknown"
}
},
"question": "What is the main language of this school?<div class='subtle'>What language is spoken with the students in non-language related courses and with the administration?</div>",

View file

@ -1952,23 +1952,22 @@
},
"title": {
"mappings": {
"0": {
"then": "Carril bici"
},
"1": {
"then": "Carril compartido"
},
"2": {
"then": "Carril bici"
},
"3": {
"then": "Vía ciclista al lado de la carretera"
},
"4": {
"5": {
"then": "Carril bici"
},
"7": {
"then": "Vía ciclista al lado de la carretera"
},
"9": {
"then": "Ciclocalle"
}
},
"render": "Ciclovías"
}
}
},
"defibrillator": {

View file

@ -2470,6 +2470,9 @@
"mappings": {
"0": {
"then": "La langue principale de cette école est inconnue"
},
"4": {
"then": "La langue principale de cette école est inconnue"
}
},
"question": "Quelle est la langue principale de cette école ?<div class='subtle'>Quelle langue est parlée avec les élèves des cours non linguistiques et avec l'administration ?</div>"

View file

@ -5026,9 +5026,24 @@
"question": "Mogen jongens en meisjes les volgen op deze school?"
},
"language": {
"freeform": {
"placeholder": "Taal in lowercase Engel"
},
"mappings": {
"0": {
"then": "De voertaal van deze school is niet gekend"
},
"1": {
"then": "Frans is de voertaal van {name}"
},
"2": {
"then": "Nederlands is de voertaal van {name}"
},
"3": {
"then": "Duits is de voertaal van {name}"
},
"4": {
"then": "De voertaal van deze school is niet gekend"
}
},
"question": "Wat is de voertaal van deze school?<div class='subtle'>Welke taal wordt met de studenten gesproken in niet-taal-gerelateerde vakken en met de administratie?</div>",