-
Notifications
You must be signed in to change notification settings - Fork 0
/
Consts.pas
433 lines (382 loc) · 16.4 KB
/
Consts.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2010 Embarcadero Technologies, Inc. }
{ }
{*******************************************************}
unit Consts;
interface
resourcestring
SOpenFileTitle = 'Open';
SCantWriteResourceStreamError = 'Can''t write to a read-only resource stream';
SDuplicateReference = 'WriteObject called twice for the same instance';
SClassMismatch = 'Resource %s is of incorrect class';
SInvalidTabIndex = 'Tab index out of bounds';
SInvalidTabPosition = 'Tab position incompatible with current tab style';
SInvalidTabStyle = 'Tab style incompatible with current tab position';
SInvalidBitmap = 'Bitmap image is not valid';
SInvalidIcon = 'Icon image is not valid';
SInvalidMetafile = 'Metafile is not valid';
SInvalidPixelFormat = 'Invalid pixel format';
SInvalidImage = 'Invalid image';
SBitmapEmpty = 'Bitmap is empty';
SScanLine = 'Scan line index out of range';
SChangeIconSize = 'Cannot change the size of an icon';
SChangeWicSize = 'Cannot change the size of a WIC Image';
SOleGraphic = 'Invalid operation on TOleGraphic';
SUnknownExtension = 'Unknown picture file extension (.%s)';
SUnknownClipboardFormat = 'Unsupported clipboard format';
SOutOfResources = 'Out of system resources';
SNoCanvasHandle = 'Canvas does not allow drawing';
SInvalidImageSize = 'Invalid image size';
STooManyImages = 'Too many images';
SDimsDoNotMatch = 'Image dimensions do not match image list dimensions';
SInvalidImageList = 'Invalid ImageList';
SReplaceImage = 'Unable to Replace Image';
SImageIndexError = 'Invalid ImageList Index';
SImageReadFail = 'Failed to read ImageList data from stream';
SImageWriteFail = 'Failed to write ImageList data to stream';
SWindowDCError = 'Error creating window device context';
SClientNotSet = 'Client of TDrag not initialized';
SWindowClass = 'Error creating window class';
SWindowCreate = 'Error creating window';
SCannotFocus = 'Cannot focus a disabled or invisible window';
SParentRequired = 'Control ''%s'' has no parent window';
SParentGivenNotAParent = 'Parent given is not a parent of ''%s''';
SMDIChildNotVisible = 'Cannot hide an MDI Child Form';
SVisibleChanged = 'Cannot change Visible in OnShow or OnHide';
SCannotShowModal = 'Cannot make a visible window modal';
SScrollBarRange = 'Scrollbar property out of range';
SPropertyOutOfRange = '%s property out of range';
SMenuIndexError = 'Menu index out of range';
SMenuReinserted = 'Menu inserted twice';
SMenuNotFound = 'Sub-menu is not in menu';
SNoTimers = 'Not enough timers available';
SNotPrinting = 'Printer is not currently printing';
SPrinting = 'Printing in progress';
SPrinterIndexError = 'Printer index out of range';
SInvalidPrinter = 'Printer selected is not valid';
SDeviceOnPort = '%s on %s';
SGroupIndexTooLow = 'GroupIndex cannot be less than a previous menu item''s GroupIndex';
STwoMDIForms = 'Cannot have more than one MDI form per application';
SNoMDIForm = 'Cannot create form. No MDI forms are currently active';
SImageCanvasNeedsBitmap = 'Can only modify an image if it contains a bitmap';
SControlParentSetToSelf = 'A control cannot have itself as its parent';
SOKButton = 'OK';
SCancelButton = 'Cancel';
SYesButton = '&Yes';
SNoButton = '&No';
SHelpButton = '&Help';
SCloseButton = '&Close';
SIgnoreButton = '&Ignore';
SRetryButton = '&Retry';
SAbortButton = 'Abort';
SAllButton = '&All';
SCannotDragForm = 'Cannot drag a form';
SPutObjectError = 'PutObject to undefined item';
SCardDLLNotLoaded = 'Could not load CARDS.DLL';
SDuplicateCardId = 'Duplicate CardId found';
SDdeErr = 'An error returned from DDE ($0%x)';
SDdeConvErr = 'DDE Error - conversation not established ($0%x)';
SDdeMemErr = 'Error occurred when DDE ran out of memory ($0%x)';
SDdeNoConnect = 'Unable to connect DDE conversation';
SFB = 'FB';
SFG = 'FG';
SBG = 'BG';
SOldTShape = 'Cannot load older version of TShape';
SVMetafiles = 'Metafiles';
SVEnhMetafiles = 'Enhanced Metafiles';
SVIcons = 'Icons';
SVBitmaps = 'Bitmaps';
SVTIFFImages = 'TIFF Images';
{$IF DEFINED(CLR)}
SVJPGImages = 'JPEG Images';
SVPNGImages = 'PNG Images';
SVGIFImages = 'GIF Images';
{$IFEND}
SGridTooLarge = 'Grid too large for operation';
STooManyDeleted = 'Too many rows or columns deleted';
SIndexOutOfRange = 'Grid index out of range';
SFixedColTooBig = 'Fixed column count must be less than column count';
SFixedRowTooBig = 'Fixed row count must be less than row count';
SInvalidStringGridOp = 'Cannot insert or delete rows from grid';
SInvalidEnumValue = 'Invalid Enum Value';
SInvalidNumber = 'Invalid numeric value';
SOutlineIndexError = 'Outline index not found';
SOutlineExpandError = 'Parent must be expanded';
SInvalidCurrentItem = 'Invalid value for current item';
SMaskErr = 'Invalid input value';
SMaskEditErr = 'Invalid input value. Use escape key to abandon changes';
SOutlineError = 'Invalid outline index';
SOutlineBadLevel = 'Incorrect level assignment';
SOutlineSelection = 'Invalid selection';
SOutlineFileLoad = 'File load error';
SOutlineLongLine = 'Line too long';
SOutlineMaxLevels = 'Maximum outline depth exceeded';
SMsgDlgWarning = 'Warning';
SMsgDlgError = 'Error';
SMsgDlgInformation = 'Information';
SMsgDlgConfirm = 'Confirm';
SMsgDlgYes = '&Yes';
SMsgDlgNo = '&No';
SMsgDlgOK = 'OK';
SMsgDlgCancel = 'Cancel';
SMsgDlgHelp = '&Help';
SMsgDlgHelpNone = 'No help available';
SMsgDlgHelpHelp = 'Help';
SMsgDlgAbort = '&Abort';
SMsgDlgRetry = '&Retry';
SMsgDlgIgnore = '&Ignore';
SMsgDlgAll = '&All';
SMsgDlgNoToAll = 'N&o to All';
SMsgDlgYesToAll = 'Yes to &All';
SMsgDlgClose = '&Close';
SmkcBkSp = 'BkSp';
SmkcTab = 'Tab';
SmkcEsc = 'Esc';
SmkcEnter = 'Enter';
SmkcSpace = 'Space';
SmkcPgUp = 'PgUp';
SmkcPgDn = 'PgDn';
SmkcEnd = 'End';
SmkcHome = 'Home';
SmkcLeft = 'Left';
SmkcUp = 'Up';
SmkcRight = 'Right';
SmkcDown = 'Down';
SmkcIns = 'Ins';
SmkcDel = 'Del';
SmkcShift = 'Shift+';
SmkcCtrl = 'Ctrl+';
SmkcAlt = 'Alt+';
srUnknown = '(Unknown)';
srNone = '(None)';
SOutOfRange = 'Value must be between %d and %d';
SDateEncodeError = 'Invalid argument to date encode';
SDefaultFilter = 'All files (*.*)|*.*';
sAllFilter = 'All';
SNoVolumeLabel = ': [ - no volume label - ]';
SInsertLineError = 'Unable to insert a line';
SConfirmCreateDir = 'The specified directory does not exist. Create it?';
SSelectDirCap = 'Select Directory';
SDirNameCap = 'Directory &Name:';
SDrivesCap = 'D&rives:';
SDirsCap = '&Directories:';
SFilesCap = '&Files: (*.*)';
SNetworkCap = 'Ne&twork...';
SColorPrefix = 'Color' deprecated; //!! obsolete - delete in 5.0
SColorTags = 'ABCDEFGHIJKLMNOP' deprecated; //!! obsolete - delete in 5.0
SInvalidClipFmt = 'Invalid clipboard format';
SIconToClipboard = 'Clipboard does not support Icons';
SCannotOpenClipboard = 'Cannot open clipboard: %s';
SDefault = 'Default';
SInvalidMemoSize = 'Text exceeds memo capacity';
SCustomColors = 'Custom Colors';
SInvalidPrinterOp = 'Operation not supported on selected printer';
SNoDefaultPrinter = 'There is no default printer currently selected';
SIniFileWriteError = 'Unable to write to %s';
SBitsIndexError = 'Bits index out of range';
SUntitled = '(Untitled)';
SInvalidRegType = 'Invalid data type for ''%s''';
SUnknownConversion = 'Unknown RichEdit conversion file extension (.%s)';
SDuplicateMenus = 'Menu ''%s'' is already being used by another form';
SPictureLabel = 'Picture:';
SPictureDesc = ' (%dx%d)';
SPreviewLabel = 'Preview';
SCannotOpenAVI = 'Cannot open AVI';
SNotOpenErr = 'No MCI device open';
SMPOpenFilter = 'All files (*.*)|*.*|Wave files (*.wav)|*.wav|Midi files (*.mid)|*.mid|Video for Windows (*.avi)|*.avi';
SMCINil = '';
SMCIAVIVideo = 'AVIVideo';
SMCICDAudio = 'CDAudio';
SMCIDAT = 'DAT';
SMCIDigitalVideo = 'DigitalVideo';
SMCIMMMovie = 'MMMovie';
SMCIOther = 'Other';
SMCIOverlay = 'Overlay';
SMCIScanner = 'Scanner';
SMCISequencer = 'Sequencer';
SMCIVCR = 'VCR';
SMCIVideodisc = 'Videodisc';
SMCIWaveAudio = 'WaveAudio';
SMCIUnknownError = 'Unknown error code';
SBoldItalicFont = 'Bold Italic';
SBoldFont = 'Bold';
SItalicFont = 'Italic';
SRegularFont = 'Regular';
SPropertiesVerb = 'Properties';
SServiceFailed = 'Service failed on %s: %s';
SExecute = 'execute';
SStart = 'start';
SStop = 'stop';
SPause = 'pause';
SContinue = 'continue';
SInterrogate = 'interrogate';
SShutdown = 'shutdown';
SCustomError = 'Service failed in custom message(%d): %s';
SServiceInstallOK = 'Service installed successfully';
SServiceInstallFailed = 'Service "%s" failed to install with error: "%s"';
SServiceUninstallOK = 'Service uninstalled successfully';
SServiceUninstallFailed = 'Service "%s" failed to uninstall with error: "%s"';
SInvalidActionRegistration = 'Invalid action registration';
SInvalidActionUnregistration = 'Invalid action unregistration';
SInvalidActionEnumeration = 'Invalid action enumeration';
SInvalidActionCreation = 'Invalid action creation';
SDockedCtlNeedsName = 'Docked control must have a name';
SDockTreeRemoveError = 'Error removing control from dock tree';
SDockZoneNotFound = ' - Dock zone not found';
SDockZoneHasNoCtl = ' - Dock zone has no control';
SDockZoneVersionConflict = 'Error loading dock zone from the stream. ' +
'Expecting version %d, but found %d.';
SAllCommands = 'All Commands';
SDuplicateItem = 'List does not allow duplicates ($0%x)';
STextNotFound = 'Text not found: "%s"';
SBrowserExecError = 'No default browser is specified';
SColorBoxCustomCaption = 'Custom...';
SMultiSelectRequired = 'Multiselect mode must be on for this feature';
SKeyCaption = 'Key';
SValueCaption = 'Value';
SKeyConflict = 'A key with the name of "%s" already exists';
SKeyNotFound = 'Key "%s" not found';
SNoColumnMoving = 'goColMoving is not a supported option';
SNoEqualsInKey = 'Key may not contain equals sign ("=")';
SSendError = 'Error sending mail';
SAssignSubItemError = 'Cannot assign a subitem to an actionbar when one of it''s parent''s is already assigned to an actionbar';
SDeleteItemWithSubItems = 'Item %s has subitems, delete anyway?';
SDeleteNotAllowed = 'You are not allowed to delete this item';
SMoveNotAllowed = 'Item %s is not allowed to be moved';
SMoreButtons = 'More Buttons';
SErrorDownloadingURL = 'Error downloading URL: %s';
SUrlMonDllMissing = 'Unable to load %s';
SAllActions = '(All Actions)';
SNoCategory = '(No Category)';
SExpand = 'Expand';
SErrorSettingPath = 'Error setting path: "%s"';
SLBPutError = 'Attempting to put items into a virtual style listbox';
SErrorLoadingFile = 'Error loading previously saved settings file: %s'#13'Would you like to delete it?';
SResetUsageData = 'Reset all usage data?';
SFileRunDialogTitle = 'Run';
SNoName = '(No Name)';
SErrorActionManagerNotAssigned = 'ActionManager must first be assigned';
SAddRemoveButtons = '&Add or Remove Buttons';
SResetActionToolBar = 'Reset Toolbar';
SCustomize = '&Customize...';
SSeparator = 'Separator';
SCircularReferencesNotAllowed = 'Circular references not allowed';
SCannotHideActionBand = '%s does not allow hiding';
SErrorSettingCount = 'Error setting %s.Count';
SListBoxMustBeVirtual = 'Listbox (%s) style must be virtual in order to set Count';
SUnableToSaveSettings = 'Unable to save settings';
SRestoreDefaultSchedule = 'Would you like to reset to the default Priority Schedule?';
SNoGetItemEventHandler = 'No OnGetItem event handler assigned';
SInvalidColorMap = 'Invalid Colormap this ActionBand requires ColorMaps of type TCustomActionBarColorMapEx';
SDuplicateActionBarStyleName = 'A style named %s has already been registered';
SMissingActionBarStyleName = 'A style named %s has not been registered';
SStandardStyleActionBars = 'Standard Style';
SXPStyleActionBars = 'XP Style';
SActionBarStyleMissing = 'No ActionBand style unit present in the uses clause.'#13 +
'Your application must include either XPStyleActnCtrls, StdStyleActnCtrls or ' +
'a third party ActionBand style unit in its uses clause';
sParameterCannotBeNil = '%s parameter in call to %s cannot be nil';
SInvalidColorString = 'Invalid Color string';
SActionManagerNotAssigned = '%s ActionManager property has not been assigned';
SInvalidPath = '"%s" is an invalid path';
SInvalidPathCaption = 'Invalid path';
SANSIEncoding = 'ANSI';
SASCIIEncoding = 'ASCII';
SUnicodeEncoding = 'Unicode';
SBigEndianEncoding = 'Big Endian Unicode';
SUTF8Encoding = 'UTF-8';
SUTF7Encoding = 'UTF-7';
SEncodingLabel = 'Encoding:';
sCannotAddFixedSize = 'Cannot add columns or rows while expand style is fixed size';
sInvalidSpan = '''%d'' is not a valid span';
sInvalidRowIndex = 'Row index, %d, out of bounds';
sInvalidColumnIndex = 'Column index, %d, out of bounds';
sInvalidControlItem = 'ControlItem.Control cannot be set to owning GridPanel';
sCannotDeleteColumn = 'Cannot delete a column that contains controls';
sCannotDeleteRow = 'Cannot delete a row that contains controls';
sCellMember = 'Member';
sCellSizeType = 'Size Type';
sCellValue = 'Value';
sCellAutoSize = 'Auto';
sCellPercentSize = 'Percent';
sCellAbsoluteSize = 'Absolute';
sCellColumn = 'Column%d';
sCellRow = 'Row%d';
STrayIconRemoveError = 'Cannot remove shell notification icon';
STrayIconCreateError = 'Cannot create shell notification icon';
SPageControlNotSet = 'PageControl must first be assigned';
SWindowsVistaRequired = '%s requires Windows Vista or later';
SXPThemesRequired = '%s requires themes to be enabled';
STaskDlgButtonCaption = 'Button%d';
STaskDlgRadioButtonCaption = 'RadioButton%d';
SInvalidTaskDlgButtonCaption = 'Caption cannot be empty';
SInvalidCategoryPanelParent = 'CategoryPanel must have a CategoryPanelGroup as its parent';
SInvalidCategoryPanelGroupChild = 'Only CategoryPanels can be inserted into a CategoryPanelGroup';
SInvalidCanvasOperation = 'Invalid canvas operation';
SNoOwner = '%s has no owner';
SRequireSameOwner = 'Source and destination require the same owner';
SDirect2DInvalidOwner = '%s cannot be owned by a different canvas';
SDirect2DInvalidSolidBrush = 'Not a solid color brush';
SDirect2DInvalidBrushStyle = 'Invalid brush style';
SKeyboardLocaleInfo = 'Error retrieving locale information';
SKeyboardLangChange = 'Failed to change input language';
SOnlyWinControls = 'You can only tab dock TWinControl based Controls';
SNoKeyword = 'No help keyword specified.';
// ColorToPrettyName strings
SNameBlack = 'Black';
SNameMaroon = 'Maroon';
SNameGreen = 'Green';
SNameOlive = 'Olive';
SNameNavy = 'Navy';
SNamePurple = 'Purple';
SNameTeal = 'Teal';
SNameGray = 'Gray';
SNameSilver = 'Silver';
SNameRed = 'Red';
SNameLime = 'Lime';
SNameYellow = 'Yellow';
SNameBlue = 'Blue';
SNameFuchsia = 'Fuchsia';
SNameAqua = 'Aqua';
SNameWhite = 'White';
SNameMoneyGreen = 'Money Green';
SNameSkyBlue = 'Sky Blue';
SNameCream = 'Cream';
SNameMedGray = 'Medium Gray';
SNameActiveBorder = 'Active Border';
SNameActiveCaption = 'Active Caption';
SNameAppWorkSpace = 'Application Workspace';
SNameBackground = 'Background';
SNameBtnFace = 'Button Face';
SNameBtnHighlight = 'Button Highlight';
SNameBtnShadow = 'Button Shadow';
SNameBtnText = 'Button Text';
SNameCaptionText = 'Caption Text';
SNameDefault = 'Default';
SNameGradientActiveCaption = 'Gradient Active Caption';
SNameGradientInactiveCaption = 'Gradient Inactive Caption';
SNameGrayText = 'Gray Text';
SNameHighlight = 'Highlight Background';
SNameHighlightText = 'Highlight Text';
SNameHotLight = 'Hot Light';
SNameInactiveBorder = 'Inactive Border';
SNameInactiveCaption = 'Inactive Caption';
SNameInactiveCaptionText = 'Inactive Caption Text';
SNameInfoBk = 'Info Background';
SNameInfoText = 'Info Text';
SNameMenu = 'Menu Background';
SNameMenuBar = 'Menu Bar';
SNameMenuHighlight = 'Menu Highlight';
SNameMenuText = 'Menu Text';
SNameNone = 'None';
SNameScrollBar = 'Scroll Bar';
SName3DDkShadow = '3D Dark Shadow';
SName3DLight = '3D Light';
SNameWindow = 'Window Background';
SNameWindowFrame = 'Window Frame';
SNameWindowText = 'Window Text';
implementation
end.