WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/13/2009 03:53:39 AM (12 years ago)
Author:
ryan
Message:

gettext comments. Props nbachiyski. see #9112

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r10748 r10774  
    744744function image_align_input_fields($post, $checked='') {
    745745
    746     $alignments = array('none' => 'None', 'left' => 'Left', 'center' => 'Center', 'right' => 'Right');
     746    $alignments = array('none' => __('None'), 'left' => __('Left'), 'center' => __('Center'), 'right' => __('Right'));
    747747    if ( !array_key_exists($checked, $alignments) )
    748748        $checked = 'none';
     
    753753        $out[] = "<input type='radio' name='attachments[{$post->ID}][align]' id='image-align-{$name}-{$post->ID}' value='$name'".
    754754            ( $checked == $name ? " checked='checked'" : "" ) .
    755             " /><label for='image-align-{$name}-{$post->ID}' class='align image-align-{$name}-label'>" . __($label) . "</label>";
     755            " /><label for='image-align-{$name}-{$post->ID}' class='align image-align-{$name}-label'>" . $label . "</label>";
    756756    }
    757757    return join("\n", $out);
Note: See TracChangeset for help on using the changeset viewer.