WordPress.org

Make WordPress Core

Changeset 4974


Ignore:
Timestamp:
03/07/07 01:25:17 (7 years ago)
Author:
ryan
Message:

gettext date formats. Props rob1n and yskin. fixes #3863

Location:
trunk/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r4781 r4974  
    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) ) { 
  • trunk/wp-admin/edit.php

    r4966 r4974  
    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; 
  • trunk/wp-admin/moderation.php

    r4702 r4974  
    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> | "; ?> 
Note: See TracChangeset for help on using the changeset viewer.