Skip to content

Commit

Permalink
Fix: Change dropdown button label to 'screen options.' (WordPress#63031)
Browse files Browse the repository at this point in the history
* fix: Change dropdown button label to 'screen options.'

* Update packages/dataviews/src/view-actions.tsx

Co-authored-by: Marin Atanasov <[email protected]>

* fix: Imports the package.

---------

Co-authored-by: Marin Atanasov <[email protected]>

Co-authored-by: vipul0425 <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: afercia <[email protected]>
  • Loading branch information
7 people authored Jul 5, 2024
1 parent 2c5f768 commit 0329f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dataviews/src/view-actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -311,7 +311,7 @@ function _ViewActions< Item >( {
<Button
size="compact"
icon={ cog }
label={ __( 'View options' ) }
label={ _x( 'View options', 'View is used as a noun' ) }
/>
}
>
Expand Down

0 comments on commit 0329f63

Please sign in to comment.