WordPress.org

Make WordPress Core

Ticket #36863: 36863.diff

File 36863.diff, 2.2 KB (added by afercia, 4 years ago)
  • src/wp-includes/class-wp-editor.php

     
    10241024                        'Words: {0}' => sprintf( __( 'Words: %s' ), '{0}' ),
    10251025                        'Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.' => __( 'Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.' ) . "\n\n" . __( 'If you’re looking to paste rich content from Microsoft Word, try turning this option off. The editor will clean up text pasted from Word automatically.' ),
    10261026                        'Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help' => __( 'Rich Text Area. Press Alt-Shift-H for help' ),
     1027                        'Rich Text Area. Press Control-Option-H for help' => __( 'Rich Text Area. Press Control-Option-H for help' ),
    10271028                        'You have unsaved changes are you sure you want to navigate away?' => __( 'The changes you made will be lost if you navigate away from this page.' ),
    10281029                        'Your browser doesn\'t support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.' => __( 'Your browser does not support direct access to the clipboard. Please use keyboard shortcuts or your browser’s edit menu instead.' ),
    10291030
  • src/wp-includes/js/tinymce/plugins/wordpress/plugin.js

     
    226226                editor.execCommand( 'WP_More', 'nextpage' );
    227227        });
    228228
     229        // Change the iframe title attribute on Mac machines.
     230        editor.on( 'preinit', function() {
     231                var     editorIframe = document.getElementById( editor.id + '_ifr' );
     232
     233                if ( tinymce.Env.mac ) {
     234                        editorIframe.setAttribute( 'title', __( 'Rich Text Area. Press Control-Option-H for help' ) );
     235                }
     236        });
     237
    229238        editor.addCommand( 'WP_Help', function() {
    230239                var access = tinymce.Env.mac ? __( 'Ctrl + Alt + letter:' ) : __( 'Shift + Alt + letter:' ),
    231240                        meta = tinymce.Env.mac ? __( 'Cmd + letter:' ) : __( 'Ctrl + letter:' ),