Media: Rename the dialog to 'Add Media' from 'Insert Media' to match the button. see #21390.

git-svn-id: http://core.svn.wordpress.org/trunk@22895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-11-28 17:18:50 +00:00
parent 6030689e50
commit 38b46e44ea
2 changed files with 2 additions and 2 deletions

View File

@ -368,7 +368,7 @@
workflow = workflows[ id ] = wp.media( _.defaults( options || {}, { workflow = workflows[ id ] = wp.media( _.defaults( options || {}, {
frame: 'post', frame: 'post',
title: wp.media.view.l10n.insertMedia, title: wp.media.view.l10n.addMedia,
multiple: true multiple: true
} ) ); } ) );

View File

@ -1440,7 +1440,7 @@ function wp_enqueue_media( $args = array() ) {
$strings = array( $strings = array(
// Generic // Generic
'url' => __( 'URL' ), 'url' => __( 'URL' ),
'insertMedia' => __( 'Insert Media' ), 'addMedia' => __( 'Add Media' ),
'search' => __( 'Search' ), 'search' => __( 'Search' ),
'select' => __( 'Select' ), 'select' => __( 'Select' ),
'cancel' => __( 'Cancel' ), 'cancel' => __( 'Cancel' ),