Skip to content

Commit

Permalink
Merge pull request #224 from alexclassroom/develop
Browse files Browse the repository at this point in the history
Improve I18N Issues (Based on 1.17)
  • Loading branch information
enricobattocchi authored Jan 29, 2024
2 parents 2dcdb03 + 61e0c46 commit 4dc4e92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/indexing-reason-integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ 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.' ),
/* translators: %1$s: Yoast Test Helper */
\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'
);
}
Expand Down
4 changes: 2 additions & 2 deletions src/post-types.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,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' ),
Expand All @@ -175,7 +175,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' ),
Expand Down

0 comments on commit 4dc4e92

Please sign in to comment.