Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make 'All pages' view label consistent with template and patterns #59009

Merged
merged 4 commits into from
Feb 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const DEFAULT_PAGE_BASE = {
export const DEFAULT_VIEWS = {
page: [
{
title: _x( 'All', 'pages' ),
title: _x( 'All pages', 'pages' ),
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
title: _x( 'All pages', 'pages' ),
title: __( 'All pages' ),

Context may no longer be necessary.

Note: If you apply this suggestion, you will also need to remove _x from the import statement to pass the lint check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's true, good suggestion :)

slug: 'all',
view: DEFAULT_PAGE_BASE,
},
Expand Down
Loading