From 1dc1f32ed8f42ceb003c38f228e5e1f304c0ef1f Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Jan 2025 12:36:23 +0000 Subject: [PATCH] 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 --- wp-includes/theme-i18n.json | 69 +++++++++++++++++++++++-------------- wp-includes/version.php | 2 +- 2 files changed, 45 insertions(+), 26 deletions(-) diff --git a/wp-includes/theme-i18n.json b/wp-includes/theme-i18n.json index 1781b9356f..1b7a8d0d31 100644 --- a/wp-includes/theme-i18n.json +++ b/wp-includes/theme-i18n.json @@ -3,33 +3,33 @@ "description": "Style variation description", "settings": { "typography": { - "fontSizes": [ - { - "name": "Font size name" - } - ], - "fontFamilies": [ - { - "name": "Font family name" - } - ] + "fontSizes": [ + { + "name": "Font size name" + } + ], + "fontFamilies": [ + { + "name": "Font family name" + } + ] }, "color": { - "palette": [ - { - "name": "Color name" - } - ], - "gradients": [ - { - "name": "Gradient name" - } - ], - "duotone": [ - { - "name": "Duotone name" - } - ] + "palette": [ + { + "name": "Color name" + } + ], + "gradients": [ + { + "name": "Gradient name" + } + ], + "duotone": [ + { + "name": "Duotone name" + } + ] }, "spacing": { "spacingSizes": [ @@ -45,6 +45,13 @@ } ] }, + "shadow": { + "presets": [ + { + "name": "Shadow name" + } + ] + }, "blocks": { "*": { "typography": { @@ -69,6 +76,18 @@ { "name": "Gradient name" } + ], + "duotone": [ + { + "name": "Duotone name" + } + ] + }, + "dimensions": { + "aspectRatios": [ + { + "name": "Aspect ratio name" + } ] }, "spacing": { diff --git a/wp-includes/version.php b/wp-includes/version.php index 7557d2007d..481e2a23e6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.