Review all the 'Add New' strings #53984#54132
Review all the 'Add New' strings #53984#54132jamestitus299 wants to merge 23 commits intoWordPress:trunkfrom
Conversation
|
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @jamestitus299! In case you missed it, we'd love to have you join us in our Slack community, where we hold regularly weekly meetings open to anyone to coordinate with each other. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
alexstine
left a comment
There was a problem hiding this comment.
@jamestitus299 Thanks for the PR. 👍 Suggested changes below.
There was a problem hiding this comment.
Please remove changes to this file. These should not be necessary.
There was a problem hiding this comment.
Please remove changes to this file. These should not be necessary.
| }, | ||
| labels: { | ||
| add_new_item: 'Add new genre', | ||
| add_new_item: 'Add New genre', |
There was a problem hiding this comment.
| add_new_item: 'Add New genre', | |
| add_new_item: 'Add New Genre', |
| }, | ||
| labels: { | ||
| add_new_item: 'Add new category', | ||
| add_new_item: 'Add New category', |
There was a problem hiding this comment.
| add_new_item: 'Add New category', | |
| add_new_item: 'Add New Category', |
| ).not.toBeInTheDocument(); | ||
| expect( | ||
| screen.getByRole( 'button', { name: 'Add new genre' } ) | ||
| screen.getByRole( 'button', { name: 'Add New genre' } ) |
There was a problem hiding this comment.
| screen.getByRole( 'button', { name: 'Add New genre' } ) | |
| screen.getByRole( 'button', { name: 'Add New Genre' } ) |
| ).toBeVisible(); | ||
| expect( | ||
| screen.queryByRole( 'button', { name: 'Add new category' } ) | ||
| screen.queryByRole( 'button', { name: 'Add New category' } ) |
There was a problem hiding this comment.
| screen.queryByRole( 'button', { name: 'Add New category' } ) | |
| screen.queryByRole( 'button', { name: 'Add New Category' } ) |
| ).toBeVisible(); | ||
| expect( | ||
| screen.getByRole( 'button', { name: 'Add new genre' } ) | ||
| screen.getByRole( 'button', { name: 'Add New genre' } ) |
There was a problem hiding this comment.
| screen.getByRole( 'button', { name: 'Add New genre' } ) | |
| screen.getByRole( 'button', { name: 'Add New Genre' } ) |
| ).toBeVisible(); | ||
| expect( | ||
| screen.getByRole( 'button', { name: 'Add new category' } ) | ||
| screen.getByRole( 'button', { name: 'Add New category' } ) |
There was a problem hiding this comment.
| screen.getByRole( 'button', { name: 'Add New category' } ) | |
| screen.getByRole( 'button', { name: 'Add New Category' } ) |
| expect( screen.getByRole( 'group', { name: 'Genres' } ) ).toBeVisible(); | ||
| expect( | ||
| screen.getByRole( 'button', { name: 'Add new genre' } ) | ||
| screen.getByRole( 'button', { name: 'Add New genre' } ) |
There was a problem hiding this comment.
| screen.getByRole( 'button', { name: 'Add New genre' } ) | |
| screen.getByRole( 'button', { name: 'Add New Genre' } ) |
| ).not.toBeInTheDocument(); | ||
| expect( | ||
| screen.queryByRole( 'button', { name: 'Add new genre' } ) | ||
| screen.queryByRole( 'button', { name: 'Add New genre' } ) |
There was a problem hiding this comment.
| screen.queryByRole( 'button', { name: 'Add New genre' } ) | |
| screen.queryByRole( 'button', { name: 'Add New Genre' } ) |
…ntime` (WordPress#54118)" This reverts commit 3b114f7. restore changes
restored changes
…nto devjam updated
|
Sorry; closed the wrong PR! Too many related things open... |
| "welcome-build-command": "npm run dev" | ||
| } | ||
| } | ||
| } No newline at end of file |
There was a problem hiding this comment.
This change shouldn't affect anything, but I think it's a good idea to revert unnecessary changes.
|
Thanks for contributing, @jamestitus299! It looks like the patch needs refreshing. Do you have time to follow up on this? |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
@Mamaduka I don't think I can help right now. Sorry. |
|
Is this issue still open or valid? |
|
Thanks for the update, @jamestitus299! It looks like @lalitkumawat1m is interested in working on this issue, so I'm going to close this PR. |
What?
Review all the 'Add New' strings #53984
Changed the inconsistent "add new " to "Add New ..."
Why?
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast