Skip to content

Commit

Permalink
Add context to View string in post actions (#65046)
Browse files Browse the repository at this point in the history
Co-authored-by: swissspidy <[email protected]>
Co-authored-by: youknowriad <[email protected]>
  • Loading branch information
3 people authored Sep 4, 2024
1 parent 6730169 commit bca5c25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/editor/src/dataviews/actions/view-post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* WordPress dependencies
*/
import { external } from '@wordpress/icons';
import { __ } from '@wordpress/i18n';
import { _x } from '@wordpress/i18n';
import type { Action } from '@wordpress/dataviews';

/**
Expand All @@ -12,7 +12,7 @@ import type { BasePost } from '../types';

const viewPost: Action< BasePost > = {
id: 'view-post',
label: __( 'View' ),
label: _x( 'View', 'verb' ),
isPrimary: true,
icon: external,
isEligible( post ) {
Expand Down

0 comments on commit bca5c25

Please sign in to comment.