WordPress.org

Make WordPress Core

Ticket #4523: i18n-edit-comments.diff

File i18n-edit-comments.diff, 760 bytes (added by nbachiyski, 11 years ago)

Revised patch from above.

  • wp-admin/edit-comments.php

     
    164164    <td><a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></td>
    165165    <td><?php comment_excerpt(); ?></td>
    166166    <td>
    167         <?php if ('unapproved' == $comment_status) { ?>
    168                 (Unapproved)
    169         <?php } else { ?>
     167        <?php if ('unapproved' == $comment_status) {
     168                _e('Unapproved');
     169        } else { ?>
    170170                <a href="<?php echo get_permalink($comment->comment_post_ID); ?>#comment-<?php comment_ID() ?>" class="edit"><?php _e('View') ?></a>
    171171        <?php } ?>
    172172    </td>