Skip to content

Commit

Permalink
Fix: Change dropdown button label to 'screen options.' (#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

1 comment on commit 0329f63

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 0329f63.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9806607045
📝 Reported issues:

Please sign in to comment.