예제 #1
0
        public override string GetLocalizedString(DevExpress.XtraEditors.Controls.StringId id)
        {
            switch (id)
            {
            case StringId.XtraMessageBoxCancelButtonText:
                return("取消");

            case StringId.XtraMessageBoxOkButtonText:
                return("确定");

            case StringId.XtraMessageBoxYesButtonText:
                return("是");

            case StringId.XtraMessageBoxNoButtonText:
                return("否");

            case StringId.XtraMessageBoxIgnoreButtonText:
                return("忽略");

            case StringId.XtraMessageBoxAbortButtonText:
                return("中止");

            case StringId.XtraMessageBoxRetryButtonText:
                return("重试");

            default:
                return(base.GetLocalizedString(id));
            }
        }
예제 #2
0
        public override string GetLocalizedString(DevExpress.XtraEditors.Controls.StringId id)
        {
            switch (id)
            {
            case StringId.PictureEditOpenFileFilter: return(";*.ico;*.位图文件 (*.bmp)|*.bmp|GIF文件 (*.gif)|*.gif|JPEG文件 (*.jpg;*.jpeg)|*.jpg;*.jpeg|Icon 文件 (*.ico)|*.ico|所有图像文件 |*.bmp;*.gif;*.jpg;*.jpeg;*.ico;*.png;*.tif|所有文件 |*.*");

            case StringId.NavigatorNextButtonHint: return("下一个");

            case StringId.ImagePopupPicture: return("(图像)");

            case StringId.TabHeaderButtonNext: return("向右滚动");

            case StringId.TabHeaderButtonPrev: return("向左滚动");

            case StringId.XtraMessageBoxOkButtonText: return("确定(&O)");

            case StringId.Cancel: return("取消(&C)l");

            case StringId.DateEditToday: return("今天");

            case StringId.DateEditClear: return("清除");

            case StringId.PictureEditMenuCut: return("剪切");

            case StringId.NavigatorEditButtonHint: return("编辑");

            case StringId.TextEditMenuCut: return("剪切(&t)");

            case StringId.ImagePopupEmpty: return("(空)");

            case StringId.NavigatorNextPageButtonHint: return("下一页");

            case StringId.NavigatorTextStringFormat: return("记录 {0} of {1}");

            case StringId.CaptionError: return("错误");

            case StringId.XtraMessageBoxNoButtonText: return("否(&N)");

            case StringId.PictureEditOpenFileTitle: return("打开");

            case StringId.PictureEditOpenFileError: return("错误的图像格式");

            case StringId.XtraMessageBoxIgnoreButtonText: return("忽略(&I)");

            case StringId.NavigatorRemoveButtonHint: return("删除");

            case StringId.TabHeaderButtonClose: return("关闭");

            case StringId.CheckUnchecked: return("非校验");

            case StringId.PictureEditSaveFileFilter: return("位图文件 (*.bmp)|*.bmp|GIF文件 (*.gif)|*.gif|JPEG 文件 (*.jpg)|*.jpg");

            case StringId.TextEditMenuSelectAll: return("全选(&A)");

            case StringId.PictureEditSaveFileTitle: return("另存为");

            case StringId.DataEmpty: return("没有图像数据");

            case StringId.XtraMessageBoxAbortButtonText: return("中断(&A)");

            case StringId.CheckIndeterminate: return("不确定");

            case StringId.NavigatorLastButtonHint: return("最后一个");

            case StringId.TextEditMenuCopy: return("复制(&C)");

            case StringId.TextEditMenuUndo: return("撤销(&U)");

            case StringId.CalcError: return("计算错误");

            case StringId.CalcButtonBack: return("后退");

            case StringId.CalcButtonSqrt: return("平方根");

            case StringId.LookUpColumnDefaultName: return("名称");

            case StringId.NavigatorEndEditButtonHint: return("结束编辑");

            case StringId.NotValidArrayLength: return("无效的数组长度。");

            case StringId.ColorTabWeb: return("网页");

            case StringId.PictureEditMenuSave: return("保存");

            case StringId.PictureEditMenuCopy: return("复制");

            case StringId.PictureEditMenuLoad: return("调用");

            case StringId.NavigatorFirstButtonHint: return("第一个");

            case StringId.MaskBoxValidateError: return(@"输入值不完整,是否修正?
	
	
	是 - 返回编辑器,修正该值.
	否 -保留该值.
	取消 - 重设为原来的值."    );

            case StringId.UnknownPictureFormat: return("未知的图形格式");

            case StringId.NavigatorPreviousPageButtonHint: return("前一页");

            case StringId.XtraMessageBoxRetryButtonText: return("重试(&R)");

            case StringId.LookUpEditValueIsNull: return("[编辑值为空]");

            case StringId.CalcButtonC: return("C");

            case StringId.XtraMessageBoxCancelButtonText: return("取消(&C)l");

            case StringId.LookUpInvalidEditValueType: return("无效的 LookUpEdit 编辑值类型。");

            case StringId.NavigatorAppendButtonHint: return("追加");

            case StringId.CalcButtonMx: return("M+");

            case StringId.CalcButtonMC: return("MC");

            case StringId.CalcButtonMS: return("MS");

            case StringId.CalcButtonMR: return("MR");

            case StringId.CalcButtonCE: return("CE");

            case StringId.NavigatorCancelEditButtonHint: return("取消编辑");

            case StringId.PictureEditOpenFileErrorCaption: return("打开错误");

            case StringId.OK: return("确定(&O)");

            case StringId.CheckChecked: return("校验");

            case StringId.TextEditMenuPaste: return("粘贴(&P)");

            case StringId.TextEditMenuDelete: return("删除(&D)");

            case StringId.ColorTabSystem: return("系统");

            case StringId.PictureEditMenuPaste: return("粘贴");

            case StringId.XtraMessageBoxYesButtonText: return("是(&Y)");

            case StringId.InvalidValueText: return("无效值");

            case StringId.PictureEditMenuDelete: return("删除");

            case StringId.NavigatorPreviousButtonHint: return("前一个");

            case StringId.ColorTabCustom: return("自定义");
            }
            System.Diagnostics.Debug.WriteLine(id.ToString() + "的默认值(" + this.GetType().ToString() + ")=" + base.GetLocalizedString(id));
            return(base.GetLocalizedString(id));
        }
예제 #3
0
        public override string GetLocalizedString(DevExpress.XtraEditors.Controls.StringId id)
        {
            switch (id)
            {
            case StringId.PictureEditOpenFileFilter: return(";*.ico;*.位图文件 (*.bmp)|*.bmp|GIF文件 (*.gif)|*.gif|JPEG文件 (*.jpg;*.jpeg)|*.jpg;*.jpeg|Icon 文件 (*.ico)|*.ico|所有图像文件 |*.bmp;*.gif;*.jpg;*.jpeg;*.ico;*.png;*.tif|所有文件 |*.*");

            case StringId.NavigatorNextButtonHint: return("下一个");

            case StringId.ImagePopupPicture: return("(图像)");

            case StringId.TabHeaderButtonNext: return("向右滚动");

            case StringId.TabHeaderButtonPrev: return("向左滚动");

            case StringId.XtraMessageBoxOkButtonText: return("确定(&O)");

            case StringId.Cancel: return("取消(&C)l");

            case StringId.DateEditToday: return("今天");

            case StringId.DateEditClear: return("清除");

            case StringId.PictureEditMenuCut: return("剪切");

            case StringId.NavigatorEditButtonHint: return("编辑");

            case StringId.TextEditMenuCut: return("剪切(&t)");

            case StringId.ImagePopupEmpty: return("(空)");

            case StringId.NavigatorNextPageButtonHint: return("下一页");

            case StringId.NavigatorTextStringFormat: return("记录 {0} of {1}");

            case StringId.CaptionError: return("错误");

            case StringId.XtraMessageBoxNoButtonText: return("否(&N)");

            case StringId.PictureEditOpenFileTitle: return("打开");

            case StringId.PictureEditOpenFileError: return("错误的图像格式");

            case StringId.XtraMessageBoxIgnoreButtonText: return("忽略(&I)");

            case StringId.NavigatorRemoveButtonHint: return("删除");

            case StringId.TabHeaderButtonClose: return("关闭");

            case StringId.CheckUnchecked: return("非校验");

            case StringId.PictureEditSaveFileFilter: return("位图文件 (*.bmp)|*.bmp|GIF文件 (*.gif)|*.gif|JPEG 文件 (*.jpg)|*.jpg");

            case StringId.TextEditMenuSelectAll: return("全选(&A)");

            case StringId.PictureEditSaveFileTitle: return("另存为");

            case StringId.DataEmpty: return("没有图像数据");

            case StringId.XtraMessageBoxAbortButtonText: return("中断(&A)");

            case StringId.CheckIndeterminate: return("不确定");

            case StringId.NavigatorLastButtonHint: return("最后一个");

            case StringId.TextEditMenuCopy: return("复制(&C)");

            case StringId.TextEditMenuUndo: return("撤销(&U)");

            case StringId.CalcError: return("计算错误");

            case StringId.CalcButtonBack: return("后退");

            case StringId.CalcButtonSqrt: return("平方根");

            case StringId.LookUpColumnDefaultName: return("名称");

            case StringId.NavigatorEndEditButtonHint: return("结束编辑");

            case StringId.NotValidArrayLength: return("无效的数组长度。");

            case StringId.ColorTabWeb: return("网页");

            case StringId.PictureEditMenuSave: return("保存");

            case StringId.PictureEditMenuCopy: return("复制");

            case StringId.PictureEditMenuLoad: return("调用");

            case StringId.NavigatorFirstButtonHint: return("第一个");

            case StringId.MaskBoxValidateError: return(@"输入值不完整,是否修正?
	
	
	是 - 返回编辑器,修正该值.
	否 -保留该值.
	取消 - 重设为原来的值."    );

            case StringId.UnknownPictureFormat: return("未知的图形格式");

            case StringId.NavigatorPreviousPageButtonHint: return("前一页");

            case StringId.XtraMessageBoxRetryButtonText: return("重试(&R)");

            case StringId.LookUpEditValueIsNull: return("[编辑值为空]");

            case StringId.CalcButtonC: return("C");

            case StringId.XtraMessageBoxCancelButtonText: return("取消(&C)l");

            case StringId.LookUpInvalidEditValueType: return("无效的 LookUpEdit 编辑值类型。");

            case StringId.NavigatorAppendButtonHint: return("追加");

            case StringId.CalcButtonMx: return("M+");

            case StringId.CalcButtonMC: return("MC");

            case StringId.CalcButtonMS: return("MS");

            case StringId.CalcButtonMR: return("MR");

            case StringId.CalcButtonCE: return("CE");

            case StringId.NavigatorCancelEditButtonHint: return("取消编辑");

            case StringId.PictureEditOpenFileErrorCaption: return("打开错误");

            case StringId.OK: return("确定(&O)");

            case StringId.CheckChecked: return("校验");

            case StringId.TextEditMenuPaste: return("粘贴(&P)");

            case StringId.TextEditMenuDelete: return("删除(&D)");

            case StringId.ColorTabSystem: return("系统");

            case StringId.PictureEditMenuPaste: return("粘贴");

            case StringId.XtraMessageBoxYesButtonText: return("是(&Y)");

            case StringId.InvalidValueText: return("无效值");

            case StringId.PictureEditMenuDelete: return("删除");

            case StringId.NavigatorPreviousButtonHint: return("前一个");

            case StringId.ColorTabCustom: return("自定义");

            case StringId.FilterGroupAnd: return("与");

            case StringId.FilterClauseEquals: return("等于");

            case StringId.FilterEmptyEnter: return("(请输入)");

            case StringId.FilterToolTipNodeAdd: return("在组中添加一个新的条件");

            case StringId.FilterToolTipKeysAdd: return("用于插入或添加可以关键字");


            case StringId.FilterClauseDoesNotEqual: return("不等于空");

            case StringId.FilterClauseGreater: return("大于");

            case StringId.FilterClauseGreaterOrEqual: return("大于等于");

            case StringId.FilterClauseLess: return("小于");

            case StringId.FilterClauseLessOrEqual: return("小于等于");

            case StringId.FilterClauseBetween: return("包含范围");

            case StringId.FilterClauseNotBetween: return("不包含范围");

            case StringId.FilterClauseIsNull: return("空");

            case StringId.FilterClauseIsNotNull: return("非空");

            case StringId.FilterClauseAnyOf: return("位于");

            case StringId.FilterClauseNoneOf: return("不位于");

            case StringId.FilterToolTipKeysRemove: return("用于删除或减少一个关键字");

            case StringId.FilterToolTipNodeRemove: return("移除这个条件");


            case StringId.FilterGroupOr: return("或者");

            case StringId.FilterGroupNotAnd: return("非与");

            case StringId.FilterGroupNotOr: return("非或");

            case StringId.FilterMenuConditionAdd: return("添加条件");

            case StringId.FilterMenuGroupAdd: return("添加分组");

            case StringId.FilterMenuClearAll: return("清楚所有");

            case StringId.FilterClauseLike: return("包含");

            case StringId.FilterClauseNotLike: return("不包含");

            case StringId.FilterClauseIsNullOrEmpty: return("空或‘’");

            case StringId.FilterClauseIsNotNullOrEmpty: return("非空或‘’");

            case StringId.FilterCriteriaToStringGroupOperatorAnd: return("与");

            case StringId.FilterCriteriaToStringGroupOperatorOr: return("或");

            case StringId.FilterCriteriaToStringUnaryOperatorNot: return("非");

            case StringId.FilterMenuRowRemove: return("移除分组");

            case StringId.FilterClauseBetweenAnd: return("与");

            case StringId.FilterCriteriaToStringUnaryOperatorIsNull: return("为空");

            case StringId.FilterCriteriaToStringIsNotNull: return("不为空");

            case StringId.FilterCriteriaToStringBetween: return("范围");

            case StringId.FilterCriteriaToStringIn: return("在");

            case StringId.FilterClauseContains: return("在其中");

            case StringId.FilterCriteriaToStringBinaryOperatorLike: return("包含");

            case StringId.FilterClauseDoesNotContain: return("不在其中");

            case StringId.FilterClauseBeginsWith: return("开始于");

            case StringId.FilterClauseEndsWith: return("结束于");


            case StringId.FilterCriteriaToStringFunctionContains: return("在其中");

            case StringId.FilterCriteriaToStringFunctionStartsWith: return("开始于");

            case StringId.FilterCriteriaToStringFunctionEndsWith: return("开始于");

            case StringId.FilterCriteriaToStringFunctionIsNullOrEmpty: return("非空或‘’");

            case StringId.FilterCriteriaToStringNotLike: return("不包含");
            }

            return(base.GetLocalizedString(id));
        }