Improve camera direction description

Also show the direction=* tag in camera popup (it was already used for
the icon orientation).
This commit is contained in:
Midgard 2021-04-28 20:42:23 +02:00 committed by pietervdvn
parent 122acf8674
commit 4a3537f925

View file

@ -73,11 +73,16 @@
"#": "direction. We don't ask this for a dome on a pole or ceiling as it has a 360° view",
"question": {
"en": "In which geographical direction does this camera film?",
"nl": "Naar welke geografische richting filmt deze camera?"
"nl": "In welke geografische richting filmt deze camera?"
},
"render": {
"en": "Films to a compass heading of {camera:direction}",
"nl": "Filmt in kompasrichting {camera:direction}"
},
"render": "Films to {camera:direction}",
"condition": {
"or": [
"camera:direction~*",
"direction~*",
"camera:type!=dome",
{
"and": [
@ -90,7 +95,22 @@
"freeform": {
"key": "camera:direction",
"type": "direction"
}
},
"mappings": [
{
"if": {
"and": [
"camera:direction=",
"direction~*"
]
},
"then": {
"en": "Films to a compass heading of {direction}",
"nl": "Filmt in kompasrichting {direction}"
},
"hideInAnswer": true
}
]
},
{
"#": "Operator",