diff --git a/src/wp-content/themes/twentynineteen/comments.php b/src/wp-content/themes/twentynineteen/comments.php index 5e734d417e..3cd1768824 100644 --- a/src/wp-content/themes/twentynineteen/comments.php +++ b/src/wp-content/themes/twentynineteen/comments.php @@ -87,13 +87,22 @@ $discussion = twentynineteen_get_discussion_data(); // Show comment navigation. if ( have_comments() ) : - $prev_icon = twentynineteen_get_icon_svg( 'chevron_left', 22 ); - $next_icon = twentynineteen_get_icon_svg( 'chevron_right', 22 ); - $comments_text = __( 'Comments', 'twentynineteen' ); + $prev_icon = twentynineteen_get_icon_svg( 'chevron_left', 22 ); + $next_icon = twentynineteen_get_icon_svg( 'chevron_right', 22 ); the_comments_navigation( array( - 'prev_text' => sprintf( '%s %s %s', $prev_icon, __( 'Previous', 'twentynineteen' ), __( 'Comments', 'twentynineteen' ) ), - 'next_text' => sprintf( '%s %s %s', __( 'Next', 'twentynineteen' ), __( 'Comments', 'twentynineteen' ), $next_icon ), + 'prev_text' => sprintf( + '%1$s %2$s', + $prev_icon, + /* translators: Comments navigation link text. The secondary-text element is hidden on small screens. */ + __( 'Previous Comments', 'twentynineteen' ) + ), + 'next_text' => sprintf( + '%1$s %2$s', + /* translators: Comments navigation link text. The secondary-text element is hidden on small screens. */ + __( 'Next Comments', 'twentynineteen' ), + $next_icon + ), ) ); endif;