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

Props juhise.
See #39995.
Fixes #40797.

Built from https://develop.svn.wordpress.org/trunk@40784


git-svn-id: http://core.svn.wordpress.org/trunk@40642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2017-05-18 18:34:42 +00:00
parent aee7e6a1bf
commit 698c6de4da
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-beta1-40783';
$wp_version = '4.8-beta1-40784';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -30,7 +30,7 @@ class WP_Widget_Media_Audio extends WP_Widget_Media {
$this->l10n = array_merge( $this->l10n, array(
'no_media_selected' => __( 'No audio selected' ),
'add_media' => _x( 'Add File', 'label for button in the audio widget; should not be longer than ~13 characters long' ),
'add_media' => _x( 'Add Audio', 'label for button in the audio widget; should not be longer than ~13 characters long' ),
'replace_media' => _x( 'Replace Audio', 'label for button in the audio widget; should not be longer than ~13 characters long' ),
'edit_media' => _x( 'Edit Audio', 'label for button in the audio widget; should not be longer than ~13 characters long' ),
'missing_attachment' => sprintf(