From 5bfb77bc22f9936ef37ca3cbefee3bb13da1cfe0 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Thu, 18 May 2017 18:33:57 +0000 Subject: [PATCH] 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 --- src/wp-includes/widgets/class-wp-widget-media-audio.php | 2 +- tests/qunit/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/widgets/class-wp-widget-media-audio.php b/src/wp-includes/widgets/class-wp-widget-media-audio.php index 7a5462a585..46accaf4ed 100644 --- a/src/wp-includes/widgets/class-wp-widget-media-audio.php +++ b/src/wp-includes/widgets/class-wp-widget-media-audio.php @@ -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( diff --git a/tests/qunit/index.html b/tests/qunit/index.html index 5eae3771b9..c41fffe63a 100644 --- a/tests/qunit/index.html +++ b/tests/qunit/index.html @@ -739,7 +739,7 @@ + Add Audio