WordPress.org

Make WordPress Core

Changeset 40784


Ignore:
Timestamp:
05/18/17 18:33:57 (5 weeks ago)
Author:
westonruter
Message:

Widgets: Use "Add Audio" for button in Audio widget instead of generic "Add File".

Props juhise.
See #39995.
Fixes #40797.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-media-audio.php

    r40640 r40784  
    3131        $this->l10n = array_merge( $this->l10n, array( 
    3232            'no_media_selected' => __( 'No audio selected' ), 
    33             'add_media' => _x( 'Add File', 'label for button in the audio widget; should not be longer than ~13 characters long' ), 
     33            'add_media' => _x( 'Add Audio', 'label for button in the audio widget; should not be longer than ~13 characters long' ), 
    3434            'replace_media' => _x( 'Replace Audio', 'label for button in the audio widget; should not be longer than ~13 characters long' ), 
    3535            'edit_media' => _x( 'Edit Audio', 'label for button in the audio widget; should not be longer than ~13 characters long' ), 
  • trunk/tests/qunit/index.html

    r40640 r40784  
    740740                        Replace Audio               </button> 
    741741                    <button type="button" class="button select-media not-selected"> 
    742                         Add File                </button> 
     742                        Add Audio               </button> 
    743743                </p> 
    744744            </script> 
Note: See TracChangeset for help on using the changeset viewer.