From 0329f634b0e58971da3357d60b7e478c5e7e6164 Mon Sep 17 00:00:00 2001 From: Vipul Gupta <55375170+vipul0425@users.noreply.github.com> Date: Fri, 5 Jul 2024 15:34:06 +0530 Subject: [PATCH] Fix: Change dropdown button label to 'screen options.' (#63031) * fix: Change dropdown button label to 'screen options.' * Update packages/dataviews/src/view-actions.tsx Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com> * fix: Imports the package. --------- Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com> Co-authored-by: vipul0425 Co-authored-by: tyxla Co-authored-by: jasmussen Co-authored-by: jameskoster Co-authored-by: t-hamano Co-authored-by: afercia --- packages/dataviews/src/view-actions.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dataviews/src/view-actions.tsx b/packages/dataviews/src/view-actions.tsx index 44add039efd7e1..20e55db03459a4 100644 --- a/packages/dataviews/src/view-actions.tsx +++ b/packages/dataviews/src/view-actions.tsx @@ -10,7 +10,7 @@ import { Button, privateApis as componentsPrivateApis, } from '@wordpress/components'; -import { __ } from '@wordpress/i18n'; +import { __, _x } from '@wordpress/i18n'; import { memo } from '@wordpress/element'; import { cog } from '@wordpress/icons'; @@ -311,7 +311,7 @@ function _ViewActions< Item >( {