jrbudda / KerbalEngineer

Kerbal Engineer v1.0 (current in-development build).
242 stars 30 forks source link

use displayname rather than name #58

Closed Sigma88 closed 4 years ago

Sigma88 commented 4 years ago

this is an attempt to use displayName rather than name

I did some testing (not too much tho) and it seems to work fine

this uses the localizator a lot so it might not be the best idea for performance (I wouldn't know)

an alternative would be to just build a dictionary and then read the displayNames from there

(Dictionary<string, string> where the Key is name and the Value is displayName)

if you do this I would suggest you to build the dictionary not at the Start() of MainMenu but at the start of SpaceCenter. This should allow you to avoid reading the names before Kopernicus has a chance to edit them