I18n: fix get_comment_date and edit_comment_link in comment-template.php, props tai. Add class to "Says:", fixes #8142
git-svn-id: http://svn.automattic.com/wordpress/trunk@9854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2d5dee473d
commit
6efc35e1c9
|
@ -1174,14 +1174,14 @@ class Walker_Comment extends Walker {
|
|||
<?php endif; ?>
|
||||
<div class="comment-author vcard">
|
||||
<?php if ($args['avatar_size'] != 0) echo get_avatar( $comment, $args['avatar_size'] ); ?>
|
||||
<?php printf(__('<cite class="fn">%s</cite> Says:'), get_comment_author_link()) ?>
|
||||
<cite class="fn"><?php comment_author_link(); ?></cite> <span class="says"><?php _e('says:'); ?></span>
|
||||
</div>
|
||||
<?php if ($comment->comment_approved == '0') : ?>
|
||||
<em><?php _e('Your comment is awaiting moderation.') ?></em>
|
||||
<br />
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date('F jS, Y'), get_comment_time()) ?></a><?php edit_comment_link('edit',' ','') ?></div>
|
||||
<div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),' ','') ?></div>
|
||||
|
||||
<?php comment_text() ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue