Don't use "embed" when referring to inserting from URL.
Props nacin fixes #22603 git-svn-id: http://core.svn.wordpress.org/trunk@22868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
11c5f2c1fc
commit
2c1d52526a
|
@ -1469,7 +1469,7 @@
|
||||||
priority: 60
|
priority: 60
|
||||||
}),
|
}),
|
||||||
embed: {
|
embed: {
|
||||||
text: l10n.embedFromUrlTitle,
|
text: l10n.fromUrlTitle,
|
||||||
priority: 80
|
priority: 80
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -2079,7 +2079,7 @@
|
||||||
var controller = this.options.controller;
|
var controller = this.options.controller;
|
||||||
|
|
||||||
_.defaults( this.options, {
|
_.defaults( this.options, {
|
||||||
text: l10n.insertEmbed
|
text: l10n.insertIntoPost
|
||||||
});
|
});
|
||||||
|
|
||||||
media.view.Toolbar.Select.prototype.initialize.apply( this, arguments );
|
media.view.Toolbar.Select.prototype.initialize.apply( this, arguments );
|
||||||
|
|
|
@ -1453,9 +1453,8 @@ function wp_enqueue_media( $args = array() ) {
|
||||||
'insertIntoPost' => $hier ? __( 'Insert into page' ) : __( 'Insert into post' ),
|
'insertIntoPost' => $hier ? __( 'Insert into page' ) : __( 'Insert into post' ),
|
||||||
'uploadedToThisPost' => $hier ? __( 'Uploaded to this page' ) : __( 'Uploaded to this post' ),
|
'uploadedToThisPost' => $hier ? __( 'Uploaded to this page' ) : __( 'Uploaded to this post' ),
|
||||||
|
|
||||||
// Embed
|
// From URL
|
||||||
'embedFromUrlTitle' => __( 'Embed From URL' ),
|
'fromUrlTitle' => __( 'From URL' ),
|
||||||
'insertEmbed' => __( 'Insert embed' ),
|
|
||||||
|
|
||||||
// Gallery
|
// Gallery
|
||||||
'createGalleryTitle' => __( 'Create Gallery' ),
|
'createGalleryTitle' => __( 'Create Gallery' ),
|
||||||
|
|
Loading…
Reference in New Issue