-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Disable TinyMCE: Polish refresh message #73485
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
Conversation
|
Size Change: +12 B (0%) Total Size: 2.54 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in cb95ee6. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/19571972620
|
ramonjd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
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. |
mcsf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pending my feedback, LGTM :)
| 'It appears you are trying to use the deprecated Classic block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely. Alternatively, you can refresh the page to use the Classic block.' | ||
| 'It appears you are trying to use the deprecated Classic block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.' | ||
| ); | ||
| messageHTML += refreshMessage; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't stitch together well: it's missing a space, as can be seen in the After screenshot.
My recommendation is to keep it simple, even if redundant, by modifying the two different messageHTML strings. That way, no confusion is possible for translators as to what refreshMessage is meant for, no room for translation inconsistencies is allowed, and no assumptions are made as to how sentences should be joined in all the locales.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is reasonable, thanks. Addressed in 5390fb4.
What?
As part of the Disable TinyMCE experiment, updating the message the user sees when prompted to convert a classic/freeform block.
Why?
For clarity that unsaved data needs to be saved before refreshing. See this thread for details.
How?
Just updating the message. Reusing the string to reduce translator burden - strings are long enough already.
Testing Instructions
<div class="notice">You can include <em>raw HTML</em> here.</div>.Testing Instructions for Keyboard
Same
Screenshots or screencast