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

props afercia.
fixes #32792.
Built from https://develop.svn.wordpress.org/trunk@32972


git-svn-id: http://core.svn.wordpress.org/trunk@32943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-06-27 14:51:26 +00:00
parent 2ecb586214
commit c99db2bc59
2 changed files with 7 additions and 7 deletions

View File

@ -1048,7 +1048,7 @@ function wp_print_media_templates() {
<label class="setting">
<span>SRC</span>
<input type="text" disabled="disabled" data-setting="src" value="{{ data.model.src }}" />
<button type="button" class="button-link remove-setting"><?php _e( 'Remove' ); ?></button>
<button type="button" class="button-link remove-setting"><?php _e( 'Remove audio source' ); ?></button>
</label>
<# } #>
<?php
@ -1062,7 +1062,7 @@ function wp_print_media_templates() {
<label class="setting">
<span><?php echo strtoupper( $type ) ?></span>
<input type="text" disabled="disabled" data-setting="<?php echo $type ?>" value="{{ data.model.<?php echo $type ?> }}" />
<button type="button" class="button-link remove-setting"><?php _e( 'Remove' ); ?></button>
<button type="button" class="button-link remove-setting"><?php _e( 'Remove audio source' ); ?></button>
</label>
<# } #>
<?php endforeach ?>
@ -1131,7 +1131,7 @@ function wp_print_media_templates() {
<label class="setting">
<span>SRC</span>
<input type="text" disabled="disabled" data-setting="src" value="{{ data.model.src }}" />
<button type="button" class="button-link remove-setting"><?php _e( 'Remove' ); ?></button>
<button type="button" class="button-link remove-setting"><?php _e( 'Remove video source' ); ?></button>
</label>
<# } #>
<?php foreach ( $video_types as $type ):
@ -1143,7 +1143,7 @@ function wp_print_media_templates() {
<label class="setting">
<span><?php echo strtoupper( $type ) ?></span>
<input type="text" disabled="disabled" data-setting="<?php echo $type ?>" value="{{ data.model.<?php echo $type ?> }}" />
<button type="button" class="button-link remove-setting"><?php _e( 'Remove' ); ?></button>
<button type="button" class="button-link remove-setting"><?php _e( 'Remove video source' ); ?></button>
</label>
<# } #>
<?php endforeach ?>
@ -1164,7 +1164,7 @@ function wp_print_media_templates() {
<label class="setting">
<span><?php _e( 'Poster Image' ); ?></span>
<input type="text" disabled="disabled" data-setting="poster" value="{{ data.model.poster }}" />
<button type="button" class="button-link remove-setting"><?php _e( 'Remove' ); ?></button>
<button type="button" class="button-link remove-setting"><?php _e( 'Remove poster image' ); ?></button>
</label>
<# } #>
<div class="setting preload">
@ -1196,7 +1196,7 @@ function wp_print_media_templates() {
content += track.outerHTML; #>
<p>
<input class="content-track" type="text" value="{{ track.outerHTML }}" />
<button type="button" class="button-link remove-setting remove-track"><?php _ex( 'Remove', 'media' ); ?></button>
<button type="button" class="button-link remove-setting remove-track"><?php _ex( 'Remove video track', 'media' ); ?></button>
</p>
<# } ); #>
<# } else { #>

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32971';
$wp_version = '4.3-alpha-32972';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.