using System;
using System.Collections.Generic;
using System.Text;
using DevExpress.XtraGrid.Localization;
using DevExpress.XtraBars.Localization;
using DevExpress.XtraCharts.Localization;
using DevExpress.XtraEditors.Controls;
using DevExpress.XtraLayout.Localization;
using DevExpress.XtraNavBar;
using DevExpress.XtraPivotGrid.Localization;
using DevExpress.XtraPrinting.Localization;
using DevExpress.XtraReports.Localization;
using DevExpress.XtraScheduler.Localization;
using DevExpress.XtraTreeList.Localization;
using DevExpress.XtraVerticalGrid.Localization;
using DevExpress.XtraBars.Customization;
namespace Dxperience.LocalizationCHS
{
public class DxperienceXtraGridLocalizationCHS : GridLocalizer
{
public override string GetLocalizedString(GridStringId id)
{
switch (id)
{
case GridStringId.FileIsNotFoundError:
return "文件{0}没有找到";
case GridStringId.ColumnViewExceptionMessage:
return "是否确定修改?";
case GridStringId.CustomizationCaption:
return "自定义显示字段";
case GridStringId.CustomizationColumns:
return "列";
case GridStringId.CustomizationBands:
return "分区";
case GridStringId.PopupFilterAll:
return "(所有)";
case GridStringId.PopupFilterCustom:
return "(自定义)";
case GridStringId.PopupFilterBlanks:
return "(空值)";
case GridStringId.PopupFilterNonBlanks:
return "(非空值)";
case GridStringId.CustomFilterDialogFormCaption:
return "自定义筛选条件";
case GridStringId.CustomFilterDialogCaption:
return "条件为:";
case GridStringId.CustomFilterDialogRadioAnd:
return "并且";
case GridStringId.CustomFilterDialogRadioOr:
return "或者";
case GridStringId.CustomFilterDialogOkButton:
return "确定(&O)";
case GridStringId.CustomFilterDialogClearFilter:
return "清除筛选条件(&L)";
case GridStringId.CustomFilterDialog2FieldCheck:
return "字段";
case GridStringId.CustomFilterDialogCancelButton:
return "取消(&C)";
case GridStringId.CustomFilterDialogConditionEQU:
return "等于=";
case GridStringId.CustomFilterDialogConditionNEQ:
return "不等于<>";
case GridStringId.CustomFilterDialogConditionGT:
return "大于>";
case GridStringId.CustomFilterDialogConditionGTE:
return "大于或等于>=";
case GridStringId.CustomFilterDialogConditionLT:
return "小于<";
case GridStringId.CustomFilterDialogConditionLTE:
return "小于或等于<=";
case GridStringId.CustomFilterDialogConditionBlanks:
return "空值";
case GridStringId.CustomFilterDialogConditionNonBlanks:
return "非空值";
case GridStringId.CustomFilterDialogConditionLike:
return "包含";
case GridStringId.CustomFilterDialogConditionNotLike:
return "不包含";
case GridStringId.MenuFooterSum:
return "合计";
case GridStringId.MenuFooterMin:
return "最小";
case GridStringId.MenuFooterMax:
return "最大";
case GridStringId.MenuFooterCount:
return "计数";
case GridStringId.MenuFooterAverage:
return "平均";
case GridStringId.MenuFooterNone:
return "空";
case GridStringId.MenuFooterSumFormat:
return "合计={0:#.##}";
case GridStringId.MenuFooterMinFormat:
return "最小={0}";
case GridStringId.MenuFooterMaxFormat:
return "最大={0}";
case GridStringId.MenuFooterCountFormat:
return "{0}";
case GridStringId.MenuFooterAverageFormat:
return "平均={0:#.##}";
case GridStringId.MenuColumnSortAscending:
return "升序排序";
case GridStringId.MenuColumnSortDescending:
return "降序排序";
case GridStringId.MenuColumnGroup:
return "按此列分组";
case GridStringId.MenuColumnUnGroup:
return "取消分组";
case GridStringId.MenuColumnColumnCustomization:
return "显示/隐藏字段";
case GridStringId.MenuColumnBestFit:
return "自动调整字段宽度";
case GridStringId.MenuColumnFilter:
return "筛选";
case GridStringId.MenuColumnClearFilter:
return "清除筛选条件";
case GridStringId.MenuColumnBestFitAllColumns:
return "自动调整所有字段宽度";
case GridStringId.MenuGroupPanelFullExpand:
return "展开全部分组";
case GridStringId.MenuGroupPanelFullCollapse:
return "收缩全部分组";
case GridStringId.MenuGroupPanelClearGrouping:
return "清除所有分组";
case GridStringId.PrintDesignerGridView:
return "打印设置(表格模式)";
case GridStringId.PrintDesignerCardView:
return "打印设置(卡片模式)";
case GridStringId.PrintDesignerBandedView:
return "打印设置(区域模式)";
case GridStringId.PrintDesignerBandHeader:
return "区标题";
case GridStringId.MenuColumnGroupBox:
return "显示/隐藏分组区";
case GridStringId.CardViewNewCard:
return "新卡片";
case GridStringId.CardViewQuickCustomizationButton:
return "自定义格式";
case GridStringId.CardViewQuickCustomizationButtonFilter:
return "筛选";
case GridStringId.CardViewQuickCustomizationButtonSort:
return "排序:";
case GridStringId.GridGroupPanelText:
return "拖动列标题到这进行分组";
case GridStringId.GridNewRowText:
return "新增资料";
case GridStringId.GridOutlookIntervals:
return "一个月以上;上个月;三周前;两周前;上周;;;;;;;;昨天;今天;明天; ;;;;;;;下周;两周后;三周后;下个月;一个月之后;";
case GridStringId.PrintDesignerDescription:
return "为当前视图设置不同的打印选项.";
case GridStringId.MenuFooterCustomFormat:
return "自定={0}";
case GridStringId.MenuFooterCountGroupFormat:
return "计数={0}";
case GridStringId.MenuColumnClearSorting:
return "清除排序";
}
return base.GetLocalizedString(id);
}
}
public class DxperienceXtraBarsLocalizationCHS : BarLocalizer
{
public override string GetLocalizedString(BarString id)
{
switch (id)
{
case BarString.None:
return "";
case BarString.AddOrRemove:
return "新增或删除按钮(&A)";
case BarString.ResetBar:
return "是否确实要重置对 '{0}' 工具栏所作的修改?";
case BarString.ResetBarCaption:
return "自定义";
case BarString.ResetButton:
return "重设工具栏(&R)";
case BarString.CustomizeButton:
return "自定义(&C)...";
case BarString.ToolBarMenu:
return "重设(&R)$删除(&D)$!命名(&N)$!标准(&L)$总使用文字(&T)$在菜单中只用文字(&O)$图像与文本(&A)$!开始一组(&G)$常用的(&M)";
case BarString.ToolbarNameCaption:
return "工具栏名称(&T):";
case BarString.NewToolbarCaption:
return "新建工具栏";
case BarString.NewToolbarCustomNameFormat:
return "自定义 {0}";
case BarString.RenameToolbarCaption:
return "重新命名";
case BarString.CustomizeWindowCaption:
return "自定义";
case BarString.MenuAnimationSystem:
return "(系统默认)";
case BarString.MenuAnimationNone:
return "空";
case BarString.MenuAnimationSlide:
return "滚动";
case BarString.MenuAnimationFade:
return "减弱";
case BarString.MenuAnimationUnfold:
return "展开";
case BarString.MenuAnimationRandom:
return "随机";
}
return base.GetLocalizedString(id);
}
}
public class DxperienceXtraChartsLocalizationCHS : ChartLocalizer
{
public override string GetLocalizedString(ChartStringId id)
{
switch (id)
{
case ChartStringId.SeriesPrefix:
return "级联 ";
case ChartStringId.PalettePrefix:
return "调色板 ";
case ChartStringId.ArgumentMember:
return "参数";
case ChartStringId.ValueMember:
return "值";
case ChartStringId.LowValueMember:
return "低";
case ChartStringId.HighValueMember:
return "高";
case ChartStringId.OpenValueMember:
return "开启";
case ChartStringId.CloseValueMember:
return "关闭";
case ChartStringId.DefaultDataFilterName:
return "数据筛选";
case ChartStringId.DefaultChartTitle:
return "图表标题";
case ChartStringId.MsgSeriesViewDoesNotExist:
return "{0}级联视图不存在。";
case ChartStringId.MsgEmptyArrayOfValues:
return "数组值为空。";
case ChartStringId.MsgItemNotInCollection:
return "此聚集不能包含指定项。";
case ChartStringId.MsgIncorrectValue:
return "Incorrect value \"{0}\" for the argument \"{1}\".";
case ChartStringId.MsgIncompatiblePointType:
return "The type of the \"{0}\" point isn't compatible with the {1} scale.";
case ChartStringId.MsgIncompatibleArgumentDataMember:
return "The type of the \"{0}\" argument data member isn't compatible with the {1} scale.";
case ChartStringId.MsgDesignTimeOnlySetting:
return "此属性不能设置运行时间。";
case ChartStringId.MsgInvalidDataSource:
return "无效的数据源类型(不支持接口实施)";
case ChartStringId.MsgIncorrectDataMember:
return "The datasource doesn't contain a datamember with the \"{0}\" name.";
case ChartStringId.MsgInvalidColorEachValue:
return "This view assumes that the ColorEach property is always set to \"{0}\".";
case ChartStringId.MsgInvalidSortingKey:
return "不能设置排序关键词的值为 {0}";
case ChartStringId.MsgInvalidFilterCondition:
return "条件 {0} 不能适用于 \"{1}\" 数据";
case ChartStringId.MsgIncorrectDataAdapter:
return "{0} 对象不是数据适配器";
case ChartStringId.MsgDataSnapshot:
return "The data snapshot is complete. All series data now statically persist in the chart. Note, this also means that the chart is now in unbound mode.";
case ChartStringId.MsgModifyDefaultPaletteError:
return "调色板是默认的,于是不能被修改";
case ChartStringId.MsgAddExistingPaletteError:
return "{0} 调色板已经存在于储存裤中";
case ChartStringId.MsgInternalPropertyChangeError:
return "此属性仅仅在内部使用,你不允许改变它的值";
case ChartStringId.MsgPaletteNotFound:
return "图表不能包含 {0} 调色板";
case ChartStringId.MsgLabelSettingRuntimeError:
return "\"标签\"属性不能设置运行时间";
case ChartStringId.MsgPointOptionsSettingRuntimeError:
return "\"点选项\"属性不能设置运行时间";
case ChartStringId.MsgIncorrectMinValueOfAxisRange:
return "坐标范围的最小值应该小于最大值 ({0})";
case ChartStringId.MsgIncorrectMaxValueOfAxisRange:
return "坐标范围的最大值应该大于最小值 ({0})";
case ChartStringId.MsgIncorrectNumericPrecision:
return "精确度应该大于等于0";
case ChartStringId.MsgIncorrectAxisThickness:
return "坐标宽度应该大于0";
case ChartStringId.MsgIncorrectAxisIndent:
return "坐标缩进应该大于等于0";
case ChartStringId.MsgIncorrectBarWidth:
return "条宽应该大于等于0";
case ChartStringId.MsgIncorrectBorderThickness:
return "边框宽度应该大于0";
case ChartStringId.MsgIncorrectChartTitleIndent:
return "标题缩进应该大于等于0小于1000";
case ChartStringId.MsgIncorrectLegendMarkerSize:
return "图例大小应该大于0小于1000";
case ChartStringId.MsgIncorrectLegendSpacingVertical:
return "图例垂直间距应该大于等于0小于1000";
case ChartStringId.MsgIncorrectLegendSpacingHorizontal:
return "图例水平间距应该大于等于0小于1000";
case ChartStringId.MsgIncorrectMarkerSize:
return "标记大小应该大于1";
case ChartStringId.MsgIncorrectMarkerStarPointCount:
return "点的数目应该大于3小于101";
case ChartStringId.MsgIncorrectPieSeriesLabelColumnIndent:
return "柱型图缩进应该大于等于0";
case ChartStringId.MsgIncorrectPercentPrecision:
return "百分比的精确度应该大于0";
case ChartStringId.MsgIncorrectSeriesLabelLineLength:
return "线条长度应该大于等于0小于1000";
case ChartStringId.MsgIncorrectStripMinLimit:
return "条最小界限应该小于最大界限";
case ChartStringId.MsgIncorrectStripMaxLimit:
return "条最大界限应该大于最小界限";
case ChartStringId.MsgIncorrectLineThickness:
return "线条宽度应该大于0";
case ChartStringId.MsgIncorrectShadowSize:
return "阴影大小应该大于0";
case ChartStringId.MsgIncorrectTickmarkThickness:
return "刻度线宽度应该大于0";
case ChartStringId.MsgIncorrectTickmarkLength:
return "刻度线长度应该大于0";
case ChartStringId.MsgIncorrectTickmarkMinorCount:
return "刻度线较小的数目应该大于0小于100";
case ChartStringId.MsgIncorrectTickmarkMinorThickness:
return "刻度线较小的宽度应该大于0";
case ChartStringId.MsgIncorrectTickmarkMinorLength:
return "刻度线较小的长度应该大于0";
case ChartStringId.MsgIncorrectPercentValue:
return "百分率应该大于等于0小于等于100";
case ChartStringId.MsgIncorrectSimpleDiagramDimension:
return "简单图表的尺寸应该大于0小于100";
case ChartStringId.MsgIncorrectStockLevelLineLengthValue:
return "股票的水平线长度应该大于等于0";
case ChartStringId.MsgIncorrectReductionColorValue:
return "降低颜色值不能为空";
case ChartStringId.MsgIncorrectLabelAngle:
return "标签的角度应该大于等于-360小于等于360";
case ChartStringId.MsgIncorrectImageBounds:
return "不能创建图像为指定的大小";
case ChartStringId.MsgInternalFile:
return "指定的文件是此工程的内部文件不能被使用";
case ChartStringId.MsgIncorrectUseImageProperty:
return "图像属性不能使用在Web图表控件,请使用图像URL属性代替";
case ChartStringId.MsgIncorrectUseImageUrlProperty:
return "图像URL属性只能使用在Web图表控件,请使用图像属性代替";
case ChartStringId.MsgEmptyArgument:
return "参数不能为空。";
case ChartStringId.MsgIncorrectImageFormat:
return "不能导出图表为指定的图像格式";
case ChartStringId.MsgIncorrectValueDataMemberCount:
return "必须指定当前级联视图 {0} 数据项值。";
case ChartStringId.MsgPaletteEditingIsntAllowed:
return "编辑不允许!";
case ChartStringId.MsgPaletteDoubleClickToEdit:
return "双击进行编辑...";
case ChartStringId.MsgInvalidPaletteName:
return "Can't add a palette which has an empty name (\"\") to the palette repository. Please, specify a name for the palette.";
case ChartStringId.VerbAbout:
return "关于";
case ChartStringId.VerbAboutDescription:
return "在XtraCharts显示基本信息";
case ChartStringId.VerbPopulate:
return "填充";
case ChartStringId.VerbPopulateDescription:
return "填充图表数据源";
case ChartStringId.VerbClearDataSource:
return "清除数据源";
case ChartStringId.VerbClearDataSourceDescription:
return "清除图表数据源";
case ChartStringId.VerbDataSnapshot:
return "数据抽点打印";
case ChartStringId.VerbDataSnapshotDescription:
return "从图表范围数据源复制数据和拆分数据源。";
case ChartStringId.VerbSeries:
return "级联...";
case ChartStringId.VerbSeriesDescription:
return "打开编辑聚集级联";
case ChartStringId.VerbEditPalettes:
return "编辑调色板...";
case ChartStringId.VerbEditPalettesDescription:
return "打开编辑调色板。";
case ChartStringId.VerbWizard:
return "向导...";
case ChartStringId.VerbWizardDescription:
return "运行图表向导,允许编辑哪个图表属性。";
case ChartStringId.PieIncorrectValuesText:
return "饼图不能描绘负数。所有的值必须大于等于0。";
case ChartStringId.FontFormat:
return "{0}, {1}pt, {2}";
case ChartStringId.TrnSeriesChanged:
return "级联更改";
case ChartStringId.TrnDataFiltersChanged:
return "数据筛选更改";
case ChartStringId.TrnValueDataMembersChanged:
return "数据项值更改";
case ChartStringId.TrnChartTitlesChanged:
return "图表标题更改";
case ChartStringId.TrnPalettesChanged:
return "调色板更改";
case ChartStringId.TrnConstantLinesChanged:
return "不变行更改";
case ChartStringId.TrnStripsChanged:
return "条更改";
case ChartStringId.TrnCustomAxisLabelChanged:
return "自定坐标更改";
case ChartStringId.TrnChartWizard:
return "图表向导设置应用";
case ChartStringId.TrnSeriesdeleted:
return "删除级联";
case ChartStringId.TrnChartTitledeleted:
return "删除图表标题";
case ChartStringId.TrnConstantLinedeleted:
return "删除不变行";
case ChartStringId.AxisXDefaultTitle:
return "坐标参数";
case ChartStringId.AxisYDefaultTitle:
return "坐标值";
case ChartStringId.MenuItemAdd:
return "新增";
case ChartStringId.MenuItemInsert:
return "插入";
case ChartStringId.MenuItemdelete:
return "删除";
case ChartStringId.MenuItemClear:
return "清除";
case ChartStringId.MenuItemMoveUp:
return "往上移";
case ChartStringId.MenuItemMoveDown:
return "往下移";
case ChartStringId.WizBarSeriesLabelPositionTop:
return "顶端";
case ChartStringId.WizBarSeriesLabelPositionCenter:
return "居中";
case ChartStringId.WizPieSeriesLabelPositionInside:
return "里面";
case ChartStringId.WizPieSeriesLabelPositionOutside:
return "外面";
case ChartStringId.WizPieSeriesLabelPositionTwoColumns:
return "两列";
case ChartStringId.WizBoundSeries:
return "级联约束";
case ChartStringId.WizSeriesLabelDefaultText:
return "<空>";
case ChartStringId.WizAddProjectDataSource:
return "新增数据源...";
case ChartStringId.WizNullDataSourceConfirmation:
return "在设置数据源为空后,所有的约束级联信息将丢失。你确定要继续?";