diff --git a/inc/deprecated.php b/inc/deprecated.php index 2450710a..4fcf2c5b 100644 --- a/inc/deprecated.php +++ b/inc/deprecated.php @@ -83,24 +83,3 @@ if ( ! function_exists( 'understrap_slbd_count_widgets' ) ) { endif; } } - -/** - * This function has never existed in any of the templates. It serves to extract - * strings for translations which have been removed or changed and may still be - * be present in child themes. The corresponding translations are not maintained. - */ -function deprecated_translations() { - array( - esc_html__( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'understrap' ), - esc_html__( 'Previous', 'understrap' ), - esc_html__( 'Next', 'understrap' ), - esc_html__( 'About:', 'understrap' ), - esc_html__( 'Profile', 'understrap' ), - esc_html__( 'Posts by', 'understrap' ), - esc_html__( 'Permanent Link:', 'understrap' ), - esc_html__( 'in', 'understrap' ), - esc_html__( 'Edit', 'understrap' ), - esc_html__( '1 Comment', 'understrap' ), - esc_html__( '% Comments', 'understrap' ), - ); -} diff --git a/inc/hooks.php b/inc/hooks.php index 9a0297f9..7d5ef417 100644 --- a/inc/hooks.php +++ b/inc/hooks.php @@ -41,7 +41,7 @@ if ( ! function_exists( 'understrap_add_site_info' ) ) { ), sprintf( /* translators: Theme version */ - esc_html__( 'Version: %1$s', 'understrap' ), + esc_html__( 'Version: %s', 'understrap' ), $the_theme->get( 'Version' ) // @phpstan-ignore-line -- theme exists ) ); diff --git a/inc/pagination.php b/inc/pagination.php index 4fc0ef6d..d974b387 100644 --- a/inc/pagination.php +++ b/inc/pagination.php @@ -50,8 +50,8 @@ if ( ! function_exists( 'understrap_pagination' ) ) { array( 'mid_size' => 2, 'prev_next' => true, - 'prev_text' => __( '«', 'understrap' ), - 'next_text' => __( '»', 'understrap' ), + 'prev_text' => _x( '«', 'previous set of posts', 'understrap' ), + 'next_text' => _x( '»', 'next set of posts', 'understrap' ), 'current' => max( 1, get_query_var( 'paged' ) ), 'screen_reader_text' => __( 'Posts navigation', 'understrap' ), ) diff --git a/inc/template-tags.php b/inc/template-tags.php index 7847548f..029d9b5c 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -230,7 +230,7 @@ if ( ! function_exists( 'understrap_comment_navigation' ) ) { ?>