From 7cef2a1d3f29e839cd0f74845b6fd9183b5ef70c Mon Sep 17 00:00:00 2001 From: yogeshbhutkar Date: Mon, 30 Dec 2024 13:27:44 +0530 Subject: [PATCH] i18n: Update label translation in comments-pagination-previous block --- .../src/comments-pagination-previous/index.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/block-library/src/comments-pagination-previous/index.js b/packages/block-library/src/comments-pagination-previous/index.js index 2c7320f661ec80..f39618c689fbe9 100644 --- a/packages/block-library/src/comments-pagination-previous/index.js +++ b/packages/block-library/src/comments-pagination-previous/index.js @@ -1,7 +1,7 @@ /** * WordPress dependencies */ -import { _x } from '@wordpress/i18n'; +import { __ } from '@wordpress/i18n'; import { queryPaginationPrevious as icon } from '@wordpress/icons'; /** @@ -19,10 +19,7 @@ export const settings = { edit, example: { attributes: { - label: _x( - 'Comments Previous Page', - 'Example label for the Comments Pagination Previous block' - ), + label: __( 'Comments Previous Page' ), }, }, };