Make WordPress Core

Ticket #3863: 3863.2.diff

File 3863.2.diff, 2.3 KB (added by rob1n, 18 years ago)
  • wp-admin/edit-comments.php

     
    153153
    154154<?php comment_text() ?>
    155155
    156 <p><?php comment_date('M j, g:i A');  ?> &#8212; [
     156<p><?php comment_date(__('M j, g:i A'));  ?> &#8212; [
    157157<?php
    158158if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
    159159        echo " <a href='comment.php?action=editcomment&amp;c=".$comment->comment_ID."'>" .  __('Edit') . '</a>';
  • wp-admin/edit.php

     
    177177
    178178        case 'date':
    179179                ?>
    180                 <td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Unpublished'); else the_time(_('Y-m-d \<\b\r \/\> g:i:s a')); ?></td>
     180                <td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Unpublished'); else the_time(__('Y-m-d \<\b\r \/\> g:i:s a')); ?></td>
    181181                <?php
    182182                break;
    183183        case 'title':
  • wp-admin/moderation.php

     
    121121        ?>
    122122        <p><strong><?php comment_author() ?></strong> <?php if ($comment->comment_author_email) { ?>| <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_url && 'http://' != $comment->comment_author_url) { ?> | <?php comment_author_url_link() ?> <?php } ?>| <?php _e('IP:') ?> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p>
    123123<?php comment_text() ?>
    124 <p><?php comment_date('M j, g:i A'); ?> &#8212; [ <?php
     124<p><?php comment_date(__('M j, g:i A')); ?> &#8212; [ <?php
    125125echo '<a href="comment.php?action=editcomment&amp;c='.$comment->comment_ID.'">' . __('Edit') . '</a> | ';
    126126echo " <a href=\"post.php?action=deletecomment&amp;p=".$comment->comment_post_ID."&amp;comment=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment', $comment->comment_ID, '" . js_escape(sprintf(__("You are about to delete this comment by '%s'.\n'Cancel' to stop, 'OK' to delete."), $comment->comment_author )) . "', theCommentList );\">" . __('Delete') . "</a> | "; ?>
    127127<?php