Extract images from crossings.json

This commit is contained in:
pietervdvn 2022-02-18 23:12:46 +01:00
parent 682b68a094
commit d9d6e96fed
4 changed files with 22 additions and 14 deletions

View file

@ -306,11 +306,15 @@
{
"if": "red_turn:right:bicycle=yes",
"then": {
"en": "A cyclist can turn right if the light is red <img src='./assets/layers/crossings/Belgian_road_sign_B22.svg' style='width: 3em'>",
"nl": "Een fietser mag wel rechtsaf slaan als het licht rood is <img src='./assets/layers/crossings/Belgian_road_sign_B22.svg' style='width: 3em'>",
"de": "Ein Radfahrer kann bei roter Ampel rechts abbiegen <img src='./assets/layers/crossings/Belgian_road_sign_B22.svg' style='width: 3em'>"
"en": "A cyclist can turn right if the light is red",
"nl": "Een fietser mag wel rechtsaf slaan als het licht rood is",
"de": "Ein Radfahrer kann bei roter Ampel rechts abbiegen"
},
"hideInAnswer": "_country!=be"
"hideInAnswer": "_country!=be",
"icon": {
"path": "./assets/layers/crossings/Belgian_road_sign_B22.svg",
"class": "medium"
}
},
{
"if": "red_turn:right:bicycle=yes",
@ -343,11 +347,15 @@
{
"if": "red_turn:straight:bicycle=yes",
"then": {
"en": "A cyclist can go straight on if the light is red <img src='./assets/layers/crossings/Belgian_road_sign_B23.svg' style='width: 3em'>",
"nl": "Een fietser mag wel rechtdoor gaan als het licht rood is <img src='./assets/layers/crossings/Belgian_road_sign_B23.svg' style='width: 3em'>",
"de": "Ein Radfahrer kann bei roter Ampel geradeaus fahren <img src='./assets/layers/crossings/Belgian_road_sign_B23.svg' style='width: 3em'>"
"en": "A cyclist can go straight on if the light is red",
"nl": "Een fietser mag wel rechtdoor gaan als het licht rood is",
"de": "Ein Radfahrer kann bei roter Ampel geradeaus fahren"
},
"hideInAnswer": "_country!=be"
"hideInAnswer": "_country!=be",
"icon": {
"path": "./assets/layers/crossings/Belgian_road_sign_B23.svg",
"class": "medium"
}
},
{
"if": "red_turn:straight:bicycle=yes",

View file

@ -1242,7 +1242,7 @@
"crossing-continue-through-red": {
"mappings": {
"0": {
"then": "Ein Radfahrer kann bei roter Ampel geradeaus fahren <img src='./assets/layers/crossings/Belgian_road_sign_B23.svg' style='width: 3em'>"
"then": "Ein Radfahrer kann bei roter Ampel geradeaus fahren"
},
"1": {
"then": "Ein Radfahrer kann bei roter Ampel geradeaus fahren"
@ -1278,7 +1278,7 @@
"crossing-right-turn-through-red": {
"mappings": {
"0": {
"then": "Ein Radfahrer kann bei roter Ampel rechts abbiegen <img src='./assets/layers/crossings/Belgian_road_sign_B22.svg' style='width: 3em'>"
"then": "Ein Radfahrer kann bei roter Ampel rechts abbiegen"
},
"1": {
"then": "Ein Radfahrer kann bei roter Ampel rechts abbiegen"

View file

@ -2305,7 +2305,7 @@
"crossing-continue-through-red": {
"mappings": {
"0": {
"then": "A cyclist can go straight on if the light is red <img src='./assets/layers/crossings/Belgian_road_sign_B23.svg' style='width: 3em'>"
"then": "A cyclist can go straight on if the light is red"
},
"1": {
"then": "A cyclist can go straight on if the light is red"
@ -2341,7 +2341,7 @@
"crossing-right-turn-through-red": {
"mappings": {
"0": {
"then": "A cyclist can turn right if the light is red <img src='./assets/layers/crossings/Belgian_road_sign_B22.svg' style='width: 3em'>"
"then": "A cyclist can turn right if the light is red"
},
"1": {
"then": "A cyclist can turn right if the light is red"

View file

@ -2321,7 +2321,7 @@
"crossing-continue-through-red": {
"mappings": {
"0": {
"then": "Een fietser mag wel rechtdoor gaan als het licht rood is <img src='./assets/layers/crossings/Belgian_road_sign_B23.svg' style='width: 3em'>"
"then": "Een fietser mag wel rechtdoor gaan als het licht rood is"
},
"1": {
"then": "Een fietser mag wel rechtdoor gaan als het licht rood is"
@ -2357,7 +2357,7 @@
"crossing-right-turn-through-red": {
"mappings": {
"0": {
"then": "Een fietser mag wel rechtsaf slaan als het licht rood is <img src='./assets/layers/crossings/Belgian_road_sign_B22.svg' style='width: 3em'>"
"then": "Een fietser mag wel rechtsaf slaan als het licht rood is"
},
"1": {
"then": "Een fietser mag wel rechtsaf slaan als het licht rood is"