Make WordPress Core

Ticket #28654: 28654.diff

File 28654.diff, 6.9 KB (added by DrewAPicture, 10 years ago)
  • src/wp-admin/edit-form-advanced.php

     
    319319}
    320320
    321321if ( 'post' == $post_type || 'page' == $post_type ) {
    322         $inserting_media = '<p>' . __( 'You can upload and insert media (images, audio, documents, etc.) by clicking the Add Media button. You can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post. To create an image gallery, select the images to add and click the &#8220;Create a new gallery&#8221; button.' ) . '</p>';
     322        $inserting_media  = '<p>' . __( 'You can upload and insert media (images, audio, documents, etc.) either by clicking the Add Media button, or by dragging and dropping media directly into the editor. From the Insert Media popup, you can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post.' ) . '</p>';
     323        $inserting_media .= '<p>' . __( 'To create an image gallery, select the images to add and click the &#8220;Create a new gallery&#8221; button.' ) . '</p>';
    323324        $inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. Please refer to the Codex to <a href="http://codex.wordpress.org/Embeds">learn more about embeds</a>.' ) . '</p>';
    324325
    325326        get_current_screen()->add_help_tab( array(
  • src/wp-admin/edit.php

     
    189189                        '<li>' . __('<strong>Edit</strong> takes you to the editing screen for that post. You can also reach that screen by clicking on the post title.') . '</li>' .
    190190                        '<li>' . __('<strong>Quick Edit</strong> provides inline access to the metadata of your post, allowing you to update post details without leaving this screen.') . '</li>' .
    191191                        '<li>' . __('<strong>Trash</strong> removes your post from this list and places it in the trash, from which you can permanently delete it.') . '</li>' .
    192                         '<li>' . __('<strong>Preview</strong> will show you what your draft post will look like if you publish it. View will take you to your live site to view the post. Which link is available depends on your post&#8217;s status.') . '</li>' .
     192                        '<li>' . __('<strong>View/Preview</strong> will show you what your draft post will look like if you publish it. View will take you to your live site to view the post. Which link is available depends on your post&#8217;s status.' ) . '</li>' .
    193193                '</ul>'
    194194        ) );
    195195        get_current_screen()->add_help_tab( array(
  • src/wp-admin/upload.php

     
    2929        ) );
    3030
    3131        get_current_screen()->add_help_tab( array(
    32                 'id'            => 'overview',
    33                 'title'         => __( 'Overview' ),
    34                 'content'       =>
    35                         '<p>' . __( 'All the files you&#8217;ve uploaded are listed in the Media Library, with the most recent uploads listed first. You can use the Screen Options tab to customize the display of this screen.' ) . '</p>'
     32                'id'      => 'overview',
     33                'title'   => __( 'Overview' ),
     34                'content' =>
     35                        '<p>' . _x( 'All the files you&#8217;ve uploaded are listed in the Media Library, with the most recent uploads listed first. You can narrow the list by file type/status or date using the filters at the top of the screen.', 'media grid view' ) . '</p>' .
     36                        '<p>' . _x( 'You can view media in a list view with columns or an endless media grid by toggling the grid or list icons at the top of the screen.', 'media grid view' ) . '</p>'
    3637        ) );
    3738
     39        get_current_screen()->add_help_tab( array(
     40                'id'      => 'details-modal',
     41                'title'   => __( 'Attachment Details' ),
     42                'content' =>
     43                        '<p>' . __( 'Clicking an item in the media grid will reveal an Attachment Details popup. In this popup, you&#8217;ll see a larger preview of the media item, meta information, and fields for editing the caption, title, description, and more. Any changes you make to the attachment details will be automatically saved.' ) . '</p>' .
     44                        '<p>' . __( 'Use the arrow buttons at the top of the popup, or the left and right arrow keys on your keyboard to navigate between between media items from the grid view.' ) . '</p>'
     45        ) );
     46
     47        get_current_screen()->add_help_tab( array(
     48                'id'      => 'details-modal',
     49                'title'   => __( 'Deleting Media' ),
     50                'content' =>
     51                        '<p>' . __( 'To delete one or more media items, click the Bulk Select button at the top of the screen. Select any items you wish to delete, then click the Delete Selected button. Clicking the Cancel Selection button takes you back to the media grid screen.' ) . '</p>'
     52        ) );
     53
    3854        get_current_screen()->set_help_sidebar(
    3955                '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    4056                '<p>' . __( '<a href="http://codex.wordpress.org/Media_Library_Screen" target="_blank">Documentation on Media Library</a>' ) . '</p>' .
     
    201217'id'            => 'overview',
    202218'title'         => __('Overview'),
    203219'content'       =>
    204         '<p>' . __( 'All the files you&#8217;ve uploaded are listed in the Media Library, with the most recent uploads listed first. You can use the Screen Options tab to customize the display of this screen.' ) . '</p>' .
    205         '<p>' . __( 'You can narrow the list by file type/status using the text link filters at the top of the screen. You also can refine the list by date using the dropdown menu above the media table.' ) . '</p>'
     220        '<p>' . _x( 'All the files you&#8217;ve uploaded are listed in the Media Library, with the most recent uploads listed first. You can narrow the list by file type/status or date using the filters at the top of the screen.', 'media list view' ) . '</p>' .
     221        '<p>' . _x( 'You can view media in a list view with columns or an endless media grid by toggling the grid or list icons at the top of the screen.', 'media list view' ) . '</p>' .
     222        '<p>' . __( 'Use the Screen Options tab to customize the display of this screen, including which columns to show or hide and how many items to list per page.' ) . '</p>'
    206223) );
    207224get_current_screen()->add_help_tab( array(
    208225'id'            => 'actions-links',
     
    214231'id'            => 'attaching-files',
    215232'title'         => __('Attaching Files'),
    216233'content'       =>
    217         '<p>' . __( 'If a media file has not been attached to any post, you will see that in the Attached To column, and can click on Attach File to launch a small popup that will allow you to search for a post and attach the file.' ) . '</p>'
     234        '<p>' . __( 'If a media file has not been attached to any post, you will see that in the Uploaded To column, and can click on the Attach link to launch a small popup that will allow you to search for a post or page and attach the file.' ) . '</p>'
    218235) );
    219236
    220237get_current_screen()->set_help_sidebar(