diff --git a/src/indexing-reason-integration.php b/src/indexing-reason-integration.php index 1571f58..75ae847 100644 --- a/src/indexing-reason-integration.php +++ b/src/indexing-reason-integration.php @@ -30,7 +30,7 @@ public function set_indexing_alert( $alert, $reason ) { } return \sprintf( - \esc_html( 'Because some of your SEO data was reset by the %1$s, your SEO data needs to be reprocessed.' ), + \esc_html__( 'Because some of your SEO data was reset by the %1$s, your SEO data needs to be reprocessed.', 'yoast-test-helper' ), 'Yoast Test Helper' ); } diff --git a/src/post-types.php b/src/post-types.php index f847f51..58ff166 100644 --- a/src/post-types.php +++ b/src/post-types.php @@ -154,7 +154,7 @@ private function get_book_args() { 'labels' => [ 'name' => \__( 'Books', 'yoast-test-helper' ), 'singular_name' => \__( 'Book', 'yoast-test-helper' ), - 'add_new' => \__( 'Add New', 'yoast-test-helper' ), + 'add_new' => \_x( 'Add New', 'Book', 'yoast-test-helper' ), 'add_new_item' => \__( 'Add new book', 'yoast-test-helper' ), ], 'description' => \__( 'Our books post type', 'yoast-test-helper' ), @@ -179,7 +179,7 @@ private function get_movie_args() { 'labels' => [ 'name' => \__( 'Movies', 'yoast-test-helper' ), 'singular_name' => \__( 'Movie', 'yoast-test-helper' ), - 'add_new' => \__( 'Add New', 'yoast-test-helper' ), + 'add_new' => \_x( 'Add New', 'Movie', 'yoast-test-helper' ), 'add_new_item' => \__( 'Add new movie', 'yoast-test-helper' ), ], 'description' => \__( 'Our movies post type', 'yoast-test-helper' ),