diff options
Diffstat (limited to 'themes/twentysixteen/template-parts')
6 files changed, 17 insertions, 9 deletions
diff --git a/themes/twentysixteen/template-parts/biography.php b/themes/twentysixteen/template-parts/biography.php index 9e2e5b87..15aa70cd 100644 --- a/themes/twentysixteen/template-parts/biography.php +++ b/themes/twentysixteen/template-parts/biography.php @@ -12,7 +12,7 @@ <div class="author-avatar"> <?php /** - * Filter the Twenty Sixteen author bio avatar size. + * Filters the Twenty Sixteen author bio avatar size. * * @since Twenty Sixteen 1.0 * @@ -30,7 +30,10 @@ <p class="author-bio"> <?php the_author_meta( 'description' ); ?> <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> - <?php printf( __( 'View all posts by %s', 'twentysixteen' ), get_the_author() ); ?> + <?php + /* translators: %s: The post author display name. */ + printf( __( 'View all posts by %s', 'twentysixteen' ), get_the_author() ); + ?> </a> </p><!-- .author-bio --> </div><!-- .author-description --> diff --git a/themes/twentysixteen/template-parts/content-none.php b/themes/twentysixteen/template-parts/content-none.php index b6b7e7c0..ad401cf9 100644 --- a/themes/twentysixteen/template-parts/content-none.php +++ b/themes/twentysixteen/template-parts/content-none.php @@ -16,7 +16,12 @@ <div class="page-content"> <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> - <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentysixteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p> + <p> + <?php + /* translators: %s: Post editor URL. */ + printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentysixteen' ), esc_url( admin_url( 'post-new.php' ) ) ); + ?> + </p> <?php elseif ( is_search() ) : ?> diff --git a/themes/twentysixteen/template-parts/content-page.php b/themes/twentysixteen/template-parts/content-page.php index 689972c0..58af8e0b 100644 --- a/themes/twentysixteen/template-parts/content-page.php +++ b/themes/twentysixteen/template-parts/content-page.php @@ -35,7 +35,7 @@ <?php edit_post_link( sprintf( - /* translators: %s: Name of current post */ + /* translators: %s: Post title. */ __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ), get_the_title() ), diff --git a/themes/twentysixteen/template-parts/content-search.php b/themes/twentysixteen/template-parts/content-search.php index 7d587f65..6a912eb0 100644 --- a/themes/twentysixteen/template-parts/content-search.php +++ b/themes/twentysixteen/template-parts/content-search.php @@ -24,7 +24,7 @@ <?php edit_post_link( sprintf( - /* translators: %s: Name of current post */ + /* translators: %s: Post title. */ __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ), get_the_title() ), @@ -39,7 +39,7 @@ <?php edit_post_link( sprintf( - /* translators: %s: Name of current post */ + /* translators: %s: Post title. */ __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ), get_the_title() ), diff --git a/themes/twentysixteen/template-parts/content-single.php b/themes/twentysixteen/template-parts/content-single.php index 23e18373..1eb9f267 100644 --- a/themes/twentysixteen/template-parts/content-single.php +++ b/themes/twentysixteen/template-parts/content-single.php @@ -43,7 +43,7 @@ <?php edit_post_link( sprintf( - /* translators: %s: Name of current post */ + /* translators: %s: Post title. */ __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ), get_the_title() ), diff --git a/themes/twentysixteen/template-parts/content.php b/themes/twentysixteen/template-parts/content.php index 03b4cfb6..1497c76c 100644 --- a/themes/twentysixteen/template-parts/content.php +++ b/themes/twentysixteen/template-parts/content.php @@ -23,9 +23,9 @@ <div class="entry-content"> <?php - /* translators: %s: Name of current post */ the_content( sprintf( + /* translators: %s: Post title. */ __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ), get_the_title() ) @@ -49,7 +49,7 @@ <?php edit_post_link( sprintf( - /* translators: %s: Name of current post */ + /* translators: %s: Post title. */ __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ), get_the_title() ), |