-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add context for the All translatable string and enforce l10n best practices #58196
Conversation
Size Change: +3.58 kB (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
I think I accidentally included an unrelated fix in packages/edit-site/src/components/global-styles/font-library-modal/library-font-card.js but I guess it's not a big deal, it's a valid fix. |
Flaky tests detected in b4dbe5a. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7641804584
|
I'd appreciate a quick review, changes in this PR are simple enough Cc @WordPress/gutenberg-core |
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.
The changes look good to me.
Thanks @Mamaduka 👋 |
Fixes #58185
What?
The
__( 'All' )
string needs more context to be correctly translatable.Why?
Languages other htan English may have genres.
How?
_x()
function._x()
second parameter: must be short and lowercase.Testing Instructions
Not fully appplicable.
I guess a code review is enough in this case.
Testing Instructions for Keyboard
Screenshots or screencast