Ticket #5182: 5182_2.patch

File 5182_2.patch, 1.7 KB (added by Garry Yao, 14 years ago)
  • _source/lang/en.js

     
    110110                unavailable             : '%1<span class="cke_accessibility">, unavailable</span>'
    111111        },
    112112
     113        contextmenu :
     114        {
     115                options : 'Context Menu Options'
     116        },
     117
    113118        // Special char dialog.
    114119        specialChar             :
    115120        {
  • _source/plugins/menubutton/plugin.js

     
    3636                if ( !menu )
    3737                {
    3838                        menu = _.menu = new CKEDITOR.plugins.contextMenu( editor );
     39                        menu.definition.panel.attributes[ 'aria-label' ] = editor.lang.common.options;
    3940
    4041                        menu.onHide = CKEDITOR.tools.bind( function()
    4142                                {
  • _source/plugins/contextmenu/plugin.js

     
    3636                        },
    3737                        this);
    3838
    39                 this._.definiton =
     39                this.definition =
    4040                {
    4141                        panel:
    4242                        {
    4343                                className : editor.skinClass + ' cke_contextmenu',
    4444                                attributes :
    4545                                {
    46                                         'aria-label' : editor.lang.common.options
     46                                        'aria-label' : editor.lang.contextmenu.options
    4747                                }
    4848                        }
    4949                };
     
    6363                        }
    6464                        else
    6565                        {
    66                                 menu = this._.menu = new CKEDITOR.menu( editor, this._.definiton );
     66                                menu = this._.menu = new CKEDITOR.menu( editor, this.definition );
    6767                                menu.onClick = CKEDITOR.tools.bind( function( item )
    6868                                {
    6969                                        menu.hide();
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy