public static string getTagSegStatus(SegStatus status) { switch (status) { case SegStatus.Draft: return("Draft"); case SegStatus.Translated: return("Translated"); case SegStatus.RejectedTranslation: return("Translation Rejected"); case SegStatus.ApprovedTranslation: return("Translation Approved"); case SegStatus.RejectedSignOff: return("Sign-off Rejected"); case SegStatus.ApprovedSignOff: return("Signed Off"); case SegStatus.Locked: return("Locked"); default: return("Not Translated"); } }
private bool isStatusCountable(SegStatus segStatus) { if (_options.SplitNonCountStatus.Contains(segStatus)) { return(false); } return(true); }