From bdbb5bce7ac930206bb95f685c654caea59a2e80 Mon Sep 17 00:00:00 2001 From: nbachiyski Date: Mon, 13 Jun 2011 14:50:35 +0000 Subject: [PATCH] Split the comment date and time string into two and add translator comments. See #17777 git-svn-id: http://svn.automattic.com/wordpress/trunk@18303 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyeleven/functions.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentyeleven/functions.php b/wp-content/themes/twentyeleven/functions.php index 26177561f2..3d385fa130 100644 --- a/wp-content/themes/twentyeleven/functions.php +++ b/wp-content/themes/twentyeleven/functions.php @@ -513,12 +513,15 @@ function twentyeleven_comment( $comment, $args, $depth ) { echo get_avatar( $comment, $avatar_size ); - printf( __( '%1$s on %2$s%3$s at %4$s%5$s said:', 'twentyeleven' ), + /* translators: 1: comment author, 2: date and time */ + printf( __( '%1$s on %2$s said:', 'twentyeleven' ), sprintf( '%s', get_comment_author_link() ), - '' + sprintf( '', + esc_url( get_comment_link( $comment->comment_ID ) ), + get_comment_time( 'c' ), + /* translators: 1: date, 2: time*/ + sprintf( __('%1$s at %2$s', 'twentyeleven' ), get_comment_date(), get_comment_time() ) + ) ); ?>