Polish RadDock localization provider

2 posts, 0 answers
  1. Michal Chaniewski
    Michal Chaniewski avatar
    18 posts
    Member since:
    Sep 2005

    Posted 23 Dec 2010 Link to this post

    public class PolishRadDockLocalizationProvider : RadDockLocalizationProvider
    {
        public override string GetLocalizedString(string id)
        {
            switch (id)
            {
                case RadDockStringId.ContextMenuAutoHide:
                    return "Autoukrywanie";
                case RadDockStringId.ContextMenuCancel:
                    return "Anuluj";
                case RadDockStringId.ContextMenuClose:
                    return "Zamknij";
                case RadDockStringId.ContextMenuCloseAll:
                    return "Zamknij wszystkie";
                case RadDockStringId.ContextMenuCloseAllButThis:
                    return "Zamknij wszystkie poza biezacym";
                case RadDockStringId.ContextMenuDockable:
                    return "Dokowalne";
                case RadDockStringId.ContextMenuFloating:
                    return "Plywajace";
                case RadDockStringId.ContextMenuHide:
                    return "Ukryj";
                case RadDockStringId.ContextMenuMoveToNextTabGroup:
                    return "Przenies do kolejnej grupy kart";
                case RadDockStringId.ContextMenuMoveToPreviousTabGroup:
                    return "Przenies do poprzedniej grupy kart";
                case RadDockStringId.ContextMenuNewHorizontalTabGroup:
                    return "Nowa pozioma grupa kart";
                case RadDockStringId.ContextMenuNewVerticalTabGroup:
                    return "Nowa pionowa grupa kart";
                case RadDockStringId.ContextMenuTabbedDocument:
                    return "Dokument w karcie";
                case RadDockStringId.DocumentTabStripCloseButton:
                    return "Zamknij dokument";
                case RadDockStringId.DocumentTabStripListButton:
                    return "Aktywne dokumenty";
                case RadDockStringId.ToolTabStripCloseButton:
                    return "Zamknij okno";
                case RadDockStringId.ToolTabStripDockStateButton:
                    return "Stan okna";
                case RadDockStringId.ToolTabStripPinButton:
                    return "Zadokuj";
                case RadDockStringId.ToolTabStripUnpinButton:
                    return "Autoukrywanie";
            }
     
            return string.Empty;
        }
    }

    To use it, execute somewhere in your application, once:

    RadDockLocalizationProvider.CurrentProvider = new PolishRadDockLocalizationProvider();
  2. Stefan
    Admin
    Stefan avatar
    2911 posts

    Posted 28 Dec 2010 Link to this post

    Hello Michal Chaniewski,

    Thank you very much for providing us with this localization provider. I have updated your Telerik Points as a token of our gratitude. 

    Regards,
    Stefan
    the Telerik team
    Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.