Ticket #3213: 3213_3.patch

File 3213_3.patch, 1.4 KB (added by Martin Kou, 15 years ago)
  • _source/lang/en.js

     
    2727         */
    2828        dir : 'ltr',
    2929
     30        /*
     31         * Screenreader titles. Please note that screenreaders are not always capable
     32         * of reading non-English words. So be careful while translating it.
     33         */
     34        editorTitle             : 'Rich text editor, %1',
     35
    3036        // Toolbar buttons without dialogs.
    3137        source                  : 'Source',
    3238        newPage                 : 'New Page',
  • _source/plugins/wysiwygarea/plugin.js

     
    154154                                                        mainElement.setAttributes(
    155155                                                                {
    156156                                                                        role : 'region',
    157                                                                         title : 'CKEditor ' + editor.name + '. Type in text.'
     157                                                                        title : editor.lang.editorTitle.replace( '%1', editor.name )
    158158                                                                } );
    159159                                                        iframe.setAttributes(
    160160                                                                {
     
    171171                                                                'top' : '-1000000px',
    172172                                                                left : '-1000000px'
    173173                                                        } );
    174                                                         label.append( CKEDITOR.document.createText( 'CKEditor ' + editor.name ) );
     174                                                        label.append( CKEDITOR.document.createText( editor.lang.editorTitle.replace( '%1', editor.name ) ) );
    175175                                                        label.insertBefore( iframe );
    176176                                                }
    177177                                        };
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy