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)
412
412
413
413
case "includedefaultrules" :
414
414
case "recursecustomrulepath" :
415
- // todo localize
416
415
if ( ! ( val is bool ) )
417
416
{
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 ) ) ;
419
421
}
420
422
421
423
var booleanVal = ( bool ) val ;
Original file line number Diff line number Diff line change 273
273
<data name =" SettingsNotParsable" xml : space =" preserve" >
274
274
<value >Cannot parse settings. Will abort the invocation.</value >
275
275
</data >
276
+ <data name =" SettingsValueTypeMustBeBool" xml : space =" preserve" >
277
+ <value >{0} property must be of type bool.</value >
278
+ </data >
276
279
<data name =" ModuleDepHandlerTempLocation" xml : space =" preserve" >
277
280
<value >Temporary module location: {0}.</value >
278
281
</data >
You can’t perform that action at this time.
0 commit comments