From 52320dc5b33ce869bc23831a9b8eb0bf96690716 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 19 Sep 2012 16:55:43 +0000 Subject: [PATCH] It is 'Alternative Text', not 'Alternate Text'. props alecrust, RyanJKoehler. fixes #21176. git-svn-id: http://core.svn.wordpress.org/trunk@21917 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/media.php | 4 ++-- wp-includes/js/tinymce/langs/wp-langs.php | 2 +- wp-includes/pluggable.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 2ef4a75d79..ef7e3a929d 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -807,7 +807,7 @@ function image_attachment_fields_to_edit($form_fields, $post) { $form_fields['image_alt'] = array( 'value' => $alt, - 'label' => __('Alternate Text'), + 'label' => __('Alternative Text'), 'helps' => __('Alt text for the image, e.g. “The Mona Lisa”') ); @@ -1975,7 +1975,7 @@ function wp_media_insert_url_form( $default_view = 'image' ) { - +

' . __('Alt text for the image, e.g. “The Mona Lisa”') . '

diff --git a/wp-includes/js/tinymce/langs/wp-langs.php b/wp-includes/js/tinymce/langs/wp-langs.php index 1f702ddc7b..9de90c2e0b 100644 --- a/wp-includes/js/tinymce/langs/wp-langs.php +++ b/wp-includes/js/tinymce/langs/wp-langs.php @@ -546,7 +546,7 @@ function wp_mce_translation() { 's130' => __('130%'), 'img_title' => __('Title'), 'caption' => __('Caption'), - 'alt' => __('Alternate Text') + 'alt' => __('Alternative Text') ); $locale = _WP_Editors::$mce_locale; diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 94e505dcdf..3a8e639245 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -1578,7 +1578,7 @@ if ( !function_exists( 'get_avatar' ) ) : * @param int|string|object $id_or_email A user ID, email address, or comment object * @param int $size Size of the avatar image * @param string $default URL to a default image to use if no avatar is available - * @param string $alt Alternate text to use in image tag. Defaults to blank + * @param string $alt Alternative text to use in image tag. Defaults to blank * @return string tag for the user's avatar */ function get_avatar( $id_or_email, $size = '96', $default = '', $alt = false ) {