예제 #1
0
        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");
            }
        }
예제 #2
0
 private bool isStatusCountable(SegStatus segStatus)
 {
     if (_options.SplitNonCountStatus.Contains(segStatus))
     {
         return(false);
     }
     return(true);
 }