From 1ce39831aeb6a5e676832b06b237291023917589 Mon Sep 17 00:00:00 2001 From: yogeshbhutkar Date: Mon, 30 Dec 2024 13:29:51 +0530 Subject: [PATCH] i18n: update label translation in `post-navigation-link` block --- packages/block-library/src/post-navigation-link/index.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/block-library/src/post-navigation-link/index.js b/packages/block-library/src/post-navigation-link/index.js index 0d7d2768e225d8..4bcb1999067053 100644 --- a/packages/block-library/src/post-navigation-link/index.js +++ b/packages/block-library/src/post-navigation-link/index.js @@ -1,7 +1,7 @@ /** * WordPress dependencies */ -import { _x } from '@wordpress/i18n'; +import { __ } from '@wordpress/i18n'; /** * Internal dependencies @@ -19,10 +19,7 @@ export const settings = { variations, example: { attributes: { - label: _x( - 'Next post', - 'Example label for Post Navigation Link block' - ), + label: __( 'Next post' ), arrow: 'arrow', }, },