WordPress.org

Make WordPress Core

Changeset 33504


Ignore:
Timestamp:
07/29/2015 09:53:22 PM (5 years ago)
Author:
azaozz
Message:

TinyMCE: fix (again) the text in the keyboard shortcuts modal for the changed patterns.
See #31441.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r33501 r33504  
    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 when pressing Enter. Press Escape or the Undo button to undo.' =>
     1058                __( 'The following formatting shortcuts are replaced when pressing Enter. Press Escape or the Undo button to undo.' ),
     1059            'The following formatting shortcuts are replaced when pressing Enter.' =>
     1060                __( 'The following formatting shortcuts are replaced when pressing Enter.' ),
    10591061        );
    10601062
  • trunk/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js

    r33501 r33504  
    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' }) +
     
    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 when pressing Enter. Press Escape or the Undo button to undo.' ) + '</h2>' +
    280280                '<table>' +
    281281                    tr({ '>': 'Blockquote' }) +
Note: See TracChangeset for help on using the changeset viewer.