I18N: Update `theme.json` i18n schema with latest changes from Gutenberg.

Makes shadow, duotone and aspect ratio names properly translatable.

Props dalleyne, audrasjb, oandregal, swissspidy.
Fixes #62728.
Built from https://develop.svn.wordpress.org/trunk@59591


git-svn-id: http://core.svn.wordpress.org/trunk@58977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler 2025-01-08 12:36:23 +00:00
parent 107716bf6c
commit 1dc1f32ed8
2 changed files with 45 additions and 26 deletions

View File

@ -3,33 +3,33 @@
"description": "Style variation description", "description": "Style variation description",
"settings": { "settings": {
"typography": { "typography": {
"fontSizes": [ "fontSizes": [
{ {
"name": "Font size name" "name": "Font size name"
} }
], ],
"fontFamilies": [ "fontFamilies": [
{ {
"name": "Font family name" "name": "Font family name"
} }
] ]
}, },
"color": { "color": {
"palette": [ "palette": [
{ {
"name": "Color name" "name": "Color name"
} }
], ],
"gradients": [ "gradients": [
{ {
"name": "Gradient name" "name": "Gradient name"
} }
], ],
"duotone": [ "duotone": [
{ {
"name": "Duotone name" "name": "Duotone name"
} }
] ]
}, },
"spacing": { "spacing": {
"spacingSizes": [ "spacingSizes": [
@ -45,6 +45,13 @@
} }
] ]
}, },
"shadow": {
"presets": [
{
"name": "Shadow name"
}
]
},
"blocks": { "blocks": {
"*": { "*": {
"typography": { "typography": {
@ -69,6 +76,18 @@
{ {
"name": "Gradient name" "name": "Gradient name"
} }
],
"duotone": [
{
"name": "Duotone name"
}
]
},
"dimensions": {
"aspectRatios": [
{
"name": "Aspect ratio name"
}
] ]
}, },
"spacing": { "spacing": {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.8-alpha-59590'; $wp_version = '6.8-alpha-59591';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.