dbf_str.pas 1.8 KB

123456789101112131415161718192021222324252627282930313233343536
  1. unit dbf_str;
  2. interface
  3. {$I dbf_common.inc}
  4. {$I dbf_str.inc}
  5. implementation
  6. initialization
  7. STRING_FILE_NOT_FOUND := 'Open: file not found: "%s".';
  8. STRING_VERSION := 'TDbf V%d.%d';
  9. STRING_RECORD_LOCKED := 'Record locked.';
  10. STRING_WRITE_ERROR := 'Error while writing occurred. (Disk full?)';
  11. STRING_WRITE_INDEX_ERROR := 'Error while writing occurred; indexes probably corrupted. (Disk full?)';
  12. STRING_KEY_VIOLATION := 'Key violation. (Key already present in file).'+#13+#10+
  13. 'Index: %s'+#13+#10+'Record=%d Key=''%s''.';
  14. STRING_INVALID_DBF_FILE := 'Invalid DBF file.';
  15. STRING_FIELD_TOO_LONG := 'Value is too long: %d characters (it can''t be more than %d).';
  16. STRING_INVALID_FIELD_COUNT := 'Invalid field count: %d (must be between 1 and 4095).';
  17. STRING_INVALID_FIELD_TYPE := 'Invalid field type ''%s'' for field ''%s''.';
  18. STRING_INVALID_VCL_FIELD_TYPE := 'Cannot create field "%s", VCL field type %x not supported by DBF.';
  19. STRING_INDEX_BASED_ON_UNKNOWN_FIELD := 'Index based on unknown field "%s".';
  20. STRING_INDEX_BASED_ON_INVALID_FIELD := 'Field "%s" is an invalid field type to base index on.';
  21. STRING_INDEX_EXPRESSION_TOO_LONG := 'Index result for "%s" too long, >100 characters (%d).';
  22. STRING_INVALID_INDEX_TYPE := 'Invalid index type: can only be string or float.';
  23. STRING_CANNOT_OPEN_INDEX := 'Cannot open index: "%s".';
  24. STRING_TOO_MANY_INDEXES := 'Can not create index: too many indexes in file.';
  25. STRING_INDEX_NOT_EXIST := 'Index "%s" does not exist.';
  26. STRING_NEED_EXCLUSIVE_ACCESS := 'Exclusive access is required for this operation.';
  27. end.