public string GetLocalizedName() { string result = null; if (mOccult != OccultTypes.None) { result += OccultTypeHelper.GetLocalizedName(mOccult) + " "; } if (mAgeSpecies != CASAgeGenderFlags.None) { CASAgeGenderFlags age = mAgeSpecies & CASAgeGenderFlags.AgeMask;; CASAgeGenderFlags species = mAgeSpecies & CASAgeGenderFlags.SpeciesMask; result += Common.LocalizeEAString("UI/Feedback/CAS:" + age) + " "; result += Common.Localize("Species:" + species) + " "; } result += CommoditiesEx.GetMotiveLocalizedName(mKind); return(result); }
public override string GetLocalizedValue(CommodityKind value) { return(CommoditiesEx.GetMotiveLocalizedName(value)); }
public CommodityChangeOption(InteractionTuning tuning, CommodityChange change) : base(CommoditiesEx.GetMotiveLocalizedName(change.Commodity)) { mTuning = tuning; mChange = change; }