Make WordPress Core

Ticket #41994: 41994.4.diff

File 41994.4.diff, 1.6 KB (added by helen, 8 years ago)
  • src/wp-includes/widgets/class-wp-widget-media-gallery.php

     
    2929
    3030                $this->l10n = array_merge( $this->l10n, array(
    3131                        'no_media_selected' => __( 'No images selected' ),
    32                         'add_media' => _x( 'Select Images', 'label for button in the gallery widget; should not be longer than ~13 characters long' ),
    33                         'replace_media' => _x( 'Replace Gallery', 'label for button in the gallery widget; should not be longer than ~13 characters long' ),
     32                        'add_media' => _x( 'Add Images', 'label for button in the gallery widget; should not be longer than ~13 characters long' ),
    3433                        'edit_media' => _x( 'Edit Gallery', 'label for button in the gallery widget; should not be longer than ~13 characters long' ),
    3534                ) );
    3635        }
  • src/wp-includes/widgets/class-wp-widget-media.php

     
    403403                                <button type="button" class="button edit-media selected">
    404404                                        <?php echo esc_html( $this->l10n['edit_media'] ); ?>
    405405                                </button>
    406                                 <button type="button" class="button change-media select-media selected">
    407                                         <?php echo esc_html( $this->l10n['replace_media'] ); ?>
    408                                 </button>
    409406                                <button type="button" class="button select-media not-selected">
    410407                                        <?php echo esc_html( $this->l10n['add_media'] ); ?>
    411408                                </button>