diff --git a/src/wp-includes/js/media-views.js b/src/wp-includes/js/media-views.js index c13bb9ca94..e543b7a5be 100644 --- a/src/wp-includes/js/media-views.js +++ b/src/wp-includes/js/media-views.js @@ -892,6 +892,10 @@ initialize: function() { var collectionType = this.get('collectionType'); + if ( 'video' === this.get( 'type' ) ) { + collectionType = 'video-' + collectionType; + } + this.set( 'id', collectionType + '-library' ); this.set( 'toolbar', collectionType + '-add' ); this.set( 'menu', collectionType ); diff --git a/src/wp-includes/js/tinymce/langs/wp-langs-en.js b/src/wp-includes/js/tinymce/langs/wp-langs-en.js index 496afb6326..f31606d681 100644 --- a/src/wp-includes/js/tinymce/langs/wp-langs-en.js +++ b/src/wp-includes/js/tinymce/langs/wp-langs-en.js @@ -478,8 +478,6 @@ add_audio: "Add Audio", editgallery: "Edit Gallery", delgallery: "Delete Gallery", - editplaylist: "Edit Playlist", - delplaylist: "Delete Playlist", wp_fullscreen_desc: "Distraction Free Writing mode (Alt + Shift + W)" }); diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 71ac3bcf0a..5796caf28c 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -2514,12 +2514,12 @@ function wp_enqueue_media( $args = array() ) { // Playlist 'playlistDragInfo' => __( 'Drag and drop to reorder tracks.' ), 'createPlaylistTitle' => __( 'Create Audio Playlist' ), - 'editPlaylistTitle' => __( 'Edit Playlist' ), - 'cancelPlaylistTitle' => __( '← Cancel Playlist' ), - 'insertPlaylist' => __( 'Insert playlist' ), - 'updatePlaylist' => __( 'Update playlist' ), - 'addToPlaylist' => __( 'Add to playlist' ), - 'addToPlaylistTitle' => __( 'Add to Playlist' ), + 'editPlaylistTitle' => __( 'Edit Audio Playlist' ), + 'cancelPlaylistTitle' => __( '← Cancel Audio Playlist' ), + 'insertPlaylist' => __( 'Insert audio playlist' ), + 'updatePlaylist' => __( 'Update audio playlist' ), + 'addToPlaylist' => __( 'Add to audio playlist' ), + 'addToPlaylistTitle' => __( 'Add to Audio Playlist' ), // Video Playlist 'videoPlaylistDragInfo' => __( 'Drag and drop to reorder videos.' ),