123 lines
5.6 KiB
ObjectPascal
123 lines
5.6 KiB
ObjectPascal
{*******************************************************************}
|
|
{ }
|
|
{ Developer Express Cross Platform Component Library }
|
|
{ Express Cross Platform Library classes }
|
|
{ }
|
|
{ Copyright (c) 2001-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 EXPRESSCROSSPLATFORMLIBRARY AND ALL }
|
|
{ ACCOMPANYING VCL AND CLX 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 cxLibraryStrs;
|
|
|
|
{$I cxVer.inc}
|
|
|
|
interface
|
|
|
|
resourcestring
|
|
scxCantCreateRegistryKey = 'Can''t create the registry key: \%s';
|
|
scxCantOpenRegistryKey = 'Can''t open the registry key: \%s';
|
|
scxErrorStoreObject = 'Error store %s object';
|
|
|
|
{$IFNDEF DELPHI5}
|
|
scxInvalidPropertyElement = 'Invalid property element: %s';
|
|
{$ENDIF}
|
|
scxConverterCantCreateStyleRepository = 'Can''t create the Style Repository';
|
|
|
|
// date smart input consts
|
|
cxSDateToday = 'today';
|
|
cxSDateYesterday = 'yesterday';
|
|
cxSDateTomorrow = 'tomorrow';
|
|
cxSDateSunday = 'Sunday';
|
|
cxSDateMonday = 'Monday';
|
|
cxSDateTuesday = 'Tuesday';
|
|
cxSDateWednesday = 'Wednesday';
|
|
cxSDateThursday = 'Thursday';
|
|
cxSDateFriday = 'Friday';
|
|
cxSDateSaturday = 'Saturday';
|
|
cxSDateFirst = 'first';
|
|
cxSDateSecond = 'second';
|
|
cxSDateThird = 'third';
|
|
cxSDateFourth = 'fourth';
|
|
cxSDateFifth = 'fifth';
|
|
cxSDateSixth = 'sixth';
|
|
cxSDateSeventh = 'seventh';
|
|
cxSDateBOM = 'bom';
|
|
cxSDateEOM = 'eom';
|
|
cxSDateNow = 'now';
|
|
|
|
implementation
|
|
|
|
uses
|
|
dxCore;
|
|
|
|
procedure AddExpressLibraryResourceStringNames(AProduct: TdxProductResourceStrings);
|
|
|
|
procedure InternalAdd(const AResourceStringName: string; AAdress: Pointer);
|
|
begin
|
|
AProduct.Add(AResourceStringName, AAdress);
|
|
end;
|
|
|
|
begin
|
|
InternalAdd('scxCantCreateRegistryKey', @scxCantCreateRegistryKey);
|
|
InternalAdd('scxCantOpenRegistryKey', @scxCantOpenRegistryKey);
|
|
InternalAdd('scxErrorStoreObject', @scxErrorStoreObject);
|
|
{$IFNDEF DELPHI5}
|
|
InternalAdd('scxInvalidPropertyElement', @scxInvalidPropertyElement);
|
|
{$ENDIF}
|
|
InternalAdd('scxConverterCantCreateStyleRepository', @scxConverterCantCreateStyleRepository);
|
|
InternalAdd('cxSDateToday', @cxSDateToday);
|
|
InternalAdd('cxSDateYesterday', @cxSDateYesterday);
|
|
InternalAdd('cxSDateTomorrow', @cxSDateTomorrow);
|
|
InternalAdd('cxSDateSunday', @cxSDateSunday);
|
|
InternalAdd('cxSDateMonday', @cxSDateMonday);
|
|
InternalAdd('cxSDateTuesday', @cxSDateTuesday);
|
|
InternalAdd('cxSDateWednesday', @cxSDateWednesday);
|
|
InternalAdd('cxSDateThursday', @cxSDateThursday);
|
|
InternalAdd('cxSDateFriday', @cxSDateFriday);
|
|
InternalAdd('cxSDateSaturday', @cxSDateSaturday);
|
|
InternalAdd('cxSDateFirst', @cxSDateFirst);
|
|
InternalAdd('cxSDateSecond', @cxSDateSecond);
|
|
InternalAdd('cxSDateThird', @cxSDateThird);
|
|
InternalAdd('cxSDateFourth', @cxSDateFourth);
|
|
InternalAdd('cxSDateFifth', @cxSDateFifth);
|
|
InternalAdd('cxSDateSixth', @cxSDateSixth);
|
|
InternalAdd('cxSDateSeventh', @cxSDateSeventh);
|
|
InternalAdd('cxSDateBOM', @cxSDateBOM);
|
|
InternalAdd('cxSDateEOM', @cxSDateEOM);
|
|
InternalAdd('cxSDateNow', @cxSDateNow);
|
|
end;
|
|
|
|
initialization
|
|
dxResourceStringsRepository.RegisterProduct('ExpressLibrary', @AddExpressLibraryResourceStringNames);
|
|
|
|
finalization
|
|
dxResourceStringsRepository.UnRegisterProduct('ExpressLibrary');
|
|
|
|
end.
|