Aspect ratio preset names are not translatable #61767
Labels
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Bug
An existing feature does not function as intended
Description
Once again nobody thinks about internationalization... 😞
#47271 added support for aspect ratio presets via theme.json. Unfortunately those presets are not translatable.
Support needs to be added to
theme-i18n.json
, then once the feature is stable the schema needs to be updated on the CDN as well.In the UI, the presets need to run through the translation function so that they can be correctly translated.
Step-by-step reproduction instructions
theme.json
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: