Tiled Gallery: Move localized style labels into settings #30752
Merged
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.
Including the localized labels in the block constants implies that
evaluating the module depended on calling the _x function provided by
@wordpress/i18n. This lead to wp-i18n being a view-side dependency that
provided no value.
Reorganize so that localized labels are only available in the block
settings where they are required.
Required for #28933
Testing instructions
remove/tiled-gallery-view-dependencies
branchhttps://jurassic.ninja/create?shortlived&gutenpack&gutenberg&calypsobranch=update/g7g-tg-restructure-drop-view-i18n-dep&branch=remove/tiled-gallery-view-dependencies