FlightGear Newsletter April 2017: Difference between revisions

Jump to navigation Jump to search
Line 87: Line 87:
}  
}  
</syntaxhighlight>
</syntaxhighlight>
Technically, there is no reason why the same piece of Nasal code could not be used to also support localized lookups of the corresponding checkbox labels, i.e. to provide a description and/or tooltip using a language other than English; all at the mere cost of adding the corresponding attributes to /sim/rendering/draw-mask in the form of "tooltip" and "label" attributes.


== In the hangar ==
== In the hangar ==

Navigation menu