⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cxfilterconsts.pas

📁 a voice guide client ,it is the second part of voice guide center
💻 PAS
字号:

{********************************************************************}
{                                                                    }
{       Developer Express Visual Component Library                   }
{       ExpressDataController                                        }
{                                                                    }
{       Copyright (c) 1998-2005 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 EXPRESSDATACONTROLLER 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 cxFilterConsts;

{$I cxVer.inc}

interface

resourcestring
  // base operators
{  cxSFilterOperatorEqual = 'equals';
  cxSFilterOperatorNotEqual = 'does not equal';
  cxSFilterOperatorLess = 'is less than';
  cxSFilterOperatorLessEqual = 'is less than or equal to';
  cxSFilterOperatorGreater = 'is greater than';
  cxSFilterOperatorGreaterEqual = 'is greater than or equal to';
  cxSFilterOperatorLike = 'like';
  cxSFilterOperatorNotLike = 'not like';
  cxSFilterOperatorBetween = 'between';
  cxSFilterOperatorNotBetween = 'not between';
  cxSFilterOperatorInList = 'in';
  cxSFilterOperatorNotInList = 'not in';

  cxSFilterOperatorYesterday = 'is yesterday';
  cxSFilterOperatorToday = 'is today';
  cxSFilterOperatorTomorrow = 'is tomorrow';

  cxSFilterOperatorLast7Days = 'is last 7 days';
  cxSFilterOperatorLastWeek = 'is last week';
  cxSFilterOperatorLast14Days = 'is last 14 days';
  cxSFilterOperatorLastTwoWeeks = 'is last two weeks';
  cxSFilterOperatorLast30Days = 'is last 30 days';
  cxSFilterOperatorLastMonth = 'is last month';
  cxSFilterOperatorLastYear = 'is last year';
  cxSFilterOperatorPast = 'is past';

  cxSFilterOperatorThisWeek = 'is this week';
  cxSFilterOperatorThisMonth = 'is this month';
  cxSFilterOperatorThisYear = 'is this year';

  cxSFilterOperatorNext7Days = 'is next 7 days';
  cxSFilterOperatorNextWeek = 'is next week';
  cxSFilterOperatorNext14Days = 'is next 14 days';
  cxSFilterOperatorNextTwoWeeks = 'is next two weeks';
  cxSFilterOperatorNext30Days = 'is next 30 days';
  cxSFilterOperatorNextMonth = 'is next month';
  cxSFilterOperatorNextYear = 'is next year';
  cxSFilterOperatorFuture = 'is future';

  cxSFilterAndCaption = 'and';
  cxSFilterOrCaption = 'or';
  cxSFilterNotCaption = 'not';
  cxSFilterBlankCaption = 'blank';

  // derived
  cxSFilterOperatorIsNull = 'is blank';
  cxSFilterOperatorIsNotNull = 'is not blank';
  cxSFilterOperatorBeginsWith = 'begins with';
  cxSFilterOperatorDoesNotBeginWith = 'does not begin with';
  cxSFilterOperatorEndsWith = 'ends with';
  cxSFilterOperatorDoesNotEndWith = 'does not end with';
  cxSFilterOperatorContains = 'contains';
  cxSFilterOperatorDoesNotContain = 'does not contain';
  // filter listbox's values
  cxSFilterBoxAllCaption = '(All)';
  cxSFilterBoxCustomCaption = '(Custom...)';
  cxSFilterBoxBlanksCaption = '(Blanks)';
  cxSFilterBoxNonBlanksCaption = '(NonBlanks)'; }

  // base operators
  cxSFilterOperatorEqual = '等于';
  cxSFilterOperatorNotEqual = '不等于';
  cxSFilterOperatorLess = '小于';
  cxSFilterOperatorLessEqual = '小于等于';
  cxSFilterOperatorGreater = '大于';
  cxSFilterOperatorGreaterEqual = '大于等于';
  cxSFilterOperatorLike = '相似';
  cxSFilterOperatorNotLike = '不相似';
  cxSFilterOperatorBetween = '在...之间';
  cxSFilterOperatorNotBetween = '不在...之间';
  cxSFilterOperatorInList = '在...之中';
  cxSFilterOperatorNotInList = '不在...之中';

  cxSFilterOperatorYesterday = '昨天';
  cxSFilterOperatorToday = '今天';
  cxSFilterOperatorTomorrow = '明天';

  cxSFilterOperatorLast7Days = '前七天';
  cxSFilterOperatorLastWeek = '上一周';
  cxSFilterOperatorLast14Days = '前十四天';
  cxSFilterOperatorLastTwoWeeks = '上两周';
  cxSFilterOperatorLast30Days = '前三十天';
  cxSFilterOperatorLastMonth = '上一月';
  cxSFilterOperatorLastYear = '上一年';
  cxSFilterOperatorPast = '已过去';

  cxSFilterOperatorThisWeek = '本周';
  cxSFilterOperatorThisMonth = '本月';
  cxSFilterOperatorThisYear = '本年';

  cxSFilterOperatorNext7Days = '未来七天';
  cxSFilterOperatorNextWeek = '下一周';
  cxSFilterOperatorNextMonth = '下一月';
  cxSFilterOperatorNextYear = '下一年';
  cxSFilterOperatorNext14Days = '未来十四天';
  cxSFilterOperatorNextTwoWeeks = '未来两周';
  cxSFilterOperatorNext30Days = '未来三十天';
  cxSFilterOperatorFuture = '在未来';

  cxSFilterAndCaption = '并且';
  cxSFilterOrCaption = '或者';
  cxSFilterNotCaption = '非';
  cxSFilterBlankCaption = '空';

  // derived
  cxSFilterOperatorIsNull = '为空';
  cxSFilterOperatorIsNotNull = '不为空';
  cxSFilterOperatorBeginsWith = '起始于';
  cxSFilterOperatorDoesNotBeginWith = '不起始于';
  cxSFilterOperatorEndsWith = '结束于';
  cxSFilterOperatorDoesNotEndWith = '不结束于';
  cxSFilterOperatorContains = '包含';
  cxSFilterOperatorDoesNotContain = '不包含';
  // filter listbox's values
  cxSFilterBoxAllCaption = '(全部显示)';
  cxSFilterBoxCustomCaption = '(定制过滤...)';
  cxSFilterBoxBlanksCaption = '(空)';
  cxSFilterBoxNonBlanksCaption = '(非空)';

function cxSFilterString(const AResString: string): string;

type
  TcxFilterGetResourceStringFunc = function(const AResString: string): string;

var
  cxFilterGetResourceStringFunc: TcxFilterGetResourceStringFunc =
    cxSFilterString;

implementation

function cxSFilterString(const AResString: string): string;
begin
  if Assigned(cxFilterGetResourceStringFunc) then
    Result := cxFilterGetResourceStringFunc(AResString)
  else
    Result := AResString;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -