Skip to content

Commit

Permalink
i18n: Update example label for Comments Pagination Next block to use …
Browse files Browse the repository at this point in the history
…`__` translation function
  • Loading branch information
yogeshbhutkar committed Dec 30, 2024
1 parent 9c641c9 commit 0d34203
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/block-library/src/comments-pagination-next/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* WordPress dependencies
*/
import { _x } from '@wordpress/i18n';
import { __ } from '@wordpress/i18n';
import { queryPaginationNext as icon } from '@wordpress/icons';

/**
Expand All @@ -19,10 +19,7 @@ export const settings = {
edit,
example: {
attributes: {
label: _x(
'Comments Next Page',
'Example label for the Comments Pagination Next block'
),
label: __( 'Comments Next Page' ),
},
},
};
Expand Down

0 comments on commit 0d34203

Please sign in to comment.