* Moved string constant to sysconst

git-svn-id: trunk@19315 -
This commit is contained in:
michael 2011-10-01 14:42:54 +00:00
parent 394c9022b8
commit c0995c2ffd
2 changed files with 2 additions and 1 deletions

View File

@ -1720,7 +1720,7 @@ end;
function EncodeTimeInterval(Hour, Minute, Second, MilliSecond: word): TDateTime;
begin
If not TryEncodeTimeInterval(Hour,Minute,Second,MilliSecond,Result) then
Raise EConvertError.CreateFmt('%d:%d:%d.%d is not a valid time specification',
Raise EConvertError.CreateFmt(SerrInvalidHourMinuteSecMsec,
[Hour,Minute,Second,MilliSecond]);
end;

View File

@ -36,6 +36,7 @@ resourcestring
SDivByZero = 'Division by zero';
SEndOfFile = 'Read past end of file';
SErrInvalidDateMonthWeek = 'Year %d, month %d, Week %d and day %d is not a valid date.';
SerrInvalidHourMinuteSecMsec = '%d:%d:%d.%d is not a valid time specification';
SErrInvalidDateWeek = '%d %d %d is not a valid dateweek';
SErrInvalidDayOfWeek = '%d is not a valid day of the week';
SErrInvalidDayOfWeekInMonth = 'Year %d Month %d NDow %d DOW %d is not a valid date';