This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 219
Fix missing translations in inspector — Cross-Sells Block #7616
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tarhi-saad
added
type: bug
The issue/PR concerns a confirmed bug.
focus: blocks
Specific work involving or impacting how blocks behave.
block: cart
Issues related to the cart block.
labels
Nov 8, 2022
The release ZIP for this PR is accessible via:
|
TypeScript Errors ReportFiles with errors: 431 🎉 🎉 This PR does not introduce new TS errors. |
Size Change: -46 B (0%) Total Size: 991 kB
ℹ️ View Unchanged
|
nielslange
approved these changes
Nov 14, 2022
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 working on this, @tarhi-saad! The PR works like charm. Let's ⛴ it! 🙌
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
block: cart
Issues related to the cart block.
focus: blocks
Specific work involving or impacting how blocks behave.
focus: i18n
The issue/PR is related to internationalization.
type: bug
The issue/PR concerns a confirmed bug.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes the missing translations in the inspector (in the Editor mode) of the
Cross-Sells Block
.Based on #6737, we can fix this translation issue by registering the Inner Blocks in question server-side. For more information about the why? and how? please read this PR description.
Fixes #7476
Accessibility
prefers-reduced-motion
Other Checks
Screenshots
Cart Cross-Sells Block
Cart Cross-Sells Products Block
Testing
Automated Tests
User Facing Testing
Cart Block
(Editor mode)Cart Cross-Sell
andCart Cross-Sells products
blocks, and make sure the title & description are translated in the inspector. See the image below:WooCommerce Visibility
Performance Impact
Changelog