Twenty Twenty-One: Make translator comments referencing the post title consistent.

Follow-up to [53221].

Props SergeyBiryukov.
Fixes #55564.

git-svn-id: https://develop.svn.wordpress.org/trunk@53263 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
David Baumwald
2022-04-25 23:09:57 +00:00
parent eb0d801267
commit 9eb6c11755
3 changed files with 5 additions and 5 deletions
@@ -66,7 +66,7 @@ while ( have_posts() ) {
// Edit post link.
edit_post_link(
sprintf(
/* translators: %s: Name of current post. Only visible to screen readers. */
/* translators: %s: Post title. Only visible to screen readers. */
esc_html__( 'Edit %s', 'twentytwentyone' ),
'<span class="screen-reader-text">' . get_the_title() . '</span>'
),
@@ -91,7 +91,7 @@ while ( have_posts() ) {
// Edit post link.
edit_post_link(
sprintf(
/* translators: %s: Name of current post. Only visible to screen readers. */
/* translators: %s: Post title. Only visible to screen readers. */
esc_html__( 'Edit %s', 'twentytwentyone' ),
'<span class="screen-reader-text">' . get_the_title() . '</span>'
),
@@ -88,7 +88,7 @@ if ( ! function_exists( 'twenty_twenty_one_entry_meta_footer' ) ) {
// Edit post link.
edit_post_link(
sprintf(
/* translators: %s: Name of current post. Only visible to screen readers. */
/* translators: %s: Post title. Only visible to screen readers. */
esc_html__( 'Edit %s', 'twentytwentyone' ),
'<span class="screen-reader-text">' . get_the_title() . '</span>'
),
@@ -129,7 +129,7 @@ if ( ! function_exists( 'twenty_twenty_one_entry_meta_footer' ) ) {
// Edit post link.
edit_post_link(
sprintf(
/* translators: %s: Name of current post. Only visible to screen readers. */
/* translators: %s: Post title. Only visible to screen readers. */
esc_html__( 'Edit %s', 'twentytwentyone' ),
'<span class="screen-reader-text">' . get_the_title() . '</span>'
),
@@ -44,7 +44,7 @@
<?php
edit_post_link(
sprintf(
/* translators: %s: Name of current post. Only visible to screen readers. */
/* translators: %s: Post title. Only visible to screen readers. */
esc_html__( 'Edit %s', 'twentytwentyone' ),
'<span class="screen-reader-text">' . get_the_title() . '</span>'
),