Ticket #3213: 3213_3.patch
File 3213_3.patch, 1.4 KB (added by , 15 years ago) |
---|
-
_source/lang/en.js
27 27 */ 28 28 dir : 'ltr', 29 29 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 30 36 // Toolbar buttons without dialogs. 31 37 source : 'Source', 32 38 newPage : 'New Page', -
_source/plugins/wysiwygarea/plugin.js
154 154 mainElement.setAttributes( 155 155 { 156 156 role : 'region', 157 title : 'CKEditor ' + editor.name + '. Type in text.'157 title : editor.lang.editorTitle.replace( '%1', editor.name ) 158 158 } ); 159 159 iframe.setAttributes( 160 160 { … … 171 171 'top' : '-1000000px', 172 172 left : '-1000000px' 173 173 } ); 174 label.append( CKEDITOR.document.createText( 'CKEditor ' + editor.name) );174 label.append( CKEDITOR.document.createText( editor.lang.editorTitle.replace( '%1', editor.name ) ) ); 175 175 label.insertBefore( iframe ); 176 176 } 177 177 };