Formatting, fix build

This commit is contained in:
Pieter Vander Vennet 2023-03-16 16:28:24 +01:00
parent 31cefced42
commit 471f792c4d
6 changed files with 33 additions and 30 deletions

View file

@ -44,7 +44,9 @@
"tagRenderings": [ "tagRenderings": [
"images", "images",
{ {
"labels": ["map"], "labels": [
"map"
],
"question": { "question": {
"en": "On which data is this map based?", "en": "On which data is this map based?",
"nl": "Op welke data is deze kaart gebaseerd?", "nl": "Op welke data is deze kaart gebaseerd?",
@ -88,7 +90,9 @@
}, },
{ {
"id": "map-attribution", "id": "map-attribution",
"labels": ["map"], "labels": [
"map"
],
"question": { "question": {
"en": "Is the OpenStreetMap-attribution given?", "en": "Is the OpenStreetMap-attribution given?",
"nl": "Is de attributie voor OpenStreetMap aanwezig?", "nl": "Is de attributie voor OpenStreetMap aanwezig?",
@ -274,4 +278,4 @@
} }
} }
] ]
} }

View file

@ -87,6 +87,14 @@
], ],
"sources": [] "sources": []
}, },
{
"path": "blocked.svg",
"license": "CC0",
"authors": [
"Pieter Vander Vennet"
],
"sources": []
},
{ {
"path": "brick_wall_raw.svg", "path": "brick_wall_raw.svg",
"license": "CC0", "license": "CC0",
@ -111,14 +119,6 @@
], ],
"sources": [] "sources": []
}, },
{
"path": "blocked.svg",
"license": "CC0",
"authors": [
"Pieter Vander Vennet"
],
"sources": []
},
{ {
"path": "bug.svg", "path": "bug.svg",
"license": "MIT", "license": "MIT",
@ -1405,4 +1405,4 @@
"https://www.wikipedia.org/" "https://www.wikipedia.org/"
] ]
} }
] ]

View file

@ -1937,7 +1937,7 @@
"pl": "Nazwa sieci to <b>{internet_access:ssid}</b>" "pl": "Nazwa sieci to <b>{internet_access:ssid}</b>"
} }
}, },
"luminous_or_lit": { "luminous_or_lit": {
"question": { "question": {
"en": "Is this object lit or does it emit light?" "en": "Is this object lit or does it emit light?"
}, },
@ -1950,13 +1950,11 @@
] ]
}, },
"then": { "then": {
"en":"This object both emits light and is lighted by an external light source" "en": "This object both emits light and is lighted by an external light source"
} }
}, },
{ {
"if": "if": "luminous=yes",
"luminous=yes"
,
"then": { "then": {
"en": "This object emits light" "en": "This object emits light"
}, },
@ -1965,10 +1963,10 @@
] ]
}, },
{ {
"if": "if": "lit=yes",
"lit=yes" "then": {
, "en": "This object is lit externally, e.g. by a spotlight or other lights"
"then":{"en": "This object is lit externally, e.g. by a spotlight or other lights"}, },
"addExtraTags": [ "addExtraTags": [
"luminous=no" "luminous=no"
] ]
@ -1986,4 +1984,4 @@
} }
] ]
} }
} }

View file

@ -427,8 +427,7 @@
"path": "./assets/themes/advertising/trivision.svg" "path": "./assets/themes/advertising/trivision.svg"
}, },
"#": "Only applicable to billboards", "#": "Only applicable to billboards",
"hideInAnswer": "advertising!=billboard" "hideInAnswer": "advertising!=billboard"
}, },
{ {
"if": "animated=winding_posters", "if": "animated=winding_posters",
@ -462,7 +461,8 @@
] ]
}, },
{ {
"builtin": "luminous_or_lit", "id": "luminous_or_lit_advertising",
"builtin": "luminous_or_lit",
"override": { "override": {
"+mappings": [ "+mappings": [
{ {
@ -663,7 +663,9 @@
"key": "ref" "key": "ref"
}, },
"condition": { "condition": {
"and": ["advertising!=sign"] "and": [
"advertising!=sign"
]
} }
} }
], ],
@ -935,7 +937,6 @@
"./assets/themes/advertising/Times square.jpg" "./assets/themes/advertising/Times square.jpg"
] ]
}, },
{ {
"tags": [ "tags": [
"advertising=tarp" "advertising=tarp"
@ -1035,4 +1036,4 @@
] ]
} }
] ]
} }

View file

@ -116,7 +116,7 @@
"mappings": [ "mappings": [
{ {
"if": "theme=advertising", "if": "theme=advertising",
"then": "./assets/themes/advertising/icon.svg" "then": "./assets/themes/advertising/poster_box.svg"
}, },
{ {
"if": "theme=aed", "if": "theme=aed",

View file

@ -83,7 +83,7 @@
}, },
"question": "Does this advertisement cycle through multiple messages?" "question": "Does this advertisement cycle through multiple messages?"
}, },
"luminous_or_lit": { "luminous_or_lit_advertising": {
"override": { "override": {
"+mappings": { "+mappings": {
"0": { "0": {