From 12d3f1d7b649932ebae76cfa483213eb4fb0a6e7 Mon Sep 17 00:00:00 2001 From: Damien Alleyne <31164683+d-alleyne@users.noreply.github.com> Date: Thu, 19 Dec 2024 20:20:02 +0000 Subject: [PATCH 1/3] Make 'Aspect Ratios' and 'Shadow Preset' translatable --- src/wp-includes/theme-i18n.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/theme-i18n.json b/src/wp-includes/theme-i18n.json index 82f89bd3d282f..99b82d9e1277e 100644 --- a/src/wp-includes/theme-i18n.json +++ b/src/wp-includes/theme-i18n.json @@ -69,7 +69,21 @@ "name": "Space size name" } ] - } + }, + "dimensions": { + "aspectRatios": [ + { + "name": "Aspect ratio name" + } + ] + }, + "shadow": { + "presets": [ + { + "name": "Shadow preset name" + } + ] + }, } } }, From 52ee668935f9e29e687a215476ddd687e9891d9a Mon Sep 17 00:00:00 2001 From: Damien Alleyne <31164683+d-alleyne@users.noreply.github.com> Date: Thu, 19 Dec 2024 21:24:35 -0400 Subject: [PATCH 2/3] Implement code review suggestion --- src/wp-includes/theme-i18n.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/theme-i18n.json b/src/wp-includes/theme-i18n.json index 99b82d9e1277e..56a214b89daad 100644 --- a/src/wp-includes/theme-i18n.json +++ b/src/wp-includes/theme-i18n.json @@ -80,7 +80,7 @@ "shadow": { "presets": [ { - "name": "Shadow preset name" + "name": "Shadow name" } ] }, From 9e3c401f03fe198149b2f1bb8f571c5a9e6ae08f Mon Sep 17 00:00:00 2001 From: Damien Alleyne <31164683+d-alleyne@users.noreply.github.com> Date: Thu, 19 Dec 2024 21:31:48 -0400 Subject: [PATCH 3/3] Bugfix --- src/wp-includes/theme-i18n.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/theme-i18n.json b/src/wp-includes/theme-i18n.json index 56a214b89daad..0007f984ce169 100644 --- a/src/wp-includes/theme-i18n.json +++ b/src/wp-includes/theme-i18n.json @@ -83,7 +83,7 @@ "name": "Shadow name" } ] - }, + } } } },