-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 InspectorControls tab labels translatable #49665
Make InspectorControls tab labels translatable #49665
Conversation
Size Change: -3 B (0%) Total Size: 1.37 MB
ℹ️ View Unchanged
|
Flaky tests detected in 8155917. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4639700955
|
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.
👍
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.
Thanks for fixing up this oversight 🙇
LGTM 🚢
What?
This PR fixes the problem of InsepcotrControls tab titles not being translated.
How?
Applied
__()
function to the title property.Testing Instructions
My understanding is that if the same text exists in the JavaScript code with the translation function applied, and it is translated by GlotPress, it will be translated immediately.
However, if I change the language of the site and update the translation files, somehow only "Styles" is translated.
If anyone knows any reason for this, I would love to know.
"List View" label:
"Settings" label:
"Styles" label: