Opened 8 weeks ago
Last modified 7 weeks ago
#64333 closed defect (bug)
I18N: border.radiusSizes key is missing in theme-i18n.json — at Version 7
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 6.9.1 | Priority: | normal |
| Severity: | normal | Version: | 6.9 |
| Component: | I18N | Keywords: | has-patch commit fixed-major dev-reviewed |
| Focuses: | Cc: |
Description (last modified by )
Originally reported at https://github.com/WordPress/gutenberg/issues/73688 by @twvania
For preset names to be translatable, the preset key must be defined in theme-i18n.json.
This is defined in the `theme-i18n.json` file that the Gutenberg plugin has, but not in the core one.
As a result, even if a theme developer releases a theme with radius presets, they cannot make the preset names translatable.
We need to the following keys:
{
"settings": {
"border": {
"radiusSizes": [
{
"name": "Border radius size name"
}
]
},
"blocks": {
"*": {
"border": {
"radiusSizes": [
{
"name": "Border radius size name"
}
]
}
}
}
}
}
Change History (7)
#3
@
8 weeks ago
- Summary changed from I18N: border.radiusSizes key is missing in theme-i18n,json to I18N: border.radiusSizes key is missing in theme-i18n.json
This ticket was mentioned in PR #10580 on WordPress/wordpress-develop by @wildworks.
8 weeks ago
#5
- Keywords has-patch added
Trac ticket: https://core.trac.wordpress.org/ticket/64333
Note: See
TracTickets for help on using
tickets.
Since the radiusSizes is a new feature in 6.9, let's consider fixing it in a point release.