Componentes.Terceros.DevExp.../internal/x.42/1/ExpressEditors Library 5/Sources/cxEditConsts.pas
2009-03-03 12:07:07 +00:00

291 lines
17 KiB
ObjectPascal

{********************************************************************}
{ }
{ Developer Express Visual Component Library }
{ ExpressEditors }
{ }
{ Copyright (c) 1998-2009 Developer Express Inc. }
{ ALL RIGHTS RESERVED }
{ }
{ The entire contents of this file is protected by U.S. and }
{ International Copyright Laws. Unauthorized reproduction, }
{ reverse-engineering, and distribution of all or any portion of }
{ the code contained in this file is strictly prohibited and may }
{ result in severe civil and criminal penalties and will be }
{ prosecuted to the maximum extent possible under the law. }
{ }
{ RESTRICTIONS }
{ }
{ THIS SOURCE CODE AND ALL RESULTING INTERMEDIATE FILES }
{ (DCU, OBJ, DLL, ETC.) ARE CONFIDENTIAL AND PROPRIETARY TRADE }
{ SECRETS OF DEVELOPER EXPRESS INC. THE REGISTERED DEVELOPER IS }
{ LICENSED TO DISTRIBUTE THE EXPRESSEDITORS AND ALL }
{ ACCOMPANYING VCL CONTROLS AS PART OF AN EXECUTABLE PROGRAM ONLY. }
{ }
{ THE SOURCE CODE CONTAINED WITHIN THIS FILE AND ALL RELATED }
{ FILES OR ANY PORTION OF ITS CONTENTS SHALL AT NO TIME BE }
{ COPIED, TRANSFERRED, SOLD, DISTRIBUTED, OR OTHERWISE MADE }
{ AVAILABLE TO OTHER INDIVIDUALS WITHOUT EXPRESS WRITTEN CONSENT }
{ AND PERMISSION FROM DEVELOPER EXPRESS INC. }
{ }
{ CONSULT THE END USER LICENSE AGREEMENT FOR INFORMATION ON }
{ ADDITIONAL RESTRICTIONS. }
{ }
{********************************************************************}
unit cxEditConsts;
{$I cxVer.inc}
interface
resourcestring
cxSEditButtonCancel = 'Cancel';
cxSEditButtonOK = 'OK';
cxSEditDateConvertError = 'Could not convert to date';
cxSEditInvalidRepositoryItem = 'The repository item is not acceptable';
cxSEditNumericValueConvertError = 'Could not convert to numeric value';
cxSEditPopupCircularReferencingError = 'Circular referencing is not allowed';
cxSEditPostError = 'An error occured during posting edit value';
cxSEditTimeConvertError = 'Could not convert to time';
cxSEditValidateErrorText = 'Invalid input value. Use escape key to abandon changes';
cxSEditValueOutOfBounds = 'Value out of bounds';
// TODO
cxSEditCheckBoxChecked = 'True';
cxSEditCheckBoxGrayed = '';
cxSEditCheckBoxUnchecked = 'False';
cxSRadioGroupDefaultCaption = '';
cxSTextTrue = 'True';
cxSTextFalse = 'False';
// blob
cxSBlobButtonOK = '&OK';
cxSBlobButtonCancel = '&Cancel';
cxSBlobButtonClose = '&Close';
cxSBlobMemo = '(MEMO)';
cxSBlobMemoEmpty = '(memo)';
cxSBlobPicture = '(PICTURE)';
cxSBlobPictureEmpty = '(picture)';
// popup menu items
cxSMenuItemCaptionCut = 'Cu&t';
cxSMenuItemCaptionCopy = '&Copy';
cxSMenuItemCaptionPaste = '&Paste';
cxSMenuItemCaptionDelete = '&Delete';
cxSMenuItemCaptionLoad = '&Load...';
cxSMenuItemCaptionSave = 'Save &As...';
// date
cxSDatePopupClear = 'Clear';
cxSDatePopupNow = 'Now';
cxSDatePopupOK = 'OK';
cxSDatePopupToday = 'Today';
cxSDateError = 'Invalid Date';
// calculator
scxSCalcError = 'Error';
// HyperLink
scxSHyperLinkPrefix = 'http://';
scxSHyperLinkDoubleSlash = '//';
// navigator
cxNavigatorHint_First = 'First record';
cxNavigatorHint_Prior = 'Prior record';
cxNavigatorHint_PriorPage = 'Prior page';
cxNavigatorHint_Next = 'Next record';
cxNavigatorHint_NextPage = 'Next page';
cxNavigatorHint_Last = 'Last record';
cxNavigatorHint_Insert = 'Insert record';
cxNavigatorHint_Append = 'Append record';
cxNavigatorHint_Delete = 'Delete record';
cxNavigatorHint_Edit = 'Edit record';
cxNavigatorHint_Post = 'Post edit';
cxNavigatorHint_Cancel = 'Cancel edit';
cxNavigatorHint_Refresh = 'Refresh data';
cxNavigatorHint_SaveBookmark = 'Save Bookmark';
cxNavigatorHint_GotoBookmark = 'Goto Bookmark';
cxNavigatorHint_Filter = 'Filter data';
cxNavigator_DeleteRecordQuestion = 'Delete record?';
// edit repository
scxSEditRepositoryBlobItem = 'BlobEdit|Represents the BLOB editor';
scxSEditRepositoryButtonItem = 'ButtonEdit|Represents an edit control with embedded buttons';
scxSEditRepositoryCalcItem = 'CalcEdit|Represents an edit control with a dropdown calculator window';
scxSEditRepositoryCheckBoxItem = 'CheckBox|Represents a check box control that allows selecting an option';
scxSEditRepositoryComboBoxItem = 'ComboBox|Represents the combo box editor';
scxSEditRepositoryCurrencyItem = 'CurrencyEdit|Represents an editor enabling editing currency data';
scxSEditRepositoryDateItem = 'DateEdit|Represents an edit control with a dropdown calendar';
scxSEditRepositoryHyperLinkItem = 'HyperLink|Represents a text editor with hyperlink functionality';
scxSEditRepositoryImageComboBoxItem = 'ImageComboBox|Represents an editor displaying the list of images and text strings within the dropdown window';
scxSEditRepositoryImageItem = 'Image|Represents an image editor';
scxSEditRepositoryLookupComboBoxItem = 'LookupComboBox|Represents a lookup combo box control';
scxSEditRepositoryMaskItem = 'MaskEdit|Represents a generic masked edit control.';
scxSEditRepositoryMemoItem = 'Memo|Represents an edit control that allows editing memo data';
scxSEditRepositoryMRUItem = 'MRUEdit|Represents a text editor displaying the list of most recently used items (MRU) within a dropdown window';
scxSEditRepositoryPopupItem = 'PopupEdit|Represents an edit control with a dropdown list';
scxSEditRepositorySpinItem = 'SpinEdit|Represents a spin editor';
scxSEditRepositoryRadioGroupItem = 'RadioGroup|Represents a group of radio buttons';
scxSEditRepositoryTextItem = 'TextEdit|Represents a single line text editor';
scxSEditRepositoryTimeItem = 'TimeEdit|Represents an editor displaying time values';
scxRegExprLine = 'Line';
scxRegExprChar = 'Char';
scxRegExprNotAssignedSourceStream = 'The source stream is not assigned';
scxRegExprEmptySourceStream = 'The source stream is empty';
scxRegExprCantUsePlusQuantifier = 'The ''+'' quantifier cannot be applied here';
scxRegExprCantUseStarQuantifier = 'The ''*'' quantifier cannot be applied here';
scxRegExprCantCreateEmptyAlt = 'The alternative should not be empty';
scxRegExprCantCreateEmptyBlock = 'The block should not be empty';
scxRegExprIllegalSymbol = 'Illegal ''%s''';
scxRegExprIllegalQuantifier = 'Illegal quantifier ''%s''';
scxRegExprNotSupportQuantifier = 'The parameter quantifiers are not supported';
scxRegExprIllegalIntegerValue = 'Illegal integer value';
scxRegExprTooBigReferenceNumber = 'Too big reference number';
scxRegExprCantCreateEmptyEnum = 'Can''t create empty enumeration';
scxRegExprSubrangeOrder = 'The starting character of the subrange must be less than the finishing one';
scxRegExprHexNumberExpected0 = 'Hexadecimal number expected';
scxRegExprHexNumberExpected = 'Hexadecimal number expected but ''%s'' found';
scxRegExprMissing = 'Missing ''%s''';
scxRegExprUnnecessary = 'Unnecessary ''%s''';
scxRegExprIncorrectSpace = 'The space character is not allowed after ''\''';
scxRegExprNotCompiled = 'Regular expression is not compiled';
scxRegExprIncorrectParameterQuantifier = 'Incorrect parameter quantifier';
scxRegExprCantUseParameterQuantifier = 'The parameter quantifier cannot be applied here';
scxMaskEditRegExprError = 'Regular expression errors:';
scxMaskEditInvalidEditValue = 'The edit value is invalid';
scxMaskEditNoMask = 'None';
scxMaskEditIllegalFileFormat = 'Illegal file format';
scxMaskEditEmptyMaskCollectionFile = 'The mask collection file is empty';
scxMaskEditMaskCollectionFiles = 'Mask collection files';
cxSSpinEditInvalidNumericValue = 'Invalid numeric value';
implementation
uses
dxCore;
procedure AddEditorsResourceStringNames(AProduct: TdxProductResourceStrings);
procedure InternalAdd(const AResourceStringName: string; AAdress: Pointer);
begin
AProduct.Add(AResourceStringName, AAdress);
end;
begin
InternalAdd('cxSEditButtonCancel', @cxSEditButtonCancel);
InternalAdd('cxSEditButtonOK', @cxSEditButtonOK);
InternalAdd('cxSEditDateConvertError', @cxSEditDateConvertError);
InternalAdd('cxSEditInvalidRepositoryItem', @cxSEditInvalidRepositoryItem);
InternalAdd('cxSEditNumericValueConvertError', @cxSEditNumericValueConvertError);
InternalAdd('cxSEditPopupCircularReferencingError', @cxSEditPopupCircularReferencingError);
InternalAdd('cxSEditPostError', @cxSEditPostError);
InternalAdd('cxSEditTimeConvertError', @cxSEditTimeConvertError);
InternalAdd('cxSEditValidateErrorText', @cxSEditValidateErrorText);
InternalAdd('cxSEditValueOutOfBounds', @cxSEditValueOutOfBounds);
InternalAdd('cxSEditCheckBoxChecked', @cxSEditCheckBoxChecked);
InternalAdd('cxSEditCheckBoxGrayed', @cxSEditCheckBoxGrayed);
InternalAdd('cxSEditCheckBoxUnchecked', @cxSEditCheckBoxUnchecked);
InternalAdd('cxSRadioGroupDefaultCaption', @cxSRadioGroupDefaultCaption);
InternalAdd('cxSTextTrue', @cxSTextTrue);
InternalAdd('cxSTextFalse', @cxSTextFalse);
InternalAdd('cxSBlobButtonOK', @cxSBlobButtonOK);
InternalAdd('cxSBlobButtonCancel', @cxSBlobButtonCancel);
InternalAdd('cxSBlobButtonClose', @cxSBlobButtonClose);
InternalAdd('cxSBlobMemo', @cxSBlobMemo);
InternalAdd('cxSBlobMemoEmpty', @cxSBlobMemoEmpty);
InternalAdd('cxSBlobPicture', @cxSBlobPicture);
InternalAdd('cxSBlobPictureEmpty', @cxSBlobPictureEmpty);
InternalAdd('cxSMenuItemCaptionCut', @cxSMenuItemCaptionCut);
InternalAdd('cxSMenuItemCaptionCopy', @cxSMenuItemCaptionCopy);
InternalAdd('cxSMenuItemCaptionPaste', @cxSMenuItemCaptionPaste);
InternalAdd('cxSMenuItemCaptionDelete', @cxSMenuItemCaptionDelete);
InternalAdd('cxSMenuItemCaptionLoad', @cxSMenuItemCaptionLoad);
InternalAdd('cxSMenuItemCaptionSave', @cxSMenuItemCaptionSave);
InternalAdd('cxSDatePopupClear', @cxSDatePopupClear);
InternalAdd('cxSDatePopupNow', @cxSDatePopupNow);
InternalAdd('cxSDatePopupOK', @cxSDatePopupOK);
InternalAdd('cxSDatePopupToday', @cxSDatePopupToday);
InternalAdd('cxSDateError', @cxSDateError);
InternalAdd('scxSCalcError', @scxSCalcError);
InternalAdd('scxSHyperLinkPrefix', @scxSHyperLinkPrefix);
InternalAdd('scxSHyperLinkDoubleSlash', @scxSHyperLinkDoubleSlash);
InternalAdd('cxNavigatorHint_First', @cxNavigatorHint_First);
InternalAdd('cxNavigatorHint_Prior', @cxNavigatorHint_Prior);
InternalAdd('cxNavigatorHint_PriorPage', @cxNavigatorHint_PriorPage);
InternalAdd('cxNavigatorHint_Next', @cxNavigatorHint_Next);
InternalAdd('cxNavigatorHint_NextPage', @cxNavigatorHint_NextPage);
InternalAdd('cxNavigatorHint_Last', @cxNavigatorHint_Last);
InternalAdd('cxNavigatorHint_Insert', @cxNavigatorHint_Insert);
InternalAdd('cxNavigatorHint_Append', @cxNavigatorHint_Append);
InternalAdd('cxNavigatorHint_Delete', @cxNavigatorHint_Delete);
InternalAdd('cxNavigatorHint_Edit', @cxNavigatorHint_Edit);
InternalAdd('cxNavigatorHint_Post', @cxNavigatorHint_Post);
InternalAdd('cxNavigatorHint_Cancel', @cxNavigatorHint_Cancel);
InternalAdd('cxNavigatorHint_Refresh', @cxNavigatorHint_Refresh);
InternalAdd('cxNavigatorHint_SaveBookmark', @cxNavigatorHint_SaveBookmark);
InternalAdd('cxNavigatorHint_GotoBookmark', @cxNavigatorHint_GotoBookmark);
InternalAdd('cxNavigatorHint_Filter', @cxNavigatorHint_Filter);
InternalAdd('cxNavigator_DeleteRecordQuestion', @cxNavigator_DeleteRecordQuestion);
InternalAdd('scxSEditRepositoryBlobItem', @scxSEditRepositoryBlobItem);
InternalAdd('scxSEditRepositoryButtonItem', @scxSEditRepositoryButtonItem);
InternalAdd('scxSEditRepositoryCalcItem', @scxSEditRepositoryCalcItem);
InternalAdd('scxSEditRepositoryCheckBoxItem', @scxSEditRepositoryCheckBoxItem);
InternalAdd('scxSEditRepositoryComboBoxItem', @scxSEditRepositoryComboBoxItem);
InternalAdd('scxSEditRepositoryCurrencyItem', @scxSEditRepositoryCurrencyItem);
InternalAdd('scxSEditRepositoryDateItem', @scxSEditRepositoryDateItem);
InternalAdd('scxSEditRepositoryHyperLinkItem', @scxSEditRepositoryHyperLinkItem);
InternalAdd('scxSEditRepositoryImageComboBoxItem', @scxSEditRepositoryImageComboBoxItem);
InternalAdd('scxSEditRepositoryImageItem', @scxSEditRepositoryImageItem);
InternalAdd('scxSEditRepositoryLookupComboBoxItem', @scxSEditRepositoryLookupComboBoxItem);
InternalAdd('scxSEditRepositoryMaskItem', @scxSEditRepositoryMaskItem);
InternalAdd('scxSEditRepositoryMemoItem', @scxSEditRepositoryMemoItem);
InternalAdd('scxSEditRepositoryMRUItem', @scxSEditRepositoryMRUItem);
InternalAdd('scxSEditRepositoryPopupItem', @scxSEditRepositoryPopupItem);
InternalAdd('scxSEditRepositorySpinItem', @scxSEditRepositorySpinItem);
InternalAdd('scxSEditRepositoryRadioGroupItem', @scxSEditRepositoryRadioGroupItem);
InternalAdd('scxSEditRepositoryTextItem', @scxSEditRepositoryTextItem);
InternalAdd('scxSEditRepositoryTimeItem', @scxSEditRepositoryTimeItem);
InternalAdd('scxRegExprLine', @scxRegExprLine);
InternalAdd('scxRegExprChar', @scxRegExprChar);
InternalAdd('scxRegExprNotAssignedSourceStream', @scxRegExprNotAssignedSourceStream);
InternalAdd('scxRegExprEmptySourceStream', @scxRegExprEmptySourceStream);
InternalAdd('scxRegExprCantUsePlusQuantifier', @scxRegExprCantUsePlusQuantifier);
InternalAdd('scxRegExprCantUseStarQuantifier', @scxRegExprCantUseStarQuantifier);
InternalAdd('scxRegExprCantCreateEmptyAlt', @scxRegExprCantCreateEmptyAlt);
InternalAdd('scxRegExprCantCreateEmptyBlock', @scxRegExprCantCreateEmptyBlock);
InternalAdd('scxRegExprIllegalSymbol', @scxRegExprIllegalSymbol);
InternalAdd('scxRegExprIllegalQuantifier', @scxRegExprIllegalQuantifier);
InternalAdd('scxRegExprNotSupportQuantifier', @scxRegExprNotSupportQuantifier);
InternalAdd('scxRegExprIllegalIntegerValue', @scxRegExprIllegalIntegerValue);
InternalAdd('scxRegExprTooBigReferenceNumber', @scxRegExprTooBigReferenceNumber);
InternalAdd('scxRegExprCantCreateEmptyEnum', @scxRegExprCantCreateEmptyEnum);
InternalAdd('scxRegExprSubrangeOrder', @scxRegExprSubrangeOrder);
InternalAdd('scxRegExprHexNumberExpected0', @scxRegExprHexNumberExpected0);
InternalAdd('scxRegExprHexNumberExpected', @scxRegExprHexNumberExpected);
InternalAdd('scxRegExprMissing', @scxRegExprMissing);
InternalAdd('scxRegExprUnnecessary', @scxRegExprUnnecessary);
InternalAdd('scxRegExprIncorrectSpace', @scxRegExprIncorrectSpace);
InternalAdd('scxRegExprNotCompiled', @scxRegExprNotCompiled);
InternalAdd('scxRegExprIncorrectParameterQuantifier', @scxRegExprIncorrectParameterQuantifier);
InternalAdd('scxRegExprCantUseParameterQuantifier', @scxRegExprCantUseParameterQuantifier);
InternalAdd('scxMaskEditRegExprError', @scxMaskEditRegExprError);
InternalAdd('scxMaskEditInvalidEditValue', @scxMaskEditInvalidEditValue);
InternalAdd('scxMaskEditNoMask', @scxMaskEditNoMask);
InternalAdd('scxMaskEditIllegalFileFormat', @scxMaskEditIllegalFileFormat);
InternalAdd('scxMaskEditEmptyMaskCollectionFile', @scxMaskEditEmptyMaskCollectionFile);
InternalAdd('scxMaskEditMaskCollectionFiles', @scxMaskEditMaskCollectionFiles);
InternalAdd('cxSSpinEditInvalidNumericValue', @cxSSpinEditInvalidNumericValue);
end;
initialization
dxResourceStringsRepository.RegisterProduct('ExpressEditors Library', @AddEditorsResourceStringNames);
finalization
dxResourceStringsRepository.UnRegisterProduct('ExpressEditors Library');
end.