Advertisement
Guest User

SysConst.pas (original)

a guest
Jan 22nd, 2012
1,630
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 7.94 KB | None | 0 0
  1. { *********************************************************************** }
  2. {                                                                         }
  3. { Delphi / Kylix Cross-Platform Runtime Library                           }
  4. {                                                                         }
  5. { Copyright (c) 1995, 2001 Borland Software Corporation                   }
  6. {                                                                         }
  7. { *********************************************************************** }
  8.  
  9. unit SysConst;                                  
  10.  
  11. interface
  12.  
  13. resourcestring
  14.   SUnknown = '<unknown>';
  15.   SInvalidInteger = '''%s'' is not a valid integer value';
  16.   SInvalidFloat = '''%s'' is not a valid floating point value';
  17.   SInvalidCurrency = '''%s'' is not a valid currency value';
  18.   SInvalidDate = '''%s'' is not a valid date';
  19.   SInvalidTime = '''%s'' is not a valid time';
  20.   SInvalidDateTime = '''%s'' is not a valid date and time';
  21.   SInvalidDateTimeFloat = '''%g'' is not a valid date and time';
  22.   SInvalidTimeStamp = '''%d.%d'' is not a valid timestamp';
  23.   SInvalidGUID = '''%s'' is not a valid GUID value';
  24.   SInvalidBoolean = '''%s'' is not a valid boolean value';
  25.   STimeEncodeError = 'Invalid argument to time encode';
  26.   SDateEncodeError = 'Invalid argument to date encode';
  27.   SOutOfMemory = 'Out of memory';
  28.   SInOutError = 'I/O error %d';
  29.   SFileNotFound = 'File not found';
  30.   SInvalidFilename = 'Invalid filename';
  31.   STooManyOpenFiles = 'Too many open files';
  32.   SAccessDenied = 'File access denied';
  33.   SEndOfFile = 'Read beyond end of file';
  34.   SDiskFull = 'Disk full';
  35.   SInvalidInput = 'Invalid numeric input';
  36.   SDivByZero = 'Division by zero';
  37.   SRangeError = 'Range check error';
  38.   SIntOverflow = 'Integer overflow';
  39.   SInvalidOp = 'Invalid floating point operation';
  40.   SZeroDivide = 'Floating point division by zero';
  41.   SOverflow = 'Floating point overflow';
  42.   SUnderflow = 'Floating point underflow';
  43.   SInvalidPointer = 'Invalid pointer operation';
  44.   SInvalidCast = 'Invalid class typecast';
  45. {$IFDEF MSWINDOWS}
  46.   SAccessViolationArg3 = 'Access violation at address %p. %s of address %p';
  47. {$ENDIF}
  48. {$IFDEF LINUX}
  49.   SAccessViolationArg2 = 'Access violation at address %p, accessing address %p';
  50. {$ENDIF}
  51.   SAccessViolationNoArg = 'Access violation';
  52.   SStackOverflow = 'Stack overflow';
  53.   SControlC = 'Control-C hit';
  54.   SQuit = 'Quit key hit';
  55.   SPrivilege = 'Privileged instruction';
  56.   SOperationAborted = 'Operation aborted';
  57.   SException = 'Exception %s in module %s at %p.' + sLineBreak + '%s%s' + sLineBreak;
  58.   SExceptTitle = 'Application Error';
  59. {$IFDEF LINUX}
  60.   SSigactionFailed = 'sigaction call failed';
  61. {$ENDIF}
  62.   SInvalidFormat = 'Format ''%s'' invalid or incompatible with argument';
  63.   SArgumentMissing = 'No argument for format ''%s''';
  64.   SDispatchError = 'Variant method calls not supported';
  65.   SReadAccess = 'Read';
  66.   SWriteAccess = 'Write';
  67.   SResultTooLong = 'Format result longer than 4096 characters';
  68.   SFormatTooLong = 'Format string too long';
  69.  
  70.   SVarArrayCreate = 'Error creating variant or safe array';
  71.   SVarArrayBounds = 'Variant or safe array index out of bounds';
  72.   SVarArrayLocked = 'Variant or safe array is locked';
  73.   SVarArrayWithHResult = 'Unexpected variant or safe array error: %s%.8x';
  74.  
  75.   SInvalidVarCast = 'Invalid variant type conversion';
  76.   SInvalidVarOp = 'Invalid variant operation';
  77.   SInvalidVarNullOp = 'Invalid NULL variant operation';
  78.   SInvalidVarOpWithHResultWithPrefix = 'Invalid variant operation (%s%.8x)'#10'%s';
  79.   SVarTypeRangeCheck1 = 'Range check error for variant of type (%s)';
  80.   SVarTypeRangeCheck2 = 'Range check error while converting variant of type (%s) into type (%s)';
  81.   SVarTypeOutOfRangeWithPrefix = 'Custom variant type (%s%.4x) is out of range';
  82.   SVarTypeAlreadyUsedWithPrefix = 'Custom variant type (%s%.4x) already used by %s';
  83.   SVarTypeNotUsableWithPrefix = 'Custom variant type (%s%.4x) is not usable';
  84.   SVarTypeTooManyCustom = 'Too many custom variant types have been registered';
  85.  
  86.   // the following are not used anymore
  87.   SVarNotArray = 'Variant is not an array' deprecated; // not used, use SVarInvalid instead
  88.   SVarTypeUnknown = 'Unknown custom variant type ($%.4x)' deprecated; // not used anymore
  89.   SVarTypeOutOfRange = 'Custom variant type ($%.4x) is out of range' deprecated;
  90.   SVarTypeAlreadyUsed = 'Custom variant type ($%.4x) already used by %s' deprecated;
  91.   SVarTypeNotUsable = 'Custom variant type ($%.4x) is not usable' deprecated;
  92.   SInvalidVarOpWithHResult = 'Invalid variant operation ($%.8x)' deprecated;
  93.  
  94.   SVarTypeCouldNotConvert = 'Could not convert variant of type (%s) into type (%s)';
  95.   SVarTypeConvertOverflow = 'Overflow while converting variant of type (%s) into type (%s)';
  96.   SVarOverflow = 'Variant overflow';
  97.   SVarInvalid = 'Invalid argument';
  98.   SVarBadType = 'Invalid variant type';
  99.   SVarNotImplemented = 'Operation not supported';
  100.   SVarOutOfMemory = 'Variant operation ran out memory';
  101.   SVarUnexpected = 'Unexpected variant error';
  102.  
  103.   SVarDataClearRecursing = 'Recursion while doing a VarDataClear';
  104.   SVarDataCopyRecursing = 'Recursion while doing a VarDataCopy';
  105.   SVarDataCopyNoIndRecursing = 'Recursion while doing a VarDataCopyNoInd';
  106.   SVarDataInitRecursing = 'Recursion while doing a VarDataInit';
  107.   SVarDataCastToRecursing = 'Recursion while doing a VarDataCastTo';
  108.   SVarIsEmpty = 'Variant is empty';
  109.   sUnknownFromType = 'Cannot convert from the specified type';
  110.   sUnknownToType = 'Cannot convert to the specified type';
  111.   SExternalException = 'External exception %x';
  112.   SAssertionFailed = 'Assertion failed';
  113.   SIntfCastError = 'Interface not supported';
  114.   SSafecallException = 'Exception in safecall method';
  115.   SAssertError = '%s (%s, line %d)';
  116.   SAbstractError = 'Abstract Error';
  117.   SModuleAccessViolation = 'Access violation at address %p in module ''%s''. %s of address %p';
  118.   SCannotReadPackageInfo = 'Cannot access package information for package ''%s''';
  119.   sErrorLoadingPackage = 'Can''t load package %s.'+sLineBreak+'%s';
  120.   SInvalidPackageFile = 'Invalid package file ''%s''';
  121.   SInvalidPackageHandle = 'Invalid package handle';
  122.   SDuplicatePackageUnit = 'Cannot load package ''%s.''  It contains unit ''%s,''' +
  123.     'which is also contained in package ''%s''';
  124.   SOSError = 'System Error.  Code: %d.'+sLineBreak+'%s';
  125.   SUnkOSError = 'A call to an OS function failed';
  126. {$IFDEF MSWINDOWS}
  127.   SWin32Error = 'Win32 Error.  Code: %d.'#10'%s' deprecated; // use SOSError
  128.   SUnkWin32Error = 'A Win32 API function failed' deprecated; // use SUnkOSError
  129. {$ENDIF}
  130.   SNL = 'Application is not licensed to use this feature';
  131.  
  132.   SShortMonthNameJan = 'Jan';
  133.   SShortMonthNameFeb = 'Feb';
  134.   SShortMonthNameMar = 'Mar';
  135.   SShortMonthNameApr = 'Apr';
  136.   SShortMonthNameMay = 'May';
  137.   SShortMonthNameJun = 'Jun';
  138.   SShortMonthNameJul = 'Jul';
  139.   SShortMonthNameAug = 'Aug';
  140.   SShortMonthNameSep = 'Sep';
  141.   SShortMonthNameOct = 'Oct';
  142.   SShortMonthNameNov = 'Nov';
  143.   SShortMonthNameDec = 'Dec';
  144.  
  145.   SLongMonthNameJan = 'January';
  146.   SLongMonthNameFeb = 'February';
  147.   SLongMonthNameMar = 'March';
  148.   SLongMonthNameApr = 'April';
  149.   SLongMonthNameMay = 'May';
  150.   SLongMonthNameJun = 'June';
  151.   SLongMonthNameJul = 'July';
  152.   SLongMonthNameAug = 'August';
  153.   SLongMonthNameSep = 'September';
  154.   SLongMonthNameOct = 'October';
  155.   SLongMonthNameNov = 'November';
  156.   SLongMonthNameDec = 'December';
  157.  
  158.   SShortDayNameSun = 'Sun';
  159.   SShortDayNameMon = 'Mon';
  160.   SShortDayNameTue = 'Tue';
  161.   SShortDayNameWed = 'Wed';
  162.   SShortDayNameThu = 'Thu';
  163.   SShortDayNameFri = 'Fri';
  164.   SShortDayNameSat = 'Sat';
  165.  
  166.   SLongDayNameSun = 'Sunday';
  167.   SLongDayNameMon = 'Monday';
  168.   SLongDayNameTue = 'Tuesday';
  169.   SLongDayNameWed = 'Wednesday';
  170.   SLongDayNameThu = 'Thursday';
  171.   SLongDayNameFri = 'Friday';
  172.   SLongDayNameSat = 'Saturday';
  173.  
  174. {$IFDEF LINUX}
  175.   SEraEntries = '';
  176. {$ENDIF}
  177.  
  178.   SCannotCreateDir = 'Unable to create directory';
  179.   SCodesetConversionError = 'Codeset conversion failure';
  180.  
  181. implementation
  182.  
  183. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement