Make WordPress Core


Ignore:
Timestamp:
06/27/2015 02:50:41 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Media modal: Use better descriptive text for "Remove" buttons.

props afercia.
fixes #32792.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r32952 r32972  
    10491049                    <span>SRC</span>
    10501050                    <input type="text" disabled="disabled" data-setting="src" value="{{ data.model.src }}" />
    1051                     <button type="button" class="button-link remove-setting"><?php _e( 'Remove' ); ?></button>
     1051                    <button type="button" class="button-link remove-setting"><?php _e( 'Remove audio source' ); ?></button>
    10521052                </label>
    10531053                <# } #>
     
    10631063                    <span><?php echo strtoupper( $type ) ?></span>
    10641064                    <input type="text" disabled="disabled" data-setting="<?php echo $type ?>" value="{{ data.model.<?php echo $type ?> }}" />
    1065                     <button type="button" class="button-link remove-setting"><?php _e( 'Remove' ); ?></button>
     1065                    <button type="button" class="button-link remove-setting"><?php _e( 'Remove audio source' ); ?></button>
    10661066                </label>
    10671067                <# } #>
     
    11321132                    <span>SRC</span>
    11331133                    <input type="text" disabled="disabled" data-setting="src" value="{{ data.model.src }}" />
    1134                     <button type="button" class="button-link remove-setting"><?php _e( 'Remove' ); ?></button>
     1134                    <button type="button" class="button-link remove-setting"><?php _e( 'Remove video source' ); ?></button>
    11351135                </label>
    11361136                <# } #>
     
    11441144                    <span><?php echo strtoupper( $type ) ?></span>
    11451145                    <input type="text" disabled="disabled" data-setting="<?php echo $type ?>" value="{{ data.model.<?php echo $type ?> }}" />
    1146                     <button type="button" class="button-link remove-setting"><?php _e( 'Remove' ); ?></button>
     1146                    <button type="button" class="button-link remove-setting"><?php _e( 'Remove video source' ); ?></button>
    11471147                </label>
    11481148                <# } #>
     
    11651165                    <span><?php _e( 'Poster Image' ); ?></span>
    11661166                    <input type="text" disabled="disabled" data-setting="poster" value="{{ data.model.poster }}" />
    1167                     <button type="button" class="button-link remove-setting"><?php _e( 'Remove' ); ?></button>
     1167                    <button type="button" class="button-link remove-setting"><?php _e( 'Remove poster image' ); ?></button>
    11681168                </label>
    11691169                <# } #>
     
    11971197                        <p>
    11981198                            <input class="content-track" type="text" value="{{ track.outerHTML }}" />
    1199                             <button type="button" class="button-link remove-setting remove-track"><?php _ex( 'Remove', 'media' ); ?></button>
     1199                            <button type="button" class="button-link remove-setting remove-track"><?php _ex( 'Remove video track', 'media' ); ?></button>
    12001200                        </p>
    12011201                        <# } ); #>
Note: See TracChangeset for help on using the changeset viewer.