Changeset 55655 for trunk/src/wp-content/themes/twentynineteen/comments.php
- Timestamp:
- 04/18/2023 08:22:08 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/comments.php
r55420 r55655 88 88 // Show comment navigation. 89 89 if ( have_comments() ) : 90 $prev_icon = twentynineteen_get_icon_svg( 'chevron_left', 22 ); 91 $next_icon = twentynineteen_get_icon_svg( 'chevron_right', 22 ); 92 $comments_text = __( 'Comments', 'twentynineteen' ); 90 $prev_icon = twentynineteen_get_icon_svg( 'chevron_left', 22 ); 91 $next_icon = twentynineteen_get_icon_svg( 'chevron_right', 22 ); 93 92 the_comments_navigation( 94 93 array( 95 'prev_text' => sprintf( '%s <span class="nav-prev-text"><span class="primary-text">%s</span> <span class="secondary-text">%s</span></span>', $prev_icon, __( 'Previous', 'twentynineteen' ), __( 'Comments', 'twentynineteen' ) ), 96 'next_text' => sprintf( '<span class="nav-next-text"><span class="primary-text">%s</span> <span class="secondary-text">%s</span></span> %s', __( 'Next', 'twentynineteen' ), __( 'Comments', 'twentynineteen' ), $next_icon ), 94 'prev_text' => sprintf( 95 '%1$s <span class="nav-prev-text">%2$s</span>', 96 $prev_icon, 97 /* translators: Comments navigation link text. The secondary-text element is hidden on small screens. */ 98 __( '<span class="primary-text">Previous</span> <span class="secondary-text">Comments</span>', 'twentynineteen' ) 99 ), 100 'next_text' => sprintf( 101 '<span class="nav-next-text">%1$s</span> %2$s', 102 /* translators: Comments navigation link text. The secondary-text element is hidden on small screens. */ 103 __( '<span class="primary-text">Next</span> <span class="secondary-text">Comments</span>', 'twentynineteen' ), 104 $next_icon 105 ), 97 106 ) 98 107 );
Note: See TracChangeset
for help on using the changeset viewer.