mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 12:18:03 +02:00
IDEIntf: fixed typo in resource string name
This commit is contained in:
parent
8f00090a13
commit
be6b774886
@ -373,7 +373,7 @@ resourcestring
|
||||
oisStringsEditorDialog = 'Strings Editor Dialog';
|
||||
ois0Lines0Chars = '0 lines, 0 chars';
|
||||
oisInvalidPropertyValue = 'Invalid property value';
|
||||
oisInfiniteNotSupported = 'Setting a floating point property to positive or negative Infinity at design time is not supported';
|
||||
oisInfinityNotSupported = 'Setting a floating point property to positive or negative Infinity at design time is not supported';
|
||||
oisNaNNotSupported = 'Setting a floating point property to NaN at design time is not supported';
|
||||
oisNone = '(none)';
|
||||
oisPressAKey = 'Press a key ...';
|
||||
|
@ -3985,7 +3985,7 @@ begin
|
||||
//if this failed, assume the user entered DS from his current locale
|
||||
NewFloat := StrToFloat(NewValue, DefaultFormatSettings);
|
||||
if IsInfinite(NewFloat) then
|
||||
raise EPropertyError.Create(oisInfiniteNotSupported);
|
||||
raise EPropertyError.Create(oisInfinityNotSupported);
|
||||
if IsNan(NewFloat) then
|
||||
raise EPropertyError.Create(oisNaNNotSupported);
|
||||
SetFloatValue(NewFloat);
|
||||
|
Loading…
Reference in New Issue
Block a user