diff --git a/src/wp-content/themes/twentyseventeen/inc/template-tags.php b/src/wp-content/themes/twentyseventeen/inc/template-tags.php index 9848fd59b3..7a599d1fa0 100644 --- a/src/wp-content/themes/twentyseventeen/inc/template-tags.php +++ b/src/wp-content/themes/twentyseventeen/inc/template-tags.php @@ -17,7 +17,8 @@ function twentyseventeen_posted_on() { // Get the author name; wrap it in a link. $byline = sprintf( - _x( 'by %s', 'post author', 'twentyseventeen' ), + /* translators: %s: post author */ + __( 'by %s', 'twentyseventeen' ), '' . get_the_author() . '' ); @@ -45,7 +46,11 @@ function twentyseventeen_time_link() { ); // Wrap the time string in a link, and preface it with 'Posted on'. - return '' . _x( 'Posted on', 'post date', 'twentyseventeen' ) . ' ' . $time_string . ''; + return sprintf( + /* translators: %s: post date */ + __( 'Posted on %s', 'twentyseventeen' ), + '' . $time_string . '' + ); } endif;