using System; using System.Text; using System.ComponentModel; namespace DevComponents.DotNetBar { /// /// Represents the class that stores text used by ribbon control only for localization purposes. /// [ToolboxItem(false), TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))] public class RibbonLocalization { #region Private Variables private string m_QatRemoveItemText = "&Remove from Quick Access Toolbar"; private string m_QatAddItemText = "&Add to Quick Access Toolbar"; private string m_QatCustomizeText = "&Customize Quick Access Toolbar..."; private string m_QatPlaceBelowRibbonText = "&Place Quick Access Toolbar below the Ribbon"; private string m_QatPlaceAboveRibbonText = "&Place Quick Access Toolbar above the Ribbon"; private string m_QatDialogOkButton = "OK"; private string m_QatDialogCancelButton = "Cancel"; private string m_QatDialogAddButton = "&Add >>"; private string m_QatDialogRemoveButton = "&Remove"; private string m_QatDialogCategoriesLabel = "&Choose commands from:"; private string m_QatDialogPlacementCheckbox = "&Place Quick Access Toolbar below the Ribbon"; private string m_QatDialogCaption = "Customize Quick Access Toolbar"; private string m_MinimizeRibbonText = "Mi&nimize the Ribbon"; private string m_MaximizeRibbonText = "&Maximize the Ribbon"; private string m_QatCustomizeMenuLabel = "Customize Quick Access Toolbar"; #endregion #region Internal Implementation /// /// Gets or sets the title text of the Quick Access Toolbar Customize dialog form. /// [Localizable(true), Description("Indicates the the title text of the Quick Access Toolbar Customize dialog form."), Category("QAT Customize Dialog")] public string QatDialogCaption { get { return m_QatDialogCaption; } set { m_QatDialogCaption = value; } } /// /// Gets or sets the text of the "Place Quick Access Toolbar below the Ribbon" check-box on the Quick Access Toolbar Customize dialog form. /// [Localizable(true), Description("Indicates the text of the 'Place Quick Access Toolbar below the Ribbon' check-box on the Quick Access Toolbar Customize dialog form."), Category("QAT Customize Dialog")] public string QatDialogPlacementCheckbox { get { return m_QatDialogPlacementCheckbox; } set { m_QatDialogPlacementCheckbox = value; } } /// /// Gets or sets the text of the Choose commands from label on the Quick Access Toolbar Customize dialog form. /// [Localizable(true), Description("Indicates the text of the Choose commands from label on the Quick Access Toolbar Customize dialog form."), Category("QAT Customize Dialog")] public string QatDialogCategoriesLabel { get { return m_QatDialogCategoriesLabel; } set { m_QatDialogCategoriesLabel = value; } } /// /// Gets or sets the text of the Remove button on the Quick Access Toolbar Customize dialog form. /// [Localizable(true), Description("Indicates the text of the Remove button on the Quick Access Toolbar Customize dialog form."), Category("QAT Customize Dialog")] public string QatDialogRemoveButton { get { return m_QatDialogRemoveButton; } set { m_QatDialogRemoveButton = value; } } /// /// Gets or sets the text of the Add button on the Quick Access Toolbar Customize dialog form. /// [Localizable(true), Description("Indicates the text of the Add button on the Quick Access Toolbar Customize dialog form."), Category("QAT Customize Dialog")] public string QatDialogAddButton { get { return m_QatDialogAddButton; } set { m_QatDialogAddButton = value; } } /// /// Gets or sets the text of the OK button on the Quick Access Toolbar Customize dialog form. /// [Localizable(true), Description("Indicates the text of the OK button on the Quick Access Toolbar Customize dialog form."), Category("QAT Customize Dialog")] public string QatDialogOkButton { get { return m_QatDialogOkButton; } set { m_QatDialogOkButton = value; } } /// /// Gets or sets the text of the Cancel button on the Quick Access Toolbar Customize dialog form. /// [Localizable(true), Description("Indicates the text of the OK button on the Quick Access Toolbar Customize dialog form."), Category("QAT Customize Dialog")] public string QatDialogCancelButton { get { return m_QatDialogCancelButton; } set { m_QatDialogCancelButton = value; } } /// /// Gets or sets the text that is used on context menu used to customize Quick Access Toolbar. /// [Localizable(true), Description("Indicates the text that is used on context menu used to customize Quick Access Toolbar."), Category("Quick Access Toolbar")] public string QatRemoveItemText { get { return m_QatRemoveItemText; } set { m_QatRemoveItemText = value; } } /// /// Gets or sets the text that is used on context menu used to customize Quick Access Toolbar. /// [Localizable(true), Description("Indicates the text that is used on context menu used to customize Quick Access Toolbar."), Category("Quick Access Toolbar")] public string QatAddItemText { get { return m_QatAddItemText; } set { m_QatAddItemText = value; } } /// /// Gets or sets the text that is used on context menu used to customize Quick Access Toolbar. /// [Localizable(true), Description("Indicates the text that is used on context menu used to customize Quick Access Toolbar."), Category("Quick Access Toolbar")] public string QatCustomizeText { get { return m_QatCustomizeText; } set { m_QatCustomizeText = value; } } /// /// Gets or sets the text that is used on Quick Access Toolbar customize menu label. /// [Localizable(true), Description("Indicates text that is used on Quick Access Toolbar customize menu label."), Category("Quick Access Toolbar")] public string QatCustomizeMenuLabel { get { return m_QatCustomizeMenuLabel; } set { m_QatCustomizeMenuLabel = value; } } /// /// Gets or sets the text that is used on context menu used to change placement of the Quick Access Toolbar. /// [Localizable(true), Description("Indicates the text that is used on context menu used to change placement of the Quick Access Toolbar."), Category("Quick Access Toolbar")] public string QatPlaceBelowRibbonText { get { return m_QatPlaceBelowRibbonText; } set { m_QatPlaceBelowRibbonText = value; } } /// /// Gets or sets the text that is used on context menu used to change placement of the Quick Access Toolbar. /// [Localizable(true), Description("Indicates the text that is used on context menu used to change placement of the Quick Access Toolbar."), Category("Quick Access Toolbar")] public string QatPlaceAboveRibbonText { get { return m_QatPlaceAboveRibbonText; } set { m_QatPlaceAboveRibbonText = value; } } /// /// Gets or sets the text that is used on context menu item used to minimize the Ribbon. /// [Localizable(true), Description("Indicates text that is used on context menu item used to minimize the Ribbon."), Category("Quick Access Toolbar")] public string MinimizeRibbonText { get { return m_MinimizeRibbonText; } set { m_MinimizeRibbonText = value; } } /// /// Gets or sets the text that is used on context menu item used to maximize the Ribbon. /// [Localizable(true), Description("Indicates text that is used on context menu item used to maximize the Ribbon."), Category("Quick Access Toolbar")] public string MaximizeRibbonText { get { return m_MaximizeRibbonText; } set { m_MaximizeRibbonText = value; } } #endregion } }