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:
parent
379b84ce99
commit
5bfb77bc22
@ -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(
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user