diff --git src/js/media/views/frame/post.js src/js/media/views/frame/post.js
index 3d78aea40f..94c412c1f4 100644
|
|
|
Post = Select.extend(/** @lends wp.media.view.MediaFrame.Post.prototype */{ |
| 468 | 468 | mainGalleryToolbar: function( view ) { |
| 469 | 469 | var controller = this; |
| 470 | 470 | |
| | 471 | var text = l10n.createNewGallery; |
| | 472 | if ( controller.options.button && controller.options.button.text ) { |
| | 473 | text = controller.options.button.text; |
| | 474 | } |
| | 475 | |
| 471 | 476 | this.selectionStatusToolbar( view ); |
| 472 | 477 | |
| 473 | 478 | view.set( 'gallery', { |
| 474 | 479 | style: 'primary', |
| 475 | | text: l10n.createNewGallery, |
| | 480 | text: text, |
| 476 | 481 | priority: 60, |
| 477 | 482 | requires: { selection: true }, |
| 478 | 483 | |