public static string Print(this ScienceRecoveryMethod recoveryMethod) { if (recoveryMethod == ScienceRecoveryMethod.RecoverOrTransmit) { return("Recover or transmit"); } return(recoveryMethod.ToString()); }
public static string Print(this ScienceRecoveryMethod recoveryMethod) { if (recoveryMethod != ScienceRecoveryMethod.Ideal) { return(Localizer.GetStringByTag(StringBuilderCache.Format("#cc.param.CollectScience.rm.{0}", recoveryMethod.ToString()))); } return(recoveryMethod.ToString()); }