Update: Label of "Move to trash" action to "Trash".#72596
Update: Label of "Move to trash" action to "Trash".#72596jorgefilipecosta merged 2 commits intotrunkfrom
Conversation
jameskoster
left a comment
There was a problem hiding this comment.
Approving on the assumption that this also applies to Templates.
|
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. |
|
Size Change: -9 B (0%) Total Size: 2.19 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in 1241e75. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/18744708657
|
Co-authored-by: jorgefilipecosta <jorgefilipecosta@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org> Co-authored-by: simison <simison@git.wordpress.org> Co-authored-by: hanneslsm <hanneslsm@git.wordpress.org>
|
I just cherry-picked this PR to the wp/6.9 branch to get it included in the next release: 289102f |
| const trashPost: Action< PostWithPermissions > = { | ||
| id: 'move-to-trash', | ||
| label: __( 'Move to trash' ), | ||
| label: __( 'Trash' ), |
There was a problem hiding this comment.
This needs to become _x( 'Trash', 'verb' ) because Trash can be a verb and a noun, and in many languages it makes a difference.
There was a problem hiding this comment.
Would also help to reuse the same translation from further down in the same file.
Follow-up at #73704
Fixes: #72539
Updates the label of "Move to trash" action to "Trash".
Testing Instructions
Go to /wp-admin/site-editor.php?p=%2Fpage
Hover a page and very the action to tash is labeled as "Trash".
Select multiple pages and verify the action is still labeled "Trash".