/Gedemin/IBX/IBXConst.pas

http://gedemin.googlecode.com/ · Pascal · 347 lines · 293 code · 16 blank · 38 comment · 0 complexity · a749372b75da110286009133ef3814bd MD5 · raw file

  1. {************************************************************************}
  2. { }
  3. { Borland Delphi Visual Component Library }
  4. { InterBase Express core components }
  5. { }
  6. { Copyright (c) 1998-2001 Borland Software Corporation }
  7. { }
  8. { InterBase Express is based in part on the product }
  9. { Free IB Components, written by Gregory H. Deatz for }
  10. { Hoagland, Longo, Moran, Dunst & Doukas Company. }
  11. { Free IB Components is used under license. }
  12. { }
  13. { The contents of this file are subject to the InterBase }
  14. { Public License Version 1.0 (the "License"); you may not }
  15. { use this file except in compliance with the License. You may obtain }
  16. { a copy of the License at http://www.borland.com/interbase/IPL.html }
  17. { Software distributed under the License is distributed on }
  18. { an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either }
  19. { express or implied. See the License for the specific language }
  20. { governing rights and limitations under the License. }
  21. { The Original Code was created by InterBase Software Corporation }
  22. { and its successors. }
  23. { Portions created by Borland Software Corporation are Copyright }
  24. { (C) Borland Software Corporation. All Rights Reserved. }
  25. { Contributor(s): Jeff Overcash }
  26. { }
  27. {************************************************************************}
  28. unit IBXConst;
  29. interface
  30. uses IBUtils;
  31. const
  32. // IBX_Version = 5.03;
  33. IBX_Version = 5.033;
  34. resourcestring
  35. {$IFDEF GD_LOC_RUS}
  36. { generic strings used in code }
  37. SIBDatabaseEditor = 'Da&tabase Editor...';
  38. SIBTransactionEditor = '&Transaction Editor...';
  39. SDatabaseFilter = 'Database Files (*.gdb)|*.gdb|All files (*.*)|*.*';
  40. SDisconnectDatabase = 'Database is currently connected. Disconnect and continue?';
  41. SCommitTransaction = 'Transaction is currently Active. Rollback and continue?';
  42. SExecute = 'E&xecute';
  43. SNoDataSet = 'No dataset association';
  44. SSQLGenSelect = 'Must select at least one key field and one update field';
  45. SSQLNotGenerated = 'Update SQL statements not generated, exit anyway?';
  46. SIBUpdateSQLEditor = '&UpdateSQL Editor...';
  47. SIBDataSetEditor = '&Dataset Editor...';
  48. SSQLDataSetOpen = 'Unable to determine field names for %s';
  49. SDefaultTransaction = '%s, Default';
  50. { strings used in error messages}
  51. SUnknownError = '??????????? ??????';
  52. //!!!
  53. //SInterBaseMissing = 'InterBase library gds32.dll not found in the path. Please install InterBase to use this functionality';
  54. SInterBaseMissing = 'InterBase library gds32.dll or fbclient.dll not found in the path. Please install InterBase to use this functionality';
  55. //!!!
  56. SInterBaseInstallMissing = 'InterBase Install DLL ibinstall.dll not found in the path. Please install InterBase 6 to use this functionality';
  57. SIB60feature = '%s is an InterBase 6 function. Please upgrade to InterBase 6 to use this functonality';
  58. SNotSupported = 'Not supported';
  59. SNotPermitted = 'Not permitted';
  60. SFileAccessError = 'Temporary file access error';
  61. SConnectionTimeout = 'Database connection timed out';
  62. SCannotSetDatabase = 'Cannot set database';
  63. SCannotSetTransaction = 'Cannot set transaction';
  64. SOperationCancelled = 'Operation cancelled at user''s request';
  65. SDPBConstantNotSupported = 'DPB Constant (isc_dpb_%s) is unsupported';
  66. SDPBConstantUnknown = 'DPB Constant (%d) is unknown';
  67. STPBConstantNotSupported = 'TPB Constant (isc_tpb_%s) is unsupported';
  68. STPBConstantUnknown = 'TPB Constant (%d) is unknown';
  69. SDatabaseClosed = '?????????? ????????? ???????? -- ?? ?? ???????!';//'Cannot perform operation -- DB is not open';
  70. SDatabaseOpen = '?????????? ????????? ???????? -- ?? ??? ???????!';//'Cannot perform operation -- DB is currently open';
  71. SDatabaseNameMissing = '????????? ??? ???? ??????';
  72. SNotInTransaction = '?????????? ?? ???????';
  73. SInTransaction = '?????????? ???????';
  74. STimeoutNegative = 'Timeout values cannot be negative';
  75. SNoDatabasesInTransaction = '?? ??????? ???? ?????? ??? ?????????? ??????????';
  76. SUpdateWrongDB = 'Updating wrong database';
  77. SUpdateWrongTR = 'Updating wrong transaction. Unique transaction expected in set';
  78. SDatabaseNotAssigned = '?? ??????? ???? ??????!';//'Database not assigned';
  79. STransactionNotAssigned = '?????????? ?? ?????????';
  80. SXSQLDAIndexOutOfRange = 'XSQLDA index out of range';
  81. SXSQLDANameDoesNotExist = 'XSQLDA name does not exist (%s)';
  82. SEOF = '????? ?????';
  83. SBOF = '?????? ?????';
  84. SInvalidStatementHandle = 'Invalid statement handle';
  85. SSQLOpen = 'IBSQL Open';
  86. SSQLClosed = 'IBSQL Closed';
  87. SDatasetOpen = 'Dataset open';
  88. SDatasetClosed = 'Dataset closed';
  89. SUnknownSQLDataType = 'Unknown SQL Data type (%d)';
  90. SInvalidColumnIndex = 'Invalid column index (index exceeds permitted range)';
  91. SInvalidParamColumnIndex = 'Invalid parameter index (index exceeds permitted range)';
  92. SInvalidDataConversion = '???????????? ?????????????? ??????!';//'Invalid data conversion';
  93. SColumnIsNotNullable = 'Column cannot be set to null (%s)';
  94. SBlobCannotBeRead = 'Blob stream cannot be read';
  95. SBlobCannotBeWritten = 'Blob stream cannot be written';
  96. SEmptyQuery = '?????? ??????';
  97. SCannotOpenNonSQLSelect = 'Cannot "open" a non-select statement. Use ExecQuery';
  98. SNoFieldAccess = '??? ??????? ? ???? "%s"';
  99. SFieldReadOnly = '???? "%s" ?????? ??? ??????';
  100. SFieldNotFound = '???? "%s" ?? ???????';
  101. SNotEditing = '?? ? ?????? ??????????????';
  102. SCannotInsert = 'Cannot insert into dataset. (No insert query)';
  103. SCannotPost = 'Cannot post. (No update/insert query)';
  104. SCannotUpdate = 'Cannot update. (No update query)';
  105. SCannotDelete = 'Cannot delete from dataset. (No delete query)';
  106. SCannotRefresh = '?????????? ???????? ??????. (??????????? ?????? ??? ??????????)';
  107. SBufferNotSet = '????? ?? ??????????';
  108. SCircularReference = '??????????? ?????? ?? ?????????!';//'Circular references not permitted';
  109. SSQLParseError = '?????? ??????? SQL:' + CRLF + CRLF + '%s';
  110. SUserAbort = 'User abort';
  111. SDataSetUniDirectional = 'Data set is uni-directional';
  112. SCannotCreateSharedResource = 'Cannot create shared resource. (Windows error %d)';
  113. SWindowsAPIError = 'Windows API error. (Windows error %d [$%.8x])';
  114. SColumnListsDontMatch = 'Column lists do not match';
  115. SColumnTypesDontMatch = 'Column types don''t match. (From index: %d; To index: %d)';
  116. SCantEndSharedTransaction = 'Can''t end a shared transaction unless it is forced and equal ' +
  117. 'to the transaction''s TimeoutAction';
  118. SFieldUnsupportedType = '???????????????? ??? ????';
  119. SCircularDataLink = 'Circular DataLink Reference';
  120. SEmptySQLStatement = '?????? SQL ??????';
  121. SIsASelectStatement = 'use Open for a Select Statement';
  122. SRequiredParamNotSet = 'Required Param value not set';
  123. SNoStoredProcName = 'No Stored Procedure Name assigned';
  124. SIsAExecuteProcedure = 'use ExecProc for Procedure; use TQuery for Select procedures';
  125. SUpdateFailed = 'Update Failed';
  126. SNotCachedUpdates = 'CachedUpdates not enabled';
  127. SNotLiveRequest = 'Request is not live - cannot modify';
  128. SNoProvider = 'No Provider';
  129. SNoRecordsAffected = 'No Records Affected';
  130. SNoTableName = '?? ????????? ??? ???????';
  131. SCannotCreatePrimaryIndex = 'Cannot Create Primary Index; are created automatically';
  132. SCannotDropSystemIndex = '?????????? ??????? ????????? ??????';
  133. STableNameMismatch = 'Table Name Mismatch';
  134. SIndexFieldMissing = '????????? ????????? ????';
  135. SInvalidCancellation = 'Cannot Cancel events while processing';
  136. SInvalidEvent = '???????? ???????';
  137. SMaximumEvents = 'Exceded Maximum Event limits';
  138. SNoEventsRegistered = 'No Events Registered';
  139. SInvalidQueueing = 'Invalid Queueing';
  140. SInvalidRegistration = '???????? ???????????';
  141. SInvalidBatchMove = 'Invalid Batch Move';
  142. SSQLDialectInvalid = 'SQL Dialect Invalid';
  143. SSPBConstantNotSupported = 'SPB Constant Not supported';
  144. SSPBConstantUnknown = 'SPB Constant Unknown';
  145. SServiceActive = 'Cannot perform operation -- service is not attached';
  146. SServiceInActive = 'Cannot perform operation -- service is attached';
  147. SServerNameMissing = '????????? ??? ???????';
  148. SQueryParamsError = 'Query Parameters missing or incorrect';
  149. SStartParamsError = 'start Parameters missing or incorrect';
  150. SOutputParsingError = 'Unexpected Output buffer value';
  151. SUseSpecificProcedures = 'Generic ServiceStart not applicable: Use Specific Procedures to set configuration params';
  152. SSQLMonitorAlreadyPresent = 'SQL Monitor Instance is already present';
  153. SCantPrintValue = '?????????? ??????????? ????????';
  154. SEOFReached = 'SEOFReached';
  155. SEOFInComment = 'EOF in comment detected';
  156. SEOFInString = 'EOF in string detected';
  157. SParamNameExpected = 'Parameter name expected';
  158. SSuccess = '???????? ??????????';
  159. SDelphiException = '?????????? Delphi %s';
  160. SNoOptionsSet = 'No Install Options selected';
  161. SNoDestinationDirectory = 'DestinationDirectory is not set';
  162. SNosourceDirectory = 'SourceDirectory is not set';
  163. SNoUninstallFile = 'Uninstall File Name is not set';
  164. SOptionNeedsClient = '%s component requires Client to function properly';
  165. SOptionNeedsServer = '%s component requires Server to function properly';
  166. SInvalidOption = '??????? ???????????? ?????';
  167. SInvalidOnErrorResult = 'Unexpected onError return value';
  168. SInvalidOnStatusResult = 'Unexpected onStatus return value';
  169. SInterbaseExpressVersion = 'InterbaseExpress 5.3';
  170. SEditSQL = 'Edit SQL';
  171. SDPBConstantUnknownEx = 'DPB Constant (%s) is unknown';
  172. STPBConstantUnknownEx = 'TPB Constant (%s) is unknown';
  173. SInterbaseExpressVersionEx = 'InterbaseExpress %g';
  174. SUnknownPlan = 'Unknown Error - Can''t retrieve plan';
  175. SFieldSizeMismatch = 'Size Mismatch - Field %s size is too small for data';
  176. SEventAlreadyRegistered = '??????? ??? ????????????????';
  177. SStringTooLarge = 'Trying to store a string of length %d into a field that can only contain %d';
  178. SIBServiceEditor = '&Service Editor ...';
  179. SIBSuccessConnect = '???????? ???????????';
  180. SNoTimers = 'Not enough timers available';
  181. SIB65feature = '%s is an InterBase 6.5 function. Please upgrade to InterBase 6.5 to use this functonality';
  182. SLoginPromptFailure = 'Can not find default login prompt dialog. Please add DBLogDlg to the uses section of your main file.';
  183. SIBMemoryError = '???????????? ??????';
  184. {$ELSE}
  185. { generic strings used in code }
  186. SIBDatabaseEditor = 'Da&tabase Editor...';
  187. SIBTransactionEditor = '&Transaction Editor...';
  188. SDatabaseFilter = 'Database Files (*.gdb)|*.gdb|All files (*.*)|*.*';
  189. SDisconnectDatabase = 'Database is currently connected. Disconnect and continue?';
  190. SCommitTransaction = 'Transaction is currently Active. Rollback and continue?';
  191. SExecute = 'E&xecute';
  192. SNoDataSet = 'No dataset association';
  193. SSQLGenSelect = 'Must select at least one key field and one update field';
  194. SSQLNotGenerated = 'Update SQL statements not generated, exit anyway?';
  195. SIBUpdateSQLEditor = '&UpdateSQL Editor...';
  196. SIBDataSetEditor = '&Dataset Editor...';
  197. SSQLDataSetOpen = 'Unable to determine field names for %s';
  198. SDefaultTransaction = '%s, Default';
  199. { strings used in error messages}
  200. SUnknownError = 'Unknown error';
  201. SInterBaseMissing = 'InterBase library gds32.dll not found in the path. Please install InterBase to use this functionality';
  202. SInterBaseInstallMissing = 'InterBase Install DLL ibinstall.dll not found in the path. Please install InterBase 6 to use this functionality';
  203. SIB60feature = '%s is an InterBase 6 function. Please upgrade to InterBase 6 to use this functonality';
  204. SNotSupported = 'Unsupported feature';
  205. SNotPermitted = 'Not permitted';
  206. SFileAccessError = 'Temporary file access error';
  207. SConnectionTimeout = 'Database connection timed out';
  208. SCannotSetDatabase = 'Cannot set database';
  209. SCannotSetTransaction = 'Cannot set transaction';
  210. SOperationCancelled = 'Operation cancelled at user''s request';
  211. SDPBConstantNotSupported = 'DPB Constant (isc_dpb_%s) is unsupported';
  212. SDPBConstantUnknown = 'DPB Constant (%d) is unknown';
  213. STPBConstantNotSupported = 'TPB Constant (isc_tpb_%s) is unsupported';
  214. STPBConstantUnknown = 'TPB Constant (%d) is unknown';
  215. SDatabaseClosed = 'Cannot perform operation -- DB is not open';
  216. SDatabaseOpen = 'Cannot perform operation -- DB is currently open';
  217. SDatabaseNameMissing = 'Database name is missing';
  218. SNotInTransaction = 'Transaction is not active';
  219. SInTransaction = 'Transaction is active';
  220. STimeoutNegative = 'Timeout values cannot be negative';
  221. SNoDatabasesInTransaction = 'No databases are listed in transaction component';
  222. SUpdateWrongDB = 'Updating wrong database';
  223. SUpdateWrongTR = 'Updating wrong transaction. Unique transaction expected in set';
  224. SDatabaseNotAssigned = 'Database not assigned';
  225. STransactionNotAssigned = 'Transaction not assigned';
  226. SXSQLDAIndexOutOfRange = 'XSQLDA index out of range';
  227. SXSQLDANameDoesNotExist = 'XSQLDA name does not exist (%s)';
  228. SEOF = 'End of file';
  229. SBOF = 'Beginning of file';
  230. SInvalidStatementHandle = 'Invalid statement handle';
  231. SSQLOpen = 'IBSQL Open';
  232. SSQLClosed = 'IBSQL Closed';
  233. SDatasetOpen = 'Dataset open';
  234. SDatasetClosed = 'Dataset closed';
  235. SUnknownSQLDataType = 'Unknown SQL Data type (%d)';
  236. SInvalidColumnIndex = 'Invalid column index (index exceeds permitted range)';
  237. SInvalidParamColumnIndex = 'Invalid parameter index (index exceeds permitted range)';
  238. SInvalidDataConversion = 'Invalid data conversion';
  239. SColumnIsNotNullable = 'Column cannot be set to null (%s)';
  240. SBlobCannotBeRead = 'Blob stream cannot be read';
  241. SBlobCannotBeWritten = 'Blob stream cannot be written';
  242. SEmptyQuery = 'Empty query';
  243. SCannotOpenNonSQLSelect = 'Cannot "open" a non-select statement. Use ExecQuery';
  244. SNoFieldAccess = 'No access to field "%s"';
  245. SFieldReadOnly = 'Field "%s" is read-only';
  246. SFieldNotFound = 'Field "%s" not found';
  247. SNotEditing = 'Not in edit mode';
  248. SCannotInsert = 'Cannot insert into dataset. (No insert query)';
  249. SCannotPost = 'Cannot post. (No update/insert query)';
  250. SCannotUpdate = 'Cannot update. (No update query)';
  251. SCannotDelete = 'Cannot delete from dataset. (No delete query)';
  252. SCannotRefresh = 'Cannot refresh row. (No refresh query)';
  253. SBufferNotSet = 'Buffer not set';
  254. SCircularReference = 'Circular references not permitted';
  255. SSQLParseError = 'SQL Parse Error:' + CRLF + CRLF + '%s';
  256. SUserAbort = 'User abort';
  257. SDataSetUniDirectional = 'Data set is uni-directional';
  258. SCannotCreateSharedResource = 'Cannot create shared resource. (Windows error %d)';
  259. SWindowsAPIError = 'Windows API error. (Windows error %d [$%.8x])';
  260. SColumnListsDontMatch = 'Column lists do not match';
  261. SColumnTypesDontMatch = 'Column types don''t match. (From index: %d; To index: %d)';
  262. SCantEndSharedTransaction = 'Can''t end a shared transaction unless it is forced and equal ' +
  263. 'to the transaction''s TimeoutAction';
  264. SFieldUnsupportedType = 'Unsupported Field Type';
  265. SCircularDataLink = 'Circular DataLink Reference';
  266. SEmptySQLStatement = 'Empty SQL Statement';
  267. SIsASelectStatement = 'use Open for a Select Statement';
  268. SRequiredParamNotSet = 'Required Param value not set';
  269. SNoStoredProcName = 'No Stored Procedure Name assigned';
  270. SIsAExecuteProcedure = 'use ExecProc for Procedure; use TQuery for Select procedures';
  271. SUpdateFailed = 'Update Failed';
  272. SNotCachedUpdates = 'CachedUpdates not enabled';
  273. SNotLiveRequest = 'Request is not live - cannot modify';
  274. SNoProvider = 'No Provider';
  275. SNoRecordsAffected = 'No Records Affected';
  276. SNoTableName = 'No Table Name assigned';
  277. SCannotCreatePrimaryIndex = 'Cannot Create Primary Index; are created automatically';
  278. SCannotDropSystemIndex = 'Cannot Drop System Index';
  279. STableNameMismatch = 'Table Name Mismatch';
  280. SIndexFieldMissing = 'Index Field Missing';
  281. SInvalidCancellation = 'Cannot Cancel events while processing';
  282. SInvalidEvent = 'Invalid Event';
  283. SMaximumEvents = 'Exceded Maximum Event limits';
  284. SNoEventsRegistered = 'No Events Registered';
  285. SInvalidQueueing = 'Invalid Queueing';
  286. SInvalidRegistration = 'Invalid Registration';
  287. SInvalidBatchMove = 'Invalid Batch Move';
  288. SSQLDialectInvalid = 'SQL Dialect Invalid';
  289. SSPBConstantNotSupported = 'SPB Constant Not supported';
  290. SSPBConstantUnknown = 'SPB Constant Unknown';
  291. SServiceActive = 'Cannot perform operation -- service is not attached';
  292. SServiceInActive = 'Cannot perform operation -- service is attached';
  293. SServerNameMissing = 'Server Name Missing';
  294. SQueryParamsError = 'Query Parameters missing or incorrect';
  295. SStartParamsError = 'start Parameters missing or incorrect';
  296. SOutputParsingError = 'Unexpected Output buffer value';
  297. SUseSpecificProcedures = 'Generic ServiceStart not applicable: Use Specific Procedures to set configuration params';
  298. SSQLMonitorAlreadyPresent = 'SQL Monitor Instance is already present';
  299. SCantPrintValue = 'Cannot print value';
  300. SEOFReached = 'SEOFReached';
  301. SEOFInComment = 'EOF in comment detected';
  302. SEOFInString = 'EOF in string detected';
  303. SParamNameExpected = 'Parameter name expected';
  304. SSuccess = 'Successful execution';
  305. SDelphiException = 'DelphiException %s';
  306. SNoOptionsSet = 'No Install Options selected';
  307. SNoDestinationDirectory = 'DestinationDirectory is not set';
  308. SNosourceDirectory = 'SourceDirectory is not set';
  309. SNoUninstallFile = 'Uninstall File Name is not set';
  310. SOptionNeedsClient = '%s component requires Client to function properly';
  311. SOptionNeedsServer = '%s component requires Server to function properly';
  312. SInvalidOption = 'Invalid option specified';
  313. SInvalidOnErrorResult = 'Unexpected onError return value';
  314. SInvalidOnStatusResult = 'Unexpected onStatus return value';
  315. SInterbaseExpressVersion = 'InterbaseExpress 4.3';
  316. SEditSQL = 'Edit SQL';
  317. SDPBConstantUnknownEx = 'DPB Constant (%s) is unknown';
  318. STPBConstantUnknownEx = 'TPB Constant (%s) is unknown';
  319. SInterbaseExpressVersionEx = 'InterbaseExpress %g';
  320. SUnknownPlan = 'Unknown Error - Can''t retrieve plan';
  321. SFieldSizeMismatch = 'Size Mismatch - Field %s size is too small for data';
  322. SEventAlreadyRegistered = 'Events already registered';
  323. SStringTooLarge = 'Trying to store a string of length %d into a field that can only contain %d';
  324. SIBServiceEditor = '&Service Editor ...';
  325. SIBSuccessConnect = 'Successful Connection';
  326. SNoTimers = 'Not enough timers available';
  327. SIB65feature = '%s is an InterBase 6.5 function. Please upgrade to InterBase 6.5 to use this functonality';
  328. SIBMemoryError = 'Not enough memory';
  329. {$ENDIF}
  330. implementation
  331. end.