It is 'Alternative Text', not 'Alternate Text'. props alecrust, RyanJKoehler. fixes #21176.

git-svn-id: https://develop.svn.wordpress.org/trunk@21917 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-09-19 16:55:43 +00:00
parent 4a0d94a59e
commit 8aee69730b
3 changed files with 4 additions and 4 deletions

View File

@ -807,7 +807,7 @@ function image_attachment_fields_to_edit($form_fields, $post) {
$form_fields['image_alt'] = array( $form_fields['image_alt'] = array(
'value' => $alt, 'value' => $alt,
'label' => __('Alternate Text'), 'label' => __('Alternative Text'),
'helps' => __('Alt text for the image, e.g. “The Mona Lisa”') 'helps' => __('Alt text for the image, e.g. “The Mona Lisa”')
); );
@ -1975,7 +1975,7 @@ function wp_media_insert_url_form( $default_view = 'image' ) {
<tr class="image-only"> <tr class="image-only">
<th valign="top" scope="row" class="label"> <th valign="top" scope="row" class="label">
<span class="alignleft"><label for="alt">' . __('Alternate Text') . '</label></span> <span class="alignleft"><label for="alt">' . __('Alternative Text') . '</label></span>
</th> </th>
<td class="field"><input id="alt" name="alt" value="" type="text" aria-required="true" /> <td class="field"><input id="alt" name="alt" value="" type="text" aria-required="true" />
<p class="help">' . __('Alt text for the image, e.g. &#8220;The Mona Lisa&#8221;') . '</p></td> <p class="help">' . __('Alt text for the image, e.g. &#8220;The Mona Lisa&#8221;') . '</p></td>

View File

@ -546,7 +546,7 @@ function wp_mce_translation() {
's130' => __('130%'), 's130' => __('130%'),
'img_title' => __('Title'), 'img_title' => __('Title'),
'caption' => __('Caption'), 'caption' => __('Caption'),
'alt' => __('Alternate Text') 'alt' => __('Alternative Text')
); );
$locale = _WP_Editors::$mce_locale; $locale = _WP_Editors::$mce_locale;

View File

@ -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|string|object $id_or_email A user ID, email address, or comment object
* @param int $size Size of the avatar image * @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 $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 <img> tag for the user's avatar * @return string <img> tag for the user's avatar
*/ */
function get_avatar( $id_or_email, $size = '96', $default = '', $alt = false ) { function get_avatar( $id_or_email, $size = '96', $default = '', $alt = false ) {