public static string GetAdmiralTraitText(AdmiralInfo.TraitType trait) { return(App.Localize(string.Format("@ADMIRALTRAITS_{0}", (object)trait.ToString().ToUpper()))); }
public static string GetTraitDescription(AdmiralInfo.TraitType t, int level) { return(string.Format(App.Localize(string.Format("@ADMIRALTRAITS_{0}_DESC", (object)t.ToString().ToUpper())), (object)level, (object)(10 * level))); }