Example #1
0
 public bool Troublesome(out TroubleType trouble)
 {
     trouble = TroubleType.none;
     if (GetTranslation("eng") == "<NO DATA>" || GetTranslation("eng") == "")
     {
         trouble = TroubleType.absence;
     }
     return(trouble != TroubleType.none);
 }
        public bool Troublesome(out TroubleType trouble)
        {
            trouble = TroubleType.none;
            if (translation.Count < CFileList.LanguageToFile.Count)
            {
                trouble = TroubleType.absence;
                return(true);
            }

            var duplicateValues = translation.GroupBy(x => x.Value).Where(x => x.Count() > 1);

            if (duplicateValues.Count() > 0)
            {
                trouble = TroubleType.duplicate;
                return(true);
            }

            return(false);
        }
 public bool Troublesome(out TroubleType trouble)
 {
     trouble = TroubleType.absence;
     return(true);
 }