diff --git a/footer.php b/footer.php index c44ce3e..ed7a193 100644 --- a/footer.php +++ b/footer.php @@ -15,9 +15,15 @@ diff --git a/header.php b/header.php index 3e489f7..f052991 100644 --- a/header.php +++ b/header.php @@ -42,7 +42,12 @@ diff --git a/inc/template-tags.php b/inc/template-tags.php index 5faede6..680a2e8 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,20 +51,34 @@ 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_x( ', ', 'list item separator', '_s' ) ); if ( $tags_list ) { + /* translators: 1: list of tags. */ printf( '' . esc_html__( 'Tagged %1$s', '_s' ) . '', $tags_list ); // WPCS: XSS OK. } } if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) { echo ''; - /* translators: %s: post title */ - comments_popup_link( sprintf( wp_kses( __( 'Leave a Comment on %s', '_s' ), array( 'span' => array( 'class' => array() ) ) ), get_the_title() ) ); + comments_popup_link( + sprintf( + wp_kses( + /* translators: %s: post title */ + __( 'Leave a Comment on %s', '_s' ), + array( + 'span' => array( + 'class' => array(), + ), + ) + ), + get_the_title() + ) + ); echo ''; } diff --git a/search.php b/search.php index c2cec52..4ab5676 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' ) ) + ); + ?>

diff --git a/template-parts/content.php b/template-parts/content.php index a61abaf..68b8468 100644 --- a/template-parts/content.php +++ b/template-parts/content.php @@ -29,8 +29,15 @@
→', '_s' ), array( 'span' => array( 'class' => array() ) ) ), + wp_kses( + /* translators: %s: Name of current post. */ + __( 'Continue reading %s ', '_s' ), + array( + 'span' => array( + 'class' => array(), + ), + ) + ), the_title( '"', '"', false ) ) );