Themes(guideposts): Add mappings for empty ref, name and elevation

This commit is contained in:
Robin van der Linde 2025-03-13 21:33:07 +01:00
parent 5c7246766e
commit 455f540cbd
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D

View file

@ -148,7 +148,15 @@
}, },
"render": { "render": {
"en": "Name noted on the guidepost: {name}" "en": "Name noted on the guidepost: {name}"
} },
"mappings": [
{
"if": "noname=yes",
"then": {
"en": "There is no name noted on this guidepost"
}
}
]
}, },
{ {
"id": "ref", "id": "ref",
@ -164,7 +172,15 @@
}, },
"render": { "render": {
"en": "Reference number of the guidepost: {ref}" "en": "Reference number of the guidepost: {ref}"
} },
"mappings": [
{
"if": "noref=yes",
"then": {
"en": "There is no reference number noted on this guidepost"
}
}
]
}, },
{ {
"id": "ele", "id": "ele",
@ -180,7 +196,15 @@
}, },
"render": { "render": {
"en": "Elevation noted on the guidepost: {ele} m" "en": "Elevation noted on the guidepost: {ele} m"
} },
"mappings": [
{
"if": "noele=yes",
"then": {
"en": "There is no elevation noted on this guidepost"
}
}
]
} }
], ],
"deletion": true, "deletion": true,