@@ -434,7 +434,7 @@ private void SetLanguage(string myLanguage)
434434 checkBoxOnlyGenerateScriptFile . Text = _languageDicoEn [ "Generate only the script file" ] ;
435435 buttonCheckUncheckAll . Text = _languageDicoEn [ "Toggle items" ] ;
436436 buttonClearLogTextBox . Text = _languageDicoEn [ "Clear log" ] ;
437- checkBoxUnlistVSSolution . Text = _languageDicoEn [ "Unlist Visual Studio Solution having the terms separated with a comma" ] ;
437+ checkBoxUnlistVSSolution . Text = _languageDicoEn [ "Unlist Visual Studio Solution having the following terms separated with a comma" ] ;
438438 checkBoxCaseSensitive . Text = _languageDicoEn [ "Case sensitive" ] ;
439439 buttonClearAll . Text = _languageDicoEn [ "Uncheck all" ] ;
440440 buttonCheckAll . Text = _languageDicoEn [ "Check all" ] ;
@@ -479,7 +479,7 @@ private void SetLanguage(string myLanguage)
479479 checkBoxOnlyGenerateScriptFile . Text = _languageDicoFr [ "Generate only the script file" ] ;
480480 buttonCheckUncheckAll . Text = _languageDicoFr [ "Toggle items" ] ;
481481 buttonClearLogTextBox . Text = _languageDicoFr [ "Clear log" ] ;
482- checkBoxUnlistVSSolution . Text = _languageDicoFr [ "Unlist Visual Studio Solution having the terms separated with a comma" ] ;
482+ checkBoxUnlistVSSolution . Text = _languageDicoFr [ "Unlist Visual Studio Solution having the following terms separated with a comma" ] ;
483483 checkBoxCaseSensitive . Text = _languageDicoFr [ "Case sensitive" ] ;
484484 buttonClearAll . Text = _languageDicoFr [ "Uncheck all" ] ;
485485 buttonCheckAll . Text = _languageDicoFr [ "Check all" ] ;
@@ -947,7 +947,9 @@ private static bool NotHavingWords(string source, IEnumerable<string> badWords,
947947 // if (badWords.Any(badWord => string.Compare(badWord.Trim(), source.Trim(), StringComparison.CurrentCultureIgnoreCase) == 0))
948948 foreach ( string badWord in badWords )
949949 {
950- if ( string . Compare ( badWord . Trim ( ) , source . Trim ( ) , StringComparison . CurrentCultureIgnoreCase ) == 0 )
950+ string tmpbadWord = badWord . Trim ( ) . ToLower ( ) ;
951+ string tmpSource = source . Trim ( ) . ToLower ( ) ;
952+ if ( tmpSource . Contains ( tmpbadWord ) )
951953 {
952954 result = false ;
953955 break ;
0 commit comments