using System; namespace DevComponents.DotNetBar { /// /// Contains static keys that are used to discover localized text for internal controls. /// public class LocalizationKeys { /// /// Navigation Pane collapse button tooltip text. /// public static string NavPaneCollapseButtonTooltip = "navPaneCollapseTooltip"; /// /// Navigation Pane expand button tooltip text. /// public static string NavPaneExpandButtonTooltip = "navPaneExpandTooltip"; /// /// Bar auto-hide button tooltip text. /// public static string BarAutoHideButtonTooltip="barsys_autohide_tooltip"; /// /// Bar customize button tooltip text. /// public static string BarCustomizeButtonTooltip = "barsys_customize_tooltip"; /// /// Bar close button tooltip text. /// public static string BarCloseButtonTooltip = "barsys_close_tooltip"; /// /// Bar maximize button tooltip text. /// public static string BarMaximizeButtonTooltip = "barsys_maximize_tooltip"; /// /// CustomizeItem tooltip text. /// public static string CustomizeItemTooltip = "cust_mnu_tooltip"; /// /// CustomizeItem Add/Remove text. /// public static string CustomizeItemAddRemove = "cust_mnu_addremove"; /// /// CustomizeItem text for button that opens Customize dialog. /// public static string CustomizeItemCustomize = "cust_mnu_cust"; /// /// CustomizeItem text for Reset command. /// public static string CustomizeItemReset = "cust_mnu_reset"; /// /// Tooltip text for system button that displays overflow items. /// public static string OverlfowDisplayMoreTooltip = "sys_morebuttons"; /// /// Text for Customize Dialog caption. /// public static string CustomizeDialogCaption = "cust_caption"; /// /// Text for Customize Dialog toolbars tab. /// public static string CustomizeDialogTabToolbars = "cust_tab_toolbars"; /// /// Text for Customize Dialog commands tab. /// public static string CustomizeDialogTabCommands = "cust_tab_commands"; /// /// Text for Customize Dialog options tab. /// public static string CustomizeDialogTabOptions = "cust_tab_options"; /// /// Text for Customize Dialog keyboard button. /// public static string CustomizeDialogKeyboardButton = "cust_btn_keyboard"; /// /// Text for Customize Dialog close button. /// public static string CustomizeDialogCloseButton = "cust_btn_close"; /// /// Text for Customize Dialog new toolbar button. /// public static string CustomizeDialogNewToolbarButton = "cust_btn_new"; /// /// Text for Customize Dialog rename toolbar button. /// public static string CustomizeDialogRenameToolbarButton = "cust_btn_rename"; /// /// Text for Customize Dialog delete toolbar button. /// public static string CustomizeDialogDeleteToolbarButton = "cust_btn_delete"; /// /// Text for Customize Dialog reset toolbar button. /// public static string CustomizeDialogResetToolbarButton = "cust_btn_reset"; /// /// Text for Customize Dialog label that gives following instructions to user: /// To add a command to Bar select the category and drag the command out of this box to a Bar. /// public static string CustomizeDialogLabelDragInfo = "cust_lbl_cmdsins"; /// /// Text for Customize Dialog categories label. /// public static string CustomizeDialogLabelCategories = "cust_lbl_cats"; /// /// Text for Customize Dialog toolbars label. /// public static string CustomizeDialogLabelToolbars = "cust_lbl_tlbs"; /// /// Text for Customize Dialog options tab Personalized Menus and Toolbars label. /// public static string CustomizeDialogOptionsPersonalized = "cust_lbl_pmt"; /// /// Text for Customize Dialog options tab Aways show full menus check box. /// public static string CustomizeDialogOptionsFullMenus = "cust_chk_fullmenus"; /// /// Text for Customize Dialog options tab Show full menus after a short delay check box. /// public static string CustomizeDialogOptionsFullMenusDelay = "cust_chk_delay"; /// /// Text for Customize Dialog options tab 'Reset my usage data' command. /// public static string CustomizeDialogOptionsResetUsage = "cust_btn_resetusage"; /// /// Text for Customize Dialog options tab 'Other' labe. /// public static string CustomizeDialogOptionsOther = "cust_lbl_other"; /// /// Text for Customize Dialog options tab 'Show Screen&Tips on Toolbars' check box. /// public static string CustomizeDialogOptionsScreenTips = "cust_chk_showst"; /// /// Text for Customize Dialog options tab 'Show &Shortcut Keys in ScreenTips' check box. /// public static string CustomizeDialogOptionsScreenTipsKeys = "cust_chk_showsk"; /// /// Text for Customize Dialog options tab 'Menu Animation:' label. /// public static string CustomizeDialogOptionsMenuAnimation = "cust_lbl_menuan"; /// /// Text for Customize Dialog options tab Menu Animation combo box None option. /// public static string CustomizeDialogOptionsMenuAnimationNone = "cust_cbo_none"; /// /// Text for Customize Dialog options tab Menu Animation combo box System Default option. /// public static string CustomizeDialogOptionsMenuAnimationSys = "cust_cbo_system"; /// /// Text for Customize Dialog options tab Menu Animation combo box Random option. /// public static string CustomizeDialogOptionsMenuAnimationRandom = "cust_cbo_random"; /// /// Text for Customize Dialog options tab Menu Animation combo box Unfold option. /// public static string CustomizeDialogOptionsMenuAnimationUnfold = "cust_cbo_unfold"; /// /// Text for Customize Dialog options tab Menu Animation combo box Slide option. /// public static string CustomizeDialogOptionsMenuAnimationSlide = "cust_cbo_slide"; /// /// Text for Customize Dialog Confirm delete of bar message box. /// public static string CustomizeDialogOptionsConfirmDelete = "cust_msg_delete"; /// /// Text for Reset command on customize item context menu. /// public static string CustomizeMenuReset = "cust_pm_reset"; /// /// Text for Delete item command on customize item context menu. /// public static string CustomizeMenuDelete = "cust_pm_delete"; /// /// Text for Change Name item command on customize item context menu. /// public static string CustomizeMenuChangeName = "cust_pm_name"; /// /// Text for Default Style item command on customize item context menu. /// public static string CustomizeMenuDefaultStyle = "cust_pm_stydef"; /// /// Text for Text Only item command on customize item context menu. /// public static string CustomizeMenuTextOnly = "cust_pm_stytextonly"; /// /// Text for Image And Text item command on customize item context menu. /// public static string CustomizeMenuImageAndText = "cust_pm_styimagetext"; /// /// Text for Begin Group item command on customize item context menu. /// public static string CustomizeMenuBeginGroup = "cust_pm_begingroup"; /// /// Text MdiSystemItem Minimize button. /// public static string MdiSystemItemMinimizeTooltip = "mdisystt_minimize"; /// /// Text MdiSystemItem Restore button. /// public static string MdiSystemItemRestoreTooltip = "mdisystt_restore"; /// /// Text MdiSystemItem Close button. /// public static string MdiSystemItemCloseTooltip = "mdisystt_close"; /// /// Text MdiSystemItem menu Restore command. /// public static string MdiSystemItemMenuRestore = "mdisysmenu_restore"; /// /// Text MdiSystemItem menu Move command. /// public static string MdiSystemItemMenuMove = "mdisysmenu_move"; /// /// Text MdiSystemItem menu Size command. /// public static string MdiSystemItemMenuSize = "mdisysmenu_size"; /// /// Text MdiSystemItem menu Minimize command. /// public static string MdiSystemItemMenuMinimize = "mdisysmenu_minimize"; /// /// Text MdiSystemItem menu Maximize command. /// public static string MdiSystemItemMenuMaximize = "mdisysmenu_maximize"; /// /// Text MdiSystemItem menu Close command. /// public static string MdiSystemItemMenuClose = "mdisysmenu_close"; /// /// Text MdiSystemItem menu Next command. /// public static string MdiSystemItemMenuNext = "mdisysmenu_next"; /// /// Text Navigation Bar Show More Buttons menu item. /// public static string NavBarShowMoreButtons = "navbar_showmorebuttons"; /// /// Text Navigation Bar Show Fewer Buttons menu item. /// public static string NavBarShowFewerButtons = "navbar_showfewerbuttons"; /// /// Text Navigation Bar Options menu item. /// public static string NavBarOptions = "navbar_navpaneoptions"; /// /// Text for Move Up button on Navigation Bar Options dialog box. /// public static string NavBarDialogMoveUp = "navbar_navpanedialogmoveup"; /// /// Text for Move Down button on Navigation Bar Options dialog box. /// public static string NavBarDialogMoveDown = "navbar_navpanedialogmovedown"; /// /// Text for Reset button on Navigation Bar Options dialog box. /// public static string NavBarDialogReset = "navbar_navpanedialogreset"; /// /// Text for OK button on Navigation Bar Options dialog box. /// public static string NavBarDialogOK = "navbar_navpanedialogok"; /// /// Text for Cancel button on Navigation Bar Options dialog box. /// public static string NavBarDialogCancel = "navbar_navpanedialogcancel"; /// /// Text for Navigation Bar Options dialog box title. /// public static string NavBarDialogTitle = "navbar_navpanedialogtitle"; /// /// Text for Navigation Bar Options label which is displayed above the list box which lists all the controls. /// public static string NavBarDialogListLabel = "navbar_navpanedialoglistlabel"; /// /// Text for Rename Toolbar dialog caption. /// public static string RenameBarDialogCaption = "barrename_caption"; /// /// Text for New Toolbar dialog caption. /// public static string NewBarDialogCaption = "barname_caption"; /// /// Text for Bar Name label on Bar edit dialog (either rename or new). /// public static string BarEditDialogBarNameLabel = "barname_name"; /// /// Text for OK Button on Bar edit dialog (either rename or new). /// public static string BarEditDialogBarOkButton = "barname_ok"; /// /// Text for Cancel Button on Bar edit dialog (either rename or new). /// public static string BarEditDialogBarCancelButton = "barname_cancel"; /// /// Text for Invalid Name Message on Bar edit dialog (either rename or new). /// public static string BarEditDialogInvalidNameMessage = "barname_msginvalidname"; /// /// Text displayed on Color Picker drop down Theme Colors label. /// public static string ColorPickerThemeColorsLabel = "colorpicker_themecolorslabel"; /// /// Text displayed on Color Picker drop down Standard Colors label. /// public static string ColorPickerStandardColorsLabel = "colorpicker_standardcolorslabel"; /// /// Text displayed on Color Picker drop down more colors menu item. /// public static string ColorPickerMoreColorsMenuItem = "colorpicker_morecolors"; /// /// Text for the OK Button on Color Picker dialog. /// public static string ColorPickerDialogOKButton = "colorpickerdialog_okbutton"; /// /// Text for the Cancel Button on Color Picker dialog. /// public static string ColorPickerDialogCancelButton = "colorpickerdialog_cancelbutton"; /// /// Text for the new color label on Color Picker dialog. /// public static string ColorPickerDialogNewColorLabel = "colorpickerdialog_newcolorlabel"; /// /// Text for the current color label on Color Picker dialog. /// public static string ColorPickerDialogCurrentColorLabel = "colorpickerdialog_currentcolorlabel"; /// /// Text for the colors label on the standard colors tab. /// public static string ColorPickerDialogStandardColorsLabel= "colorpickerdialog_standardcolorslabel"; /// /// Text for the colors label on the custom colors tab. /// public static string ColorPickerDialogCustomColorsLabel = "colorpickerdialog_customcolorslabel"; /// /// Text for the green component label on the custom colors tab. /// public static string ColorPickerDialogGreenLabel = "colorpickerdialog_greenlabel"; /// /// Text for the blue component label on the custom colors tab. /// public static string ColorPickerDialogBlueLabel = "colorpickerdialog_bluelabel"; /// /// Text for the red component label on the custom colors tab. /// public static string ColorPickerDialogRedLabel = "colorpickerdialog_redlabel"; /// /// Text for the Color Model label on the custom colors tab. /// public static string ColorPickerDialogColorModelLabel = "colorpickerdialog_colormodellabel"; /// /// Text for the RGB combo box item choice on the custom colors tab. /// public static string ColorPickerDialogRgbLabel = "colorpickerdialog_rgblabel"; /// /// Text for the Standard tab on color picker dialog. /// public static string ColorPickerTabStandard= "colorpickerdialog_tabstandard"; /// /// Text for the Custom tab on color picker dialog. /// public static string ColorPickerTabCustom = "colorpickerdialog_tabcustom"; /// /// Text for the Custom tab on color picker dialog. /// public static string ColorPickerCaption = "colorpickerdialog_caption"; // Ribbon Control Localization Keys /// /// Text for the Custom tab on color picker dialog. /// public static string QatCustomizeTooltip = "qat_customizetooltip"; /// /// Indicates the text for Today button displayed on the MonthCalendarItem control. /// public static string MonthCalendarTodayButtonText = "monthcalendar_todaybutton"; /// /// Indicates the text for Clear button displayed on the MonthCalendarItem control. /// public static string MonthCalendarClearButtonText = "monthcalendar_clearbutton"; /// /// Indicates the text for MessageBoxEx Abort button. /// public static string MessageBoxAbortButton = "mb_abortbutton"; /// /// Indicates the text for MessageBoxEx Cancel button. /// public static string MessageBoxCancelButton = "mb_cancelbutton"; /// /// Indicates the text for MessageBoxEx Close button. /// public static string MessageBoxCloseButton = "mb_closebutton"; /// /// Indicates the text for MessageBoxEx Continue button. /// public static string MessageBoxContinueButton = "mb_continuebutton"; /// /// Indicates the text for MessageBoxEx Help button. /// public static string MessageBoxHelpButton = "mb_helpbutton"; /// /// Indicates the text for MessageBoxEx Ignore button. /// public static string MessageBoxIgnoreButton = "mb_ignorebutton"; /// /// Indicates the text for MessageBoxEx No button. /// public static string MessageBoxNoButton = "mb_nobutton"; /// /// Indicates the text for MessageBoxEx OK button. /// public static string MessageBoxOkButton = "mb_okbutton"; /// /// Indicates the text for MessageBoxEx Retry button. /// public static string MessageBoxRetryButton = "mb_retrybutton"; /// /// Indicates the text for MessageBoxEx Try Again button. /// public static string MessageBoxTryAgainButton = "mb_tryagainbutton"; /// /// Indicates the text for MessageBoxEx Yes button. /// public static string MessageBoxYesButton = "mb_yesbutton"; /// /// Identifies Form system menu Restore item. /// public static string FormSystemMenuRestore = "FormSystemMenuRestore"; /// /// Identifies Form system menu Move item. /// public static string FormSystemMenuMove = "FormSystemMenuMove"; /// /// Identifies Form system menu Size item. /// public static string FormSystemMenuSize = "FormSystemMenuSize"; /// /// Identifies Form system menu Minimize item. /// public static string FormSystemMenuMinimize = "FormSystemMenuMinimize"; /// /// Identifies Form system menu Maximize item. /// public static string FormSystemMenuMaximize = "FormSystemMenuMaximize"; /// /// Identifies Form system menu Close item. /// public static string FormSystemMenuClose = "FormSystemMenuClose"; /// /// Identifies Time Selector OK button. /// public static string TimeSelectorOkButton = "TimeSelectorOkButton"; /// /// Identifies Time Selector Clear button. /// public static string TimeSelectorClearButton = "TimeSelectorClearButton"; /// /// Identifies Time Selector Hour Label. /// public static string TimeSelectorHourLabel = "TimeSelectorHourLabel"; /// /// Identifies Time Selector Minute Label. /// public static string TimeSelectorMinuteLabel = "TimeSelectorMinuteLabel"; #region SuperGrid Keys /// /// Identifies 'Show all' Filter Expression label. /// public static string SuperGridFilterShowAll = "SuperGrid_FilterShowAll"; /// /// Identifies 'Show null' Filter Expression label. /// public static string SuperGridFilterShowNull = "SuperGrid_FilterShowNull"; /// /// Identifies 'Show not null' Filter Expression label. /// public static string SuperGridFilterShowNotNull = "SuperGrid_FilterShowNotnull"; /// /// Identifies 'Custom' Filter Expression label. /// public static string SuperGridFilterCustom = "SuperGrid_FilterCustom"; /// /// Identifies 'Enter expression' Filter text. /// public static string SuperGridFilterEnterExpr = "SuperGrid_FilterEnterExpr"; /// /// Identifies 'Apply' Filter Expression button label. /// public static string SuperGridFilterSampleExpr = "SuperGrid_FilterSampleExpr"; /// /// Identifies 'Apply' Filter Expression button label. /// public static string SuperGridFilterCustomHelp = "SuperGrid_FilterCustomHelp"; /// /// Identifies 'Apply' Filter Expression button label. /// public static string SuperGridFilterApply = "SuperGrid_FilterApply"; /// /// Identifies 'Ok' Filter Expression button label. /// public static string SuperGridFilterOk = "SuperGrid_FilterOk"; /// /// Identifies 'Cancel' Filter Expression button label. /// public static string SuperGridFilterCancel = "SuperGrid_FilterCancel"; /// /// Identifies 'Close' Filter Expression button label. /// public static string SuperGridFilterClose = "SuperGrid_FilterClose"; /// /// Identifies 'Clear' Filter Expression button label. /// public static string SuperGridFilterClear = "SuperGrid_FilterClear"; /// /// Identifies 'Clear' Filter Expression button label. /// public static string SuperGridFilterReset = "SuperGrid_FilterReset"; /// /// Identifies Filter DateTimePicked dialog 'Filter by relative date' text. /// public static string SuperGridFilterByRelativeDate = "SuperGrid_FilterByRelativeDate"; /// /// Identifies Filter DateTimePicker dialog 'Filter by specific date' text. /// public static string SuperGridFilterBySpecificDate = "SuperGrid_FilterBySpecificDate"; /// /// Identifies Filter DateTimePicker dialog 'Filter by date range' text. /// public static string SuperGridFilterByDateRange = "SuperGrid_FilterByDateRange"; /// /// Identifies Filter DateTimePicker dialog, ByRelativeDate combo entry 'Current Month' text. /// public static string SuperGridFilterCurrentMonth = "SuperGrid_FilterCurrentMonth"; /// /// Identifies Filter DateTimePicker dialog, ByRelativeDate combo entry 'Current Year' text. /// public static string SuperGridFilterCurrentYear = "SuperGrid_FilterCurrentYear"; /// /// Identifies Filter DateTimePicker dialog, ByRelativeDate combo entry 'Last Month Period' text. /// public static string SuperGridFilterLastMonthPeriod = "SuperGrid_FilterLastMonthPeriod"; /// /// Identifies Filter DateTimePicker dialog, ByRelativeDate combo entry 'Last 3 Month Period' text. /// public static string SuperGridFilterLast3MonthPeriod = "SuperGrid_FilterLast3MonthPeriod"; /// /// Identifies Filter DateTimePicker dialog, ByRelativeDate combo entry 'Last 6 Month Period' text. /// public static string SuperGridFilterLast6MonthPeriod = "SuperGrid_FilterLast6MonthPeriod"; /// /// Identifies Filter DateTimePicker dialog, ByRelativeDate combo entry 'Last 9 Month Period' text. /// public static string SuperGridFilterLast9MonthPeriod = "SuperGridFilter_Last9MonthPeriod"; /// /// Identifies Filter DateTimePicker dialog, ByRelativeDate combo entry 'Last Year' text. /// public static string SuperGridFilterLastYear = "SuperGrid_FilterLastYear"; /// /// Identifies Filter DateTimePicker dialog, ByRelativeDate combo entry 'Last 5 Year Period' text. /// public static string SuperGridFilterLast5YearPeriod = "SuperGrid_FilterLast5YearPeriod"; /// /// Identifies Filter DateTimePicker dialog, ByRelativeDate combo entry 'Last 10 Year Period' text. /// public static string SuperGridFilterLast10YearPeriod = "SuperGrid_FilterLast10YearPeriod"; /// /// Identifies Filter expression evaluation error 'Expression error' text. /// public static string SuperGridFilterExprError = "SuperGrid_FilterExprError"; /// /// Identifies Filter expression evaluation error 'Missing parenthesis' text. /// public static string SuperGridFilterMissingParen = "SuperGrid_FilterMissingParen"; /// /// Identifies Filter expression evaluation error 'Missing quote' text. /// public static string SuperGridFilterMissingQuote = "SuperGrid_FilterMissingQuote"; /// /// Identifies Filter expression evaluation error 'Invalid number of arguments' text. /// public static string SuperGridFilterInvalidArgCount = "SuperGrid_FilterInvalidArgCount"; /// /// Identifies Filter expression evaluation error 'Invalid argument' text. /// public static string SuperGridFilterInvalidArg = "SuperGrid_FilterInvalidArg"; /// /// Identifies Filter expression evaluation error 'Invalid 'Empty' operation' text. /// public static string SuperGridFilterInvalidEmptyOp = "SuperGrid_FilterInvalidEmptyOp"; /// /// Identifies Filter expression evaluation error 'Invalid DateTime operation' text. /// public static string SuperGridFilterInvalidDateTimeOp = "SuperGrid_FilterInvalidDateTimeOp"; /// /// Identifies Filter expression evaluation error 'Invalid bool operation' text. /// public static string SuperGridFilterInvalidBoolOp = "SuperGrid_FilterInvalidBoolOp"; /// /// Identifies Filter expression evaluation error 'Invalid string operation' text. /// public static string SuperGridFilterInvalidStringOp = "SuperGrid_FilterInvalidStringOp"; /// /// Identifies Filter expression evaluation error 'Invalid numeric operation' text. /// public static string SuperGridFilterInvalidNumericOp = "SuperGrid_FilterInvalidNumericOp"; /// /// Identifies Filter expression evaluation error 'Invalid logical evaluation' text. /// public static string SuperGridFilterInvalidEval = "SuperGrid_FilterInvalidEval"; /// /// Identifies Filter expression evaluation error 'Undefined User function' text. /// public static string SuperGridFilterUndefinedFunction = "SuperGrid_FilterUndefinedFunction"; /// /// Identifies custom filter dialog title 'Custom Filter' text. /// public static string SuperGridFilterCustomFilter = "SuperGrid_FilterCustomFilter"; /// /// Identifies custom filter dialog 'New Filter' text. /// public static string SuperGridNewFilterExpr = "SuperGrid_NewFilterExpr"; /// /// Identifies custom filter dialog 'New' button text. /// public static string SuperGridNewFilter = "SuperGrid_NewFilter"; /// /// Identifies custom filter dialog 'Delete' button text. /// public static string SuperGridDeleteFilter = "SuperGrid_DeleteFilter"; /// /// Identifies custom filter dialog 'Filter Name' text. /// public static string SuperGridFilterName = "SuperGrid_FilterName"; /// /// Identifies custom filter dialog 'Description' text. /// public static string SuperGridFilterDescription = "SuperGrid_FilterDescription"; /// /// Identifies custom filter dialog 'Show in FilterPopup' text. /// public static string SuperGridShowInFilterPopup = "SuperGrid_ShowInFilterPopup"; /// /// Identifies custom filter dialog title 'Custom Filter' text. /// public static string SuperGridFilterHelpTitle = "SuperGrid_FilterHelpTitle"; /// /// Identifies the default GroupBy WaterMarkText. /// public static string SuperGridGroupByWaterMarkText = "SuperGrid_GroupByWaterMarkText"; #endregion /// /// Occurs when DotNetBar is looking for translated text for one of the internal text that are /// displayed on menus, toolbars and customize forms. You need to set Handled=true if you want /// your custom text to be used instead of the built-in system value. /// public static event DotNetBarManager.LocalizeStringEventHandler LocalizeString; internal static void InvokeLocalizeString(LocalizeEventArgs e) { if (LocalizeString != null) { LocalizeString(null, e); } } } }