home *** CD-ROM | disk | FTP | other *** search
/ Delphi Anthology / aDELPHI.iso / Runimage / Delphi50 / Source / Vcl / consts.pas < prev    next >
Pascal/Delphi Source File  |  1999-08-11  |  15KB  |  352 lines

  1.  
  2. {*******************************************************}
  3. {                                                       }
  4. {       Borland Delphi Visual Component Library         }
  5. {                                                       }
  6. {       Copyright (c) 1995,99 Inprise Corporation       }
  7. {                                                       }
  8. {*******************************************************}
  9.  
  10. unit Consts;
  11.  
  12. interface
  13.  
  14. resourcestring
  15.   SOpenFileTitle = 'Open';
  16.   SAssignError = 'Cannot assign a %s to a %s';
  17.   SFCreateError = 'Cannot create file %s';
  18.   SFOpenError = 'Cannot open file %s';
  19.   SReadError = 'Stream read error';
  20.   SWriteError = 'Stream write error';
  21.   SMemoryStreamError = 'Out of memory while expanding memory stream';
  22.   SCantWriteResourceStreamError = 'Can''t write to a read-only resource stream';
  23.   SDuplicateReference = 'WriteObject called twice for the same instance';
  24.   SClassNotFound = 'Class %s not found';
  25.   SInvalidImage = 'Invalid stream format';
  26.   SResNotFound = 'Resource %s not found';
  27.   SClassMismatch = 'Resource %s is of incorrect class';
  28.   SListIndexError = 'List index out of bounds (%d)';
  29.   SListCapacityError = 'List capacity out of bounds (%d)';
  30.   SListCountError = 'List count out of bounds (%d)';
  31.   SSortedListError = 'Operation not allowed on sorted string list';
  32.   SDuplicateString = 'String list does not allow duplicates';
  33.   SInvalidTabIndex = 'Tab index out of bounds';
  34.   SInvalidTabPosition = 'Tab position incompatible with current tab style';
  35.   SInvalidTabStyle = 'Tab style incompatible with current tab position';
  36.   SDuplicateName = 'A component named %s already exists';
  37.   SInvalidName = '''''%s'''' is not a valid component name';
  38.   SDuplicateClass = 'A class named %s already exists';
  39.   SNoComSupport = '%s has not been registered as a COM class';
  40.   SInvalidInteger = '''''%s'''' is not a valid integer value';
  41.   SLineTooLong = 'Line too long';
  42.   SInvalidPropertyValue = 'Invalid property value';
  43.   SInvalidPropertyPath = 'Invalid property path';
  44.   SInvalidPropertyType = 'Invalid property type: %s';
  45.   SInvalidPropertyElement = 'Invalid property element: %s';
  46.   SUnknownProperty = 'Property does not exist';
  47.   SReadOnlyProperty = 'Property is read-only';
  48.   SPropertyException = 'Error reading %s%s%s: %s';
  49.   SAncestorNotFound = 'Ancestor for ''%s'' not found';
  50.   SInvalidBitmap = 'Bitmap image is not valid';
  51.   SInvalidIcon = 'Icon image is not valid';
  52.   SInvalidMetafile = 'Metafile is not valid';
  53.   SInvalidPixelFormat = 'Invalid pixel format';
  54.   SBitmapEmpty = 'Bitmap is empty';
  55.   SScanLine = 'Scan line index out of range';
  56.   SChangeIconSize = 'Cannot change the size of an icon';
  57.   SOleGraphic = 'Invalid operation on TOleGraphic';
  58.   SUnknownExtension = 'Unknown picture file extension (.%s)';
  59.   SUnknownClipboardFormat = 'Unsupported clipboard format';
  60.   SOutOfResources = 'Out of system resources';
  61.   SNoCanvasHandle = 'Canvas does not allow drawing';
  62.   SInvalidImageSize = 'Invalid image size';
  63.   STooManyImages = 'Too many images';
  64.   SDimsDoNotMatch = 'Image dimensions do not match image list dimensions';
  65.   SInvalidImageList = 'Invalid ImageList';
  66.   SReplaceImage = 'Unable to Replace Image';
  67.   SImageIndexError = 'Invalid ImageList Index';
  68.   SImageReadFail = 'Failed to read ImageList data from stream';
  69.   SImageWriteFail = 'Failed to write ImageList data to stream';
  70.   SWindowDCError = 'Error creating window device context';
  71.   SClientNotSet = 'Client of TDrag not initialized';
  72.   SWindowClass = 'Error creating window class';
  73.   SWindowCreate = 'Error creating window';
  74.   SCannotFocus = 'Cannot focus a disabled or invisible window';
  75.   SParentRequired = 'Control ''%s'' has no parent window';
  76.   SMDIChildNotVisible = 'Cannot hide an MDI Child Form';
  77.   SVisibleChanged = 'Cannot change Visible in OnShow or OnHide';
  78.   SCannotShowModal = 'Cannot make a visible window modal';
  79.   SScrollBarRange = 'Scrollbar property out of range';
  80.   SPropertyOutOfRange = '%s property out of range';
  81.   SMenuIndexError = 'Menu index out of range';
  82.   SMenuReinserted = 'Menu inserted twice';
  83.   SMenuNotFound = 'Sub-menu is not in menu';
  84.   SNoTimers = 'Not enough timers available';
  85.   SNotPrinting = 'Printer is not currently printing';
  86.   SPrinting = 'Printing in progress';
  87.   SPrinterIndexError = 'Printer index out of range';
  88.   SInvalidPrinter = 'Printer selected is not valid';
  89.   SDeviceOnPort = '%s on %s';
  90.   SGroupIndexTooLow = 'GroupIndex cannot be less than a previous menu item''s GroupIndex';
  91.   STwoMDIForms = 'Cannot have more than one MDI form per application';
  92.   SNoMDIForm = 'Cannot create form. No MDI forms are currently active';
  93.   SRegisterError = 'Invalid component registration';
  94.   SImageCanvasNeedsBitmap = 'Can only modify an image if it contains a bitmap';
  95.   SControlParentSetToSelf = 'A control cannot have itself as its parent';
  96.   SOKButton = 'OK';
  97.   SCancelButton = 'Cancel';
  98.   SYesButton = '&Yes';
  99.   SNoButton = '&No';
  100.   SHelpButton = '&Help';
  101.   SCloseButton = '&Close';
  102.   SIgnoreButton = '&Ignore';
  103.   SRetryButton = '&Retry';
  104.   SAbortButton = 'Abort';
  105.   SAllButton = '&All';
  106.  
  107.   SCannotDragForm = 'Cannot drag a form';
  108.   SPutObjectError = 'PutObject to undefined item';
  109.   SCardDLLNotLoaded = 'Could not load CARDS.DLL';
  110.   SDuplicateCardId = 'Duplicate CardId found';
  111.  
  112.   SDdeErr = 'An error returned from DDE  ($0%x)';
  113.   SDdeConvErr = 'DDE Error - conversation not established ($0%x)';
  114.   SDdeMemErr = 'Error occurred when DDE ran out of memory ($0%x)';
  115.   SDdeNoConnect = 'Unable to connect DDE conversation';
  116.  
  117.   SFB = 'FB';
  118.   SFG = 'FG';
  119.   SBG = 'BG';
  120.   SOldTShape = 'Cannot load older version of TShape';
  121.   SVMetafiles = 'Metafiles';
  122.   SVEnhMetafiles = 'Enhanced Metafiles';
  123.   SVIcons = 'Icons';
  124.   SVBitmaps = 'Bitmaps';
  125.   SGridTooLarge = 'Grid too large for operation';
  126.   STooManyDeleted = 'Too many rows or columns deleted';
  127.   SIndexOutOfRange = 'Grid index out of range';
  128.   SFixedColTooBig = 'Fixed column count must be less than column count';
  129.   SFixedRowTooBig = 'Fixed row count must be less than row count';
  130.   SInvalidStringGridOp = 'Cannot insert or delete rows from grid';
  131.   SParseError = '%s on line %d';
  132.   SIdentifierExpected = 'Identifier expected';
  133.   SStringExpected = 'String expected';
  134.   SNumberExpected = 'Number expected';
  135.   SCharExpected = '''''%s'''' expected';
  136.   SSymbolExpected = '%s expected';
  137.   SInvalidNumber = 'Invalid numeric value';
  138.   SInvalidString = 'Invalid string constant';
  139.   SInvalidProperty = 'Invalid property value';
  140.   SInvalidBinary = 'Invalid binary value';
  141.   SOutlineIndexError = 'Outline index not found';
  142.   SOutlineExpandError = 'Parent must be expanded';
  143.   SInvalidCurrentItem = 'Invalid value for current item';
  144.   SMaskErr = 'Invalid input value';
  145.   SMaskEditErr = 'Invalid input value.  Use escape key to abandon changes';
  146.   SOutlineError = 'Invalid outline index';
  147.   SOutlineBadLevel = 'Incorrect level assignment';
  148.   SOutlineSelection = 'Invalid selection';
  149.   SOutlineFileLoad = 'File load error';
  150.   SOutlineLongLine = 'Line too long';
  151.   SOutlineMaxLevels = 'Maximum outline depth exceeded';
  152.  
  153.   SMsgDlgWarning = 'Warning';
  154.   SMsgDlgError = 'Error';
  155.   SMsgDlgInformation = 'Information';
  156.   SMsgDlgConfirm = 'Confirm';
  157.   SMsgDlgYes = '&Yes';
  158.   SMsgDlgNo = '&No';
  159.   SMsgDlgOK = 'OK';
  160.   SMsgDlgCancel = 'Cancel';
  161.   SMsgDlgHelp = '&Help';
  162.   SMsgDlgHelpNone = 'No help available';
  163.   SMsgDlgHelpHelp = 'Help';
  164.   SMsgDlgAbort = '&Abort';
  165.   SMsgDlgRetry = '&Retry';
  166.   SMsgDlgIgnore = '&Ignore';
  167.   SMsgDlgAll = '&All';
  168.   SMsgDlgNoToAll = 'N&o to All';
  169.   SMsgDlgYesToAll = 'Yes to &All';
  170.  
  171.   SmkcBkSp = 'BkSp';
  172.   SmkcTab = 'Tab';
  173.   SmkcEsc = 'Esc';
  174.   SmkcEnter = 'Enter';
  175.   SmkcSpace = 'Space';
  176.   SmkcPgUp = 'PgUp';
  177.   SmkcPgDn = 'PgDn';
  178.   SmkcEnd = 'End';
  179.   SmkcHome = 'Home';
  180.   SmkcLeft = 'Left';
  181.   SmkcUp = 'Up';
  182.   SmkcRight = 'Right';
  183.   SmkcDown = 'Down';
  184.   SmkcIns = 'Ins';
  185.   SmkcDel = 'Del';
  186.   SmkcShift = 'Shift+';
  187.   SmkcCtrl = 'Ctrl+';
  188.   SmkcAlt = 'Alt+';
  189.  
  190.   srUnknown = '(Unknown)';
  191.   srNone = '(None)';
  192.   SOutOfRange = 'Value must be between %d and %d';
  193.   SCannotCreateName = 'Cannot create a default method name for an unnamed component';
  194.  
  195.   SDateEncodeError = 'Invalid argument to date encode';
  196.   STimeEncodeError = 'Invalid argument to time encode';
  197.   SInvalidDate = '''''%s'''' is not a valid date';
  198.   SInvalidTime = '''''%s'''' is not a valid time';
  199.   SInvalidDateTime = '''''%s'''' is not a valid date and time';
  200.   SInvalidFileName = 'Invalid file name - %s';
  201.   SDefaultFilter = 'All files (*.*)|*.*';
  202.   sAllFilter = 'All';
  203.   SNoVolumeLabel = ': [ - no volume label - ]';
  204.   SInsertLineError = 'Unable to insert a line';
  205.  
  206.   SConfirmCreateDir = 'The specified directory does not exist. Create it?';
  207.   SSelectDirCap = 'Select Directory';
  208.   SCannotCreateDir = 'Unable to create directory';
  209.   SDirNameCap = 'Directory &Name:';
  210.   SDrivesCap = 'D&rives:';
  211.   SDirsCap = '&Directories:';
  212.   SFilesCap = '&Files: (*.*)';
  213.   SNetworkCap = 'Ne&twork...';
  214.  
  215.   SColorPrefix = 'Color';               //!! obsolete - delete in 5.0
  216.   SColorTags = 'ABCDEFGHIJKLMNOP';      //!! obsolete - delete in 5.0
  217.  
  218.   SInvalidClipFmt = 'Invalid clipboard format';
  219.   SIconToClipboard = 'Clipboard does not support Icons';
  220.   SCannotOpenClipboard = 'Cannot open clipboard';
  221.  
  222.   SDefault = 'Default';
  223.  
  224.   SInvalidMemoSize = 'Text exceeds memo capacity';
  225.   SCustomColors = 'Custom Colors';
  226.   SInvalidPrinterOp = 'Operation not supported on selected printer';
  227.   SNoDefaultPrinter = 'There is no default printer currently selected';
  228.  
  229.   SIniFileWriteError = 'Unable to write to %s';
  230.  
  231.   SBitsIndexError = 'Bits index out of range';
  232.  
  233.   SUntitled = '(Untitled)';
  234.  
  235.   SInvalidRegType = 'Invalid data type for ''%s''';
  236.   SRegCreateFailed = 'Failed to create key %s';
  237.   SRegSetDataFailed = 'Failed to set data for ''%s''';
  238.   SRegGetDataFailed = 'Failed to get data for ''%s''';
  239.  
  240.   SUnknownConversion = 'Unknown RichEdit conversion file extension (.%s)';
  241.   SDuplicateMenus = 'Menu ''%s'' is already being used by another form';
  242.  
  243.   SPictureLabel = 'Picture:';
  244.   SPictureDesc = ' (%dx%d)';
  245.   SPreviewLabel = 'Preview';
  246.  
  247.   SCannotOpenAVI = 'Cannot open AVI';
  248.  
  249.   SNotOpenErr = 'No MCI device open';
  250.   SMPOpenFilter = 'All files (*.*)|*.*|Wave files (*.wav)|*.wav|Midi files (*.mid)|*.mid|Video for Windows (*.avi)|*.avi';
  251.   SMCINil = '';
  252.   SMCIAVIVideo = 'AVIVideo';
  253.   SMCICDAudio = 'CDAudio';
  254.   SMCIDAT = 'DAT';
  255.   SMCIDigitalVideo = 'DigitalVideo';
  256.   SMCIMMMovie = 'MMMovie';
  257.   SMCIOther = 'Other';
  258.   SMCIOverlay = 'Overlay';
  259.   SMCIScanner = 'Scanner';
  260.   SMCISequencer = 'Sequencer';
  261.   SMCIVCR = 'VCR';
  262.   SMCIVideodisc = 'Videodisc';
  263.   SMCIWaveAudio = 'WaveAudio';
  264.   SMCIUnknownError = 'Unknown error code';
  265.  
  266.   SBoldItalicFont = 'Bold Italic';
  267.   SBoldFont = 'Bold';
  268.   SItalicFont = 'Italic';
  269.   SRegularFont = 'Regular';
  270.  
  271.   SPropertiesVerb = 'Properties';
  272.  
  273.   sWindowsSocketError = 'Windows socket error: %s (%d), on API ''%s''';
  274.   sAsyncSocketError = 'Asynchronous socket error %d';
  275.   sNoAddress = 'No address specified';
  276.   sCannotListenOnOpen = 'Can''t listen on an open socket';
  277.   sCannotCreateSocket = 'Can''t create new socket';
  278.   sSocketAlreadyOpen = 'Socket already open';
  279.   sCantChangeWhileActive = 'Can''t change value while socket is active';
  280.   sSocketMustBeBlocking = 'Socket must be in blocking mode';
  281.   sSocketIOError = '%s error %d, %s';
  282.   sSocketRead = 'Read';
  283.   sSocketWrite = 'Write';
  284.  
  285.   SServiceFailed = 'Service failed on %s: %s';
  286.   SExecute = 'execute';
  287.   SStart = 'start';
  288.   SStop = 'stop';
  289.   SPause = 'pause';
  290.   SContinue = 'continue';
  291.   SInterrogate = 'interrogate';
  292.   SShutdown = 'shutdown';
  293.   SCustomError = 'Service failed in custom message(%d): %s';
  294.   SServiceInstallOK = 'Service installed successfully';
  295.   SServiceInstallFailed = 'Service "%s" failed to install with error: "%s"';
  296.   SServiceUninstallOK = 'Service uninstalled successfully';
  297.   SServiceUninstallFailed = 'Service "%s" failed to uninstall with error: "%s"';
  298.  
  299.   SInvalidActionRegistration = 'Invalid action registration';
  300.   SInvalidActionUnregistration = 'Invalid action unregistration';
  301.   SInvalidActionEnumeration = 'Invalid action enumeration';
  302.   SInvalidActionCreation = 'Invalid action creation';
  303.   
  304.   SDockedCtlNeedsName = 'Docked control must have a name';
  305.   SDockTreeRemoveError = 'Error removing control from dock tree';
  306.   SDockZoneNotFound = ' - Dock zone not found';
  307.   SDockZoneHasNoCtl = ' - Dock zone has no control';
  308.  
  309.   SAllCommands = 'All Commands';
  310.  
  311.   SDuplicateItem = 'List does not allow duplicates ($0%x)';
  312.  
  313.   SDuplicatePropertyCategory = 'A property category called %s already exists';
  314.   SUnknownPropertyCategory = 'Property category does not exist (%s)';
  315.  
  316.   SActionCategoryName = 'Action';
  317.   SActionCategoryDesc = 'Action properties and/or events';
  318.   SDataCategoryName = 'Data';
  319.   SDataCategoryDesc = 'Data properties and/or events';
  320.   SDatabaseCategoryName = 'Database';
  321.   SDatabaseCategoryDesc = 'Database and Data Aware properties and/or events';
  322.   SDragNDropCategoryName = 'Drag, Drop and Docking';
  323.   SDragNDropCategoryDesc = 'Drag, Drop and Docking properties and/or events';
  324.   SHelpCategoryName = 'Help and Hints';
  325.   SHelpCategoryDesc = 'Help and Hint properties and/or events';
  326.   SLayoutCategoryName = 'Layout';
  327.   SLayoutCategoryDesc = 'Layout properties and/or events';
  328.   SLegacyCategoryName = 'Legacy';
  329.   SLegacyCategoryDesc = 'Legacy properties and/or events';
  330.   SLinkageCategoryName = 'Linkage';
  331.   SLinkageCategoryDesc = 'Linkage properties and/or events';
  332.   SLocaleCategoryName = 'Locale';
  333.   SLocaleCategoryDesc = 'Locale properties and/or events';
  334.   SLocalizableCategoryName = 'Localizable';
  335.   SLocalizableCategoryDesc = 'Localizable properties and/or events';
  336.   SMiscellaneousCategoryName = 'Miscellaneous';
  337.   SMiscellaneousCategoryDesc = 'Miscellaneous properties and/or events';
  338.   SVisualCategoryName = 'Visual';
  339.   SVisualCategoryDesc = 'Visual properties and/or events';
  340.   SInputCategoryName = 'Input';
  341.   SInputCategoryDesc = 'Input properties and/or events';
  342.  
  343.   SInvalidMask = '''%s'' is an invalid mask at (%d)';
  344.   SInvalidFilter = 'Property filters may only be name, class or type based (%d:%d)';
  345.   SInvalidCategory = 'Categories must define their own name and description';
  346.  
  347.   sOperationNotAllowed = 'Operation not allowed while dispatching application events';
  348.  
  349. implementation
  350.  
  351. end.
  352.