Media: Update gallery editing to work with the new frame view. see #21390.

git-svn-id: http://core.svn.wordpress.org/trunk@22348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Daryl Koopersmith
2012-10-31 21:43:59 +00:00
parent 08e68c1ec4
commit 62771d6824
3 changed files with 35 additions and 27 deletions

View File

@@ -325,20 +325,19 @@ function wp_default_scripts( &$scripts ) {
// Generic
'insertMedia' => __( 'Insert Media' ),
'search' => __( 'Search' ),
'cancel' => __( 'Cancel' ),
'addImages' => __( 'Add images' ),
// Library
'mediaLibrary' => __( 'Media Library' ),
'mediaLibraryTitle' => __( 'Media Library' ),
'createNewGallery' => __( 'Create a new gallery' ),
'insertIntoPost' => __( 'Insert into post' ),
'addToGallery' => __( 'Add to gallery' ),
// Gallery
'createGallery' => __( 'Create Gallery' ),
'returnToLibrary' => __( 'Return to media library' ),
'continueEditingGallery' => __( 'Continue editing gallery' ),
'insertGalleryIntoPost' => __( 'Insert gallery into post' ),
'updateGallery' => __( 'Update gallery' ),
'addImagesFromLibrary' => __( 'Add images from media library' ),
'createGalleryTitle' => __( 'Create Gallery' ),
'insertGallery' => __( 'Insert gallery' ),
'updateGallery' => __( 'Update gallery' ),
) );
$scripts->add( 'shortcode', "/wp-includes/js/shortcode$suffix.js", array( 'underscore' ), false, 1 );