diff --git a/footer.php b/footer.php index c44ce3eb..ed7a1937 100644 --- a/footer.php +++ b/footer.php @@ -15,9 +15,15 @@ diff --git a/inc/template-tags.php b/inc/template-tags.php index 7aa07144..ca9616f2 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -25,11 +25,13 @@ function _s_posted_on() { ); $posted_on = sprintf( + /* translators: %s: post date. */ esc_html_x( 'Posted on %s', 'post date', '_s' ), '' . $time_string . '' ); $byline = sprintf( + /* translators: %s: post author. */ esc_html_x( 'by %s', 'post author', '_s' ), '' . esc_html( get_the_author() ) . '' ); @@ -49,12 +51,14 @@ function _s_entry_footer() { /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category_list( esc_html__( ', ', '_s' ) ); if ( $categories_list && _s_categorized_blog() ) { + /* translators: 1: list of categories. */ printf( '' . esc_html__( 'Posted in %1$s', '_s' ) . '', $categories_list ); // WPCS: XSS OK. } /* translators: used between list items, there is a space after the comma */ $tags_list = get_the_tag_list( '', esc_html__( ', ', '_s' ) ); if ( $tags_list ) { + /* translators: 1: list of tags. */ printf( '' . esc_html__( 'Tagged %1$s', '_s' ) . '', $tags_list ); // WPCS: XSS OK. } } diff --git a/search.php b/search.php index c2cec525..4ab5676c 100644 --- a/search.php +++ b/search.php @@ -16,7 +16,10 @@ get_header(); ?> if ( have_posts() ) : ?> -

Get started here.', '_s' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( admin_url( 'post-new.php' ) ) ); ?>

+

Get started here.', '_s' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( admin_url( 'post-new.php' ) ) ); + ?>