PageRenderTime 18ms CodeModel.GetById 6ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

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