LocalizableItemAttributespec Field |
Namespace: KSPDev.GUIUtils
[KSPField(guiName = "just-in-case text", guiUnits = "just-in-case units", guiActive = true)] [LocalizableItem( tag = "#tag1", defaultTemplate = "English text 1", description = "A field which demonstrates a localizable GUI string")] [LocalizableItem( tag = DistanceType.MeterLocTag, spec = StdSpecTags.Units, defaultTemplate = "meters", description = "Units for the field which demonstrates a localizable GUI string")] public string field3 = "";