Changeset 50233
- Timestamp:
- 02/07/2021 12:26:41 PM (4 years ago)
- Location:
- trunk/src/wp-content/themes/twentytwentyone
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone/comments.php
r49866 r50233 37 37 <?php 38 38 printf( 39 /* translators: %s: comment count number. */39 /* translators: %s: Comment count number. */ 40 40 esc_html( _nx( '%s comment', '%s comments', $twenty_twenty_one_comment_count, 'Comments title', 'twentytwentyone' ) ), 41 41 esc_html( number_format_i18n( $twenty_twenty_one_comment_count ) ) -
trunk/src/wp-content/themes/twentytwentyone/image.php
r49826 r50233 43 43 'before' => '<nav class="page-links" aria-label="' . esc_attr__( 'Page', 'twentytwentyone' ) . '">', 44 44 'after' => '</nav>', 45 /* translators: %: page number. */45 /* translators: %: Page number. */ 46 46 'pagelink' => esc_html__( 'Page %', 'twentytwentyone' ), 47 47 ) … … 56 56 echo '<span class="posted-on">'; 57 57 printf( 58 /* translators: %s: parent post. */58 /* translators: %s: Parent post. */ 59 59 esc_html__( 'Published in %s', 'twentytwentyone' ), 60 60 '<a href="' . esc_url( get_the_permalink( wp_get_post_parent_id( $post ) ) ) . '">' . esc_html( get_the_title( wp_get_post_parent_id( $post ) ) ) . '</a>' -
trunk/src/wp-content/themes/twentytwentyone/inc/template-tags.php
r49866 r50233 26 26 echo '<span class="posted-on">'; 27 27 printf( 28 /* translators: %s: publish date. */28 /* translators: %s: Publish date. */ 29 29 esc_html__( 'Published %s', 'twentytwentyone' ), 30 30 $time_string // phpcs:ignore WordPress.Security.EscapeOutput … … 46 46 echo '<span class="byline">'; 47 47 printf( 48 /* translators: %s author name. */48 /* translators: %s: Author name. */ 49 49 esc_html__( 'By %s', 'twentytwentyone' ), 50 50 '<a href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" rel="author">' . esc_html( get_the_author() ) . '</a>' … … 101 101 echo '<div class="post-taxonomies">'; 102 102 103 /* translators: used between list items, there is a space after the comma. */103 /* translators: Used between list items, there is a space after the comma. */ 104 104 $categories_list = get_the_category_list( __( ', ', 'twentytwentyone' ) ); 105 105 if ( $categories_list ) { 106 106 printf( 107 /* translators: %s: list of categories. */107 /* translators: %s: List of categories. */ 108 108 '<span class="cat-links">' . esc_html__( 'Categorized as %s', 'twentytwentyone' ) . ' </span>', 109 109 $categories_list // phpcs:ignore WordPress.Security.EscapeOutput … … 111 111 } 112 112 113 /* translators: used between list items, there is a space after the comma. */113 /* translators: Used between list items, there is a space after the comma. */ 114 114 $tags_list = get_the_tag_list( '', __( ', ', 'twentytwentyone' ) ); 115 115 if ( $tags_list ) { 116 116 printf( 117 /* translators: %s: list of tags. */117 /* translators: %s: List of tags. */ 118 118 '<span class="tags-links">' . esc_html__( 'Tagged %s', 'twentytwentyone' ) . '</span>', 119 119 $tags_list // phpcs:ignore WordPress.Security.EscapeOutput … … 145 145 echo '<div class="post-taxonomies">'; 146 146 147 /* translators: used between list items, there is a space after the comma. */147 /* translators: Used between list items, there is a space after the comma. */ 148 148 $categories_list = get_the_category_list( __( ', ', 'twentytwentyone' ) ); 149 149 if ( $categories_list ) { 150 150 printf( 151 /* translators: %s: list of categories. */151 /* translators: %s: List of categories. */ 152 152 '<span class="cat-links">' . esc_html__( 'Categorized as %s', 'twentytwentyone' ) . ' </span>', 153 153 $categories_list // phpcs:ignore WordPress.Security.EscapeOutput … … 155 155 } 156 156 157 /* translators: used between list items, there is a space after the comma. */157 /* translators: Used between list items, there is a space after the comma. */ 158 158 $tags_list = get_the_tag_list( '', __( ', ', 'twentytwentyone' ) ); 159 159 if ( $tags_list ) { 160 160 printf( 161 /* translators: %s: list of tags. */161 /* translators: %s: List of tags. */ 162 162 '<span class="tags-links">' . esc_html__( 'Tagged %s', 'twentytwentyone' ) . '</span>', 163 163 $tags_list // phpcs:ignore WordPress.Security.EscapeOutput -
trunk/src/wp-content/themes/twentytwentyone/search.php
r49826 r50233 18 18 <?php 19 19 printf( 20 /* translators: %s: search term. */20 /* translators: %s: Search term. */ 21 21 esc_html__( 'Results for "%s"', 'twentytwentyone' ), 22 22 '<span class="page-description search-term">' . esc_html( get_search_query() ) . '</span>' … … 30 30 printf( 31 31 esc_html( 32 /* translators: %d: the number of search results. */32 /* translators: %d: The number of search results. */ 33 33 _n( 34 34 'We found %d result for your search.', -
trunk/src/wp-content/themes/twentytwentyone/single.php
r49866 r50233 22 22 the_post_navigation( 23 23 array( 24 /* translators: %s: parent post link. */24 /* translators: %s: Parent post link. */ 25 25 'prev_text' => sprintf( __( '<span class="meta-nav">Published in</span><span class="post-title">%s</span>', 'twentytwentyone' ), '%title' ), 26 26 ) -
trunk/src/wp-content/themes/twentytwentyone/template-parts/content/content-none.php
r49826 r50233 19 19 <?php 20 20 printf( 21 /* translators: %s: search term. */21 /* translators: %s: Search term. */ 22 22 esc_html__( 'Results for "%s"', 'twentytwentyone' ), 23 23 '<span class="page-description search-term">' . esc_html( get_search_query() ) . '</span>' … … 40 40 printf( 41 41 '<p>' . wp_kses( 42 /* translators: 1: link to WP admin new post page. */42 /* translators: 1: Link to WP admin new post page. */ 43 43 __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentytwentyone' ), 44 44 array( -
trunk/src/wp-content/themes/twentytwentyone/template-parts/content/content-page.php
r49993 r50233 33 33 'before' => '<nav class="page-links" aria-label="' . esc_attr__( 'Page', 'twentytwentyone' ) . '">', 34 34 'after' => '</nav>', 35 /* translators: %: page number. */35 /* translators: %: Page number. */ 36 36 'pagelink' => esc_html__( 'Page %', 'twentytwentyone' ), 37 37 ) -
trunk/src/wp-content/themes/twentytwentyone/template-parts/content/content-single.php
r49993 r50233 27 27 'before' => '<nav class="page-links" aria-label="' . esc_attr__( 'Page', 'twentytwentyone' ) . '">', 28 28 'after' => '</nav>', 29 /* translators: %: page number. */29 /* translators: %: Page number. */ 30 30 'pagelink' => esc_html__( 'Page %', 'twentytwentyone' ), 31 31 ) -
trunk/src/wp-content/themes/twentytwentyone/template-parts/content/content.php
r49826 r50233 33 33 'before' => '<nav class="page-links" aria-label="' . esc_attr__( 'Page', 'twentytwentyone' ) . '">', 34 34 'after' => '</nav>', 35 /* translators: %: page number. */35 /* translators: %: Page number. */ 36 36 'pagelink' => esc_html__( 'Page %', 'twentytwentyone' ), 37 37 )
Note: See TracChangeset
for help on using the changeset viewer.