Changeset 30890
- Timestamp:
- 12/16/2014 10:06:17 AM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/l10n.css
r29539 r30890 45 45 .locale-zh-cn form.upgrade .hint { font-style: normal; font-size: 100%; } 46 46 47 /* Zn_CH: Distraction 47 /* Zn_CH: Distraction-free writing. 48 48 * More beautiful font for "Just write." 49 49 * Larger text for HTML/Visual mode. -
trunk/src/wp-admin/edit-form-advanced.php
r30842 r30890 286 286 $title_and_editor .= '<p>' . __( 'The Text mode allows you to enter HTML along with your post text. Line breaks will be converted to paragraphs automatically.' ) . '</p>'; 287 287 $title_and_editor .= '<p>' . __( 'You can insert media files by clicking the icons above the post editor and following the directions. You can align or edit images using the inline formatting toolbar available in Visual mode.' ) . '</p>'; 288 $title_and_editor .= '<p>' . __( 'You can enable distraction-free writing via the Fullscreen icon (last in the top row). This feature is not available for old browsers or devices with small screens, and requires that Editor Expandbe enabled in Screen Options.' ) . '</p>';288 $title_and_editor .= '<p>' . __( 'You can enable distraction-free writing mode using the icon to the right. This feature is not available for old browsers or devices with small screens, and requires that the full-height editor be enabled in Screen Options.' ) . '</p>'; 289 289 $title_and_editor .= '<p>' . __( 'Keyboard users: When you’re working in the visual editor, you can use <kbd>Alt + F10</kbd> to access the toolbar.' ) . '</p>'; 290 290 -
trunk/src/wp-admin/includes/template.php
r30837 r30890 2056 2056 } 2057 2057 2058 $content = '<h3>' . __( 'Distraction 2058 $content = '<h3>' . __( 'Distraction-Free Writing' ) . '</h3>'; 2059 2059 $content .= '<p>' . __( 'Enable distraction-free writing mode, and everything surrounding the editor will fade away when you start typing. Move your mouse out of the editor to reveal everything again.' ) . '</p>'; 2060 2060 -
trunk/src/wp-admin/js/editor-expand.js
r30817 r30890 1130 1130 } ); 1131 1131 }, 1132 tooltip: 'Distraction Free Writing',1132 tooltip: 'Distraction-free writing mode', 1133 1133 shortcut: 'Alt+Shift+W' 1134 1134 } ); -
trunk/src/wp-admin/js/wp-fullscreen.js
r29533 r30890 1 1 /* global deleteUserSetting, setUserSetting, switchEditors, tinymce, tinyMCEPreInit */ 2 2 /** 3 * Distraction 3 * Distraction-Free Writing 4 4 * (wp-fullscreen) 5 5 * -
trunk/src/wp-includes/class-wp-editor.php
r30839 r30890 996 996 'Insert Read More tag' => __( 'Insert Read More tag' ), 997 997 'Read more...' => __( 'Read more...' ), // Title on the placeholder inside the editor 998 'Distraction Free Writing' => __( 'Distraction Free Writing' ),998 'Distraction-free writing mode' => __( 'Distraction-free writing mode' ), 999 999 'No alignment' => __( 'No alignment' ), // Tooltip for the 'alignnone' button in the image toolbar 1000 1000 'Remove' => __( 'Remove' ), // Tooltip for the 'remove' button in the image toolbar … … 1286 1286 /** 1287 1287 * Filter the list of TinyMCE buttons for the fullscreen 1288 * 'Distraction 1288 * 'Distraction-Free Writing' editor. 1289 1289 * 1290 1290 * @since 3.2.0 -
trunk/src/wp-includes/css/editor.css
r30829 r30890 1687 1687 } 1688 1688 */ 1689 /* Distraction 1689 /* Distraction-Free Writing mode 1690 1690 * =Overlay Styles 1691 1691 -------------------------------------------------------------- */ -
trunk/src/wp-includes/js/tinymce/langs/wp-langs-en.js
r27789 r30890 479 479 editgallery: "Edit Gallery", 480 480 delgallery: "Delete Gallery", 481 wp_fullscreen_desc: "Distraction Free Writing mode (Alt + Shift + W)"481 wp_fullscreen_desc: "Distraction-free writing mode (Alt + Shift + W)" 482 482 }); 483 483 -
trunk/src/wp-includes/js/tinymce/plugins/wpfullscreen/plugin.js
r30593 r30890 1 1 /* global tinymce */ 2 2 /** 3 * WP Fullscreen (Distraction 3 * WP Fullscreen (Distraction-Free Writing) TinyMCE plugin 4 4 */ 5 5 tinymce.PluginManager.add( 'wpfullscreen', function( editor ) { … … 61 61 // Register buttons 62 62 editor.addButton( 'wp_fullscreen', { 63 tooltip: 'Distraction Free Writing',63 tooltip: 'Distraction-free writing mode', 64 64 shortcut: 'Alt+Shift+W', 65 65 onclick: toggleFullscreen, … … 68 68 69 69 editor.addMenuItem( 'wp_fullscreen', { 70 text: 'Distraction Free Writing',70 text: 'Distraction-free writing mode', 71 71 icon: 'wp_fullscreen', 72 72 shortcut: 'Alt+Shift+W', -
trunk/src/wp-includes/js/tinymce/wp-mce-help.php
r30757 r30890 116 116 <tr><th>o</th><td>1. <?php _e('List'); ?></td><th>s</th><td><?php _e('Remove link'); ?></td></tr> 117 117 <tr><th>q</th><td><?php _e('Quote'); ?></td><th>m</th><td><?php _e('Insert Image'); ?></td></tr> 118 <tr><th>w</th><td><?php _e('Distraction Free Writing mode'); ?></td><th>t</th><td><?php _e('Insert More Tag'); ?></td></tr>118 <tr><th>w</th><td><?php _e('Distraction-free writing mode'); ?></td><th>t</th><td><?php _e('Insert More Tag'); ?></td></tr> 119 119 <tr><th>p</th><td><?php _e('Insert Page Break tag'); ?></td><th>h</th><td><?php _e('Help'); ?></td></tr> 120 120 <tr><th>x</th><td><?php _e('Add/remove code tag'); ?></td><th> </th><td> </td></tr> -
trunk/src/wp-includes/script-loader.php
r30888 r30890 96 96 'textdirection' => esc_attr__( 'text direction' ), 97 97 'toggleTextdirection' => esc_attr__( 'Toggle Editor Text Direction' ), 98 'dfw' => esc_attr__( 'Distraction Free Writing' )98 'dfw' => esc_attr__( 'Distraction-free writing mode' ) 99 99 ) ); 100 100
Note: See TracChangeset
for help on using the changeset viewer.