You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
3.1 KiB
73 lines
3.1 KiB
using DevExpress.XtraBars.Customization; |
|
using DevExpress.XtraBars.Localization; |
|
using System; |
|
using System.Collections.Generic; |
|
using System.Linq; |
|
using System.Text; |
|
using System.Threading.Tasks; |
|
|
|
namespace KGIS.Plugin.LayerProperty.View.UC_Controls |
|
{ |
|
public class DxperienceXtraBarsLocalizationCHS : BarLocalizer |
|
{ |
|
protected override CustomizationControl CreateCustomizationControl() |
|
{ |
|
return new DevExpressXtraBarsCustomizationLocalizationCHS(); |
|
} |
|
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 "随机"; |
|
case BarString.RibbonToolbarAbove: |
|
return "在上面显示快速工具条"; |
|
case BarString.RibbonToolbarBelow: |
|
return "在下面显示快速工具条"; |
|
case BarString.RibbonToolbarAdd: |
|
return "添加到快速工具条"; |
|
case BarString.RibbonToolbarMinimizeRibbon: |
|
return "最小化工具条"; |
|
case BarString.RibbonToolbarRemove: |
|
return "从快速工具条中移除"; |
|
case BarString.RibbonUnassignedPages: |
|
return "未指定的页面"; |
|
} |
|
return base.GetLocalizedString(id); |
|
} |
|
} |
|
}
|
|
|