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

Props juhise.
See #39995.
Fixes #40797.


git-svn-id: https://develop.svn.wordpress.org/trunk@40784 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter 2017-05-18 18:33:57 +00:00
parent 379b84ce99
commit 5bfb77bc22
2 changed files with 2 additions and 2 deletions

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(

View File

@ -739,7 +739,7 @@
<button type="button" class="button change-media select-media selected">
Replace Audio </button>
<button type="button" class="button select-media not-selected">
Add File </button>
Add Audio </button>
</p>
</script>
<script type="text/html" id="tmpl-wp-media-widget-audio-preview">