html5中文学习网

您的位置: 首页 > 网络编程 > ASP.NET » 正文

ultraGrid中关于筛选窗口的汉化代码_.NET教程_编程技术

[ ] 已经帮助:人解决问题
 

private void GridFilter_Customizer()
  {
   Infragistics.Shared.ResourceCustomizer rc=Infragistics.Win.UltraWinGrid.Resources.Customizer;
   rc.SetCustomizedString("RowFilterDropDownAllItem","所有");
   rc.SetCustomizedString("RowFilterDropDownBlanksItem","空");
   rc.SetCustomizedString("RowFilterDropDownCustomItem","自定义");
   rc.SetCustomizedString("RowFilterDropDownNonBlanksItem","非空");
   rc.SetCustomizedString("RowFilterDropDownAllItem","所有");
   rc.SetCustomizedString("RowFilterDialogTitlePrefix","输入过滤准则为");
   rc.SetCustomizedString("FilterDialogAndRadioText","并且");
   rc.SetCustomizedString("FilterDialogOrRadioText","或者");
   rc.SetCustomizedString("FilterDialogAddConditionButtonText","增加一个条件(&N)");
   rc.SetCustomizedString("FilterDialogDeleteButtonText","删除一个条件");
   rc.SetCustomizedString("FilterDialogOkButtonText","确定(&O)");
   rc.SetCustomizedString("FilterDialogCancelButtonText","取消(&C)");
   rc.SetCustomizedString("FilterDialogOkButtonNoFiltersText","不过滤");
   rc.SetCustomizedString("RowFilterDialogOperatorHeaderCaption","比较运算符");
   rc.SetCustomizedString("RowFilterDialogOperandHeaderCaption","准则");
   rc.SetCustomizedString("RowFilterDropDownEquals","等于");
   rc.SetCustomizedString("RowFilterDropDownNotEquals","不等于");
   rc.SetCustomizedString("RowFilterDropDownLessThan","小于");
   rc.SetCustomizedString("RowFilterDropDownLessThanOrEqualTo","小于等于");
   rc.SetCustomizedString("RowFilterDropDownGreaterThan","大于");
   rc.SetCustomizedString("RowFilterDropDownGreaterThanOrEqualTo","大于等于");
   rc.SetCustomizedString("RowFilterDropDownMatch","自定义规则表达式");
   rc.SetCustomizedString("RowFilterDropDownLike","模糊查找");

   rc.SetCustomizedString("RowFilterDialogBlanksItem","空白");
   rc.SetCustomizedString("RowFilterDialogDBNullItem","无值");
   rc.SetCustomizedString("RowFilterDialogEmptyTextItem","空字符");

   rc.SetCustomizedString("RowFilterDropDown_Operator_Equals","等于");
   rc.SetCustomizedString("RowFilterDropDown_Operator_NotEquals","不等于");
   rc.SetCustomizedString("RowFilterDropDown_Operator_LessThan","小于");
   rc.SetCustomizedString("RowFilterDropDown_Operator_LessThanOrEqualTo","小于等于");
   rc.SetCustomizedString("RowFilterDropDown_Operator_GreaterThan","大于");
   rc.SetCustomizedString("RowFilterDropDown_Operator_GreaterThanOrEqualTo","大于等于");
   rc.SetCustomizedString("RowFilterDropDown_Operator_Match","自定义规则表达式");
   rc.SetCustomizedString("RowFilterDropDown_Operator_Like","模糊查找");

   rc.SetCustomizedString("RowFilterPatternCaption","无效查找模式");
   rc.SetCustomizedString("RowFilterPatternError","错误的解析模式{0}. 请输入一个有效的表达式");
   rc.SetCustomizedString("RowFilterPatternException","无效查找模式{0}");
   rc.SetCustomizedString("RowFilterRegexError","无效的规则表达式{0}.请输入一个有效的表达式");
   rc.SetCustomizedString("RowFilterRegexErrorCaption","无效规则表达式");
   rc.SetCustomizedString("RowFilterRegexException","无效规则表达式{0}");
  }

里面翻译的有所不妥。请大家谅解,正好有个网友需要,所以贴上来了。

BQ2HTML5中文学习网 - HTML5先行者学习网
BQ2HTML5中文学习网 - HTML5先行者学习网
(责任编辑:)
推荐书籍
推荐资讯
关于HTML5先行者 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 人才招聘 - 帮助