File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -412,10 +412,12 @@ private void parseSettingsHashtable(Hashtable settingsHashtable)
412412
413413 case "includedefaultrules" :
414414 case "recursecustomrulepath" :
415- // todo localize
416415 if ( ! ( val is bool ) )
417416 {
418- throw new InvalidDataException ( string . Format ( CultureInfo . CurrentCulture , "Not a boolean" ) ) ;
417+ throw new InvalidDataException ( string . Format (
418+ CultureInfo . CurrentCulture ,
419+ Strings . SettingsValueTypeMustBeBool ,
420+ settingKey ) ) ;
419421 }
420422
421423 var booleanVal = ( bool ) val ;
Original file line number Diff line number Diff line change 273273 <data name =" SettingsNotParsable" xml : space =" preserve" >
274274 <value >Cannot parse settings. Will abort the invocation.</value >
275275 </data >
276+ <data name =" SettingsValueTypeMustBeBool" xml : space =" preserve" >
277+ <value >{0} property must be of type bool.</value >
278+ </data >
276279 <data name =" ModuleDepHandlerTempLocation" xml : space =" preserve" >
277280 <value >Temporary module location: {0}.</value >
278281 </data >
You can’t perform that action at this time.
0 commit comments