Use lowercase-letter for the svgs, some small technical fixes

This commit is contained in:
Pieter Vander Vennet 2023-01-30 01:37:52 +01:00
parent 58f68a1692
commit 03a4012e8b
9 changed files with 31 additions and 24 deletions

View file

@ -210,7 +210,7 @@
"en": "This is a billboard" "en": "This is a billboard"
}, },
"icon": { "icon": {
"path": "./assets/themes/advertising/Billboard.svg", "path": "./assets/themes/advertising/billboard.svg",
"class": "medium" "class": "medium"
} }
}, },
@ -226,7 +226,7 @@
"en": "This is a board" "en": "This is a board"
}, },
"icon": { "icon": {
"path": "./assets/themes/advertising/Board.svg", "path": "./assets/themes/advertising/board.svg",
"class": "medium" "class": "medium"
} }
}, },
@ -566,6 +566,7 @@
] ]
}, },
{ {
"id": "message_type",
"render": { "render": {
"*": " {message}" "*": " {message}"
}, },
@ -689,6 +690,7 @@
] ]
}, },
{ {
"id": "Sides",
"render": { "render": {
"ca": "Pots veure publicitat per {sides} costats", "ca": "Pots veure publicitat per {sides} costats",
"es": "Puedes ver publicidad por {sides} lados", "es": "Puedes ver publicidad por {sides} lados",
@ -701,8 +703,7 @@
}, },
"freeform": { "freeform": {
"key": "sides" "key": "sides"
}, }
"mappings": []
} }
], ],
"mapRendering": [ "mapRendering": [
@ -720,15 +721,15 @@
"advertising=billboard" "advertising=billboard"
] ]
}, },
"then": "./assets/themes/advertising/Billboard.svg" "then": "./assets/themes/advertising/billboard.svg"
}, },
{ {
"if": "advertising=board", "if": "advertising=board",
"then": "./assets/themes/advertising/Board.svg" "then": "./assets/themes/advertising/board.svg"
}, },
{ {
"if": "advertising=column", "if": "advertising=column",
"then": "./assets/themes/advertising/Column.svg" "then": "./assets/themes/advertising/column.svg"
}, },
{ {
"if": "advertising=flag", "if": "advertising=flag",
@ -736,7 +737,7 @@
}, },
{ {
"if": "advertising=poster_box", "if": "advertising=poster_box",
"then": "./assets/themes/advertising/Poster_box.svg" "then": "./assets/themes/advertising/poster_box.svg"
}, },
{ {
"if": "advertising=screen", "if": "advertising=screen",
@ -756,7 +757,7 @@
}, },
{ {
"if": "advertising=totem", "if": "advertising=totem",
"then": "./assets/themes/advertising/Totem.svg" "then": "./assets/themes/advertising/totem.svg"
}, },
{ {
"if": "advertising=wall_painting", "if": "advertising=wall_painting",

View file

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View file

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -1,6 +1,6 @@
[ [
{ {
"path": "Billboard.svg", "path": "billboard.svg",
"license": "CC BY-SA 3.0", "license": "CC BY-SA 3.0",
"authors": [ "authors": [
"Barnes38" "Barnes38"
@ -10,7 +10,7 @@
] ]
}, },
{ {
"path": "Board.svg", "path": "board.svg",
"license": "CC BY-SA 3.0", "license": "CC BY-SA 3.0",
"authors": [ "authors": [
"Barnes38" "Barnes38"
@ -20,7 +20,7 @@
] ]
}, },
{ {
"path": "Column.svg", "path": "column.svg",
"license": "CC BY-SA 3.0", "license": "CC BY-SA 3.0",
"authors": [ "authors": [
"Barnes38" "Barnes38"
@ -30,7 +30,17 @@
] ]
}, },
{ {
"path": "Newspaper_kiosk.svg", "path": "icon.svg",
"license": "CC-BY-SA 4.0",
"authors": [
"Panier Avide"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Advertising_icon.svg"
]
},
{
"path": "newspaper_kiosk.svg",
"license": "CC BY-SA 3.0", "license": "CC BY-SA 3.0",
"authors": [ "authors": [
"Barnes38" "Barnes38"
@ -40,7 +50,7 @@
] ]
}, },
{ {
"path": "Poster_box.svg", "path": "poster_box.svg",
"license": "CC BY-SA 3.0", "license": "CC BY-SA 3.0",
"authors": [ "authors": [
"Barnes38" "Barnes38"
@ -50,7 +60,7 @@
] ]
}, },
{ {
"path": "Totem.svg", "path": "totem.svg",
"license": "CC BY-SA 3.0", "license": "CC BY-SA 3.0",
"authors": [ "authors": [
"Barnes38" "Barnes38"
@ -58,13 +68,5 @@
"sources": [ "sources": [
"https://wiki.openstreetmap.org/wiki/File:Totem.svg" "https://wiki.openstreetmap.org/wiki/File:Totem.svg"
] ]
},
{
"path": "icon.svg",
"license": "CC-BY-SA 4.0",
"authors": [
"Panier Avide"
],
"sources": ["https://commons.wikimedia.org/wiki/File:Advertising_icon.svg"]
} }
] ]

View file

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View file

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

View file

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -114,6 +114,10 @@
"icon": { "icon": {
"render": "teardrop:#00cc00", "render": "teardrop:#00cc00",
"mappings": [ "mappings": [
{
"if": "theme=advertising",
"then": "./assets/themes/advertising/icon.svg"
},
{ {
"if": "theme=aed", "if": "theme=aed",
"then": "./assets/themes/aed/aed.svg" "then": "./assets/themes/aed/aed.svg"