Make WordPress Core

Ticket #31441: 31441.25.patch

File 31441.25.patch, 3.2 KB (added by azaozz, 10 years ago)
  • src/wp-includes/class-wp-editor.php

     
    10521052                        'Action' => __( 'Action' ),
    10531053                        '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.' =>
    10541054                                __( '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.' ),
    10591061                );
    10601062
    10611063                /**
  • src/wp-includes/js/tinymce/plugins/wordpress/plugin.js

     
    267267                if ( editor.plugins.wptextpattern ) {
    268268                        // Text pattern section
    269269                        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>' +
    271271                                '<table>' +
    272272                                        tr({ '*':  'Bullet list' }) +
    273273                                        tr({ '-':  'Bullet list' }) +
     
    276276                                '</table>';
    277277
    278278                        html = html +
    279                                 '<h2>' + __( 'The following patterns are replaced on pressing Enter at the end of the paragraph. Press the 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>' +
    280280                                '<table>' +
    281281                                        tr({ '>': 'Blockquote' }) +
    282282                                        tr({ '##': 'Heading 2' }) +