首页 > 开发 > 综合 > 正文

ultraGrid中关于筛选窗口的汉化代码

2024-07-21 02:29:49
字体:
来源:转载
供稿:网友
 

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}");
  }

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



发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表