Ticket #31441: 31441.25.patch
File 31441.25.patch, 3.2 KB (added by , 10 years ago) |
---|
-
src/wp-includes/class-wp-editor.php
1052 1052 'Action' => __( 'Action' ), 1053 1053 'To move focus to other buttons use Tab or the arrow keys. To return focus to the editor press Escape or use one of the buttons.' => 1054 1054 __( 'To move focus to other buttons use Tab or the arrow keys. To return focus to the editor press Escape or use one of the buttons.' ), 1055 'When starting a new paragraph with one of these patterns followed by a space, the formatting will be applied automatically. Press Backspace or Escape to undo.' => 1056 __( 'When starting a new paragraph with one of these patterns followed by a space, the formatting will be applied automatically. Press Backspace or Escape to undo.' ), 1057 'The following patterns are replaced on pressing Enter at the end of the paragraph. Press the Undo button to undo.' => 1058 __( 'The following patterns are replaced on pressing Enter at the end of the paragraph. Press the Undo button to undo.' ), 1055 'When starting a new paragraph with one of these formatting shortcuts followed by a space, the formatting will be applied automatically. Press Backspace or Escape to undo.' => 1056 __( 'When starting a new paragraph with one of these formatting shortcuts followed by a space, the formatting will be applied automatically. Press Backspace or Escape to undo.' ), 1057 'The following formatting shortcuts are replaced on pressing Enter. Press Escape or the Undo button to undo.' => 1058 __( 'The following formatting shortcuts are replaced on pressing Enter. Press Escape or the Undo button to undo.' ), 1059 'The following formatting shortcuts are replaced on pressing Enter.' => 1060 __( 'The following formatting shortcuts are replaced on pressing Enter.' ), 1059 1061 ); 1060 1062 1061 1063 /** -
src/wp-includes/js/tinymce/plugins/wordpress/plugin.js
267 267 if ( editor.plugins.wptextpattern ) { 268 268 // Text pattern section 269 269 html = html + 270 '<h2>' + __( 'When starting a new paragraph with one of these patterns followed by a space, the formatting will be applied automatically. Press Backspace or Escape to undo.' ) + '</h2>' +270 '<h2>' + __( 'When starting a new paragraph with one of these formatting shortcuts followed by a space, the formatting will be applied automatically. Press Backspace or Escape to undo.' ) + '</h2>' + 271 271 '<table>' + 272 272 tr({ '*': 'Bullet list' }) + 273 273 tr({ '-': 'Bullet list' }) + … … 276 276 '</table>'; 277 277 278 278 html = html + 279 '<h2>' + __( 'The following patterns are replaced on pressing Enter at the end of the paragraph. Pressthe Undo button to undo.' ) + '</h2>' +279 '<h2>' + __( 'The following formatting shortcuts are replaced on pressing Enter. Press Escape or the Undo button to undo.' ) + '</h2>' + 280 280 '<table>' + 281 281 tr({ '>': 'Blockquote' }) + 282 282 tr({ '##': 'Heading 2' }) +