From 42f4f5d656744905942350be0a79ebe7dbe7d38a Mon Sep 17 00:00:00 2001 From: Damien Alleyne <31164683+d-alleyne@users.noreply.github.com> Date: Thu, 31 Oct 2024 14:42:45 -0400 Subject: [PATCH 1/7] Allow theme.json's strings to be extracted by wp-cli --- theme.json | 1 + 1 file changed, 1 insertion(+) create mode 120000 theme.json diff --git a/theme.json b/theme.json new file mode 120000 index 00000000000000..21af67673806d8 --- /dev/null +++ b/theme.json @@ -0,0 +1 @@ +lib/theme.json \ No newline at end of file From 7505e51cc98735a6fb95f236912adeafdbe690c8 Mon Sep 17 00:00:00 2001 From: Damien Alleyne <31164683+d-alleyne@users.noreply.github.com> Date: Fri, 1 Nov 2024 08:32:24 -0400 Subject: [PATCH 2/7] Add shadow presets to theme-i18n.json to make them translatable --- lib/theme-i18n.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/theme-i18n.json b/lib/theme-i18n.json index e4d14502132cbe..3d51ebee957641 100644 --- a/lib/theme-i18n.json +++ b/lib/theme-i18n.json @@ -45,6 +45,13 @@ } ] }, + "shadows": { + "presets": [ + { + "name": "Shadow presets name" + } + ] + }, "blocks": { "*": { "typography": { From a03c3aa50bec07e7e4b0d07bcc5372e9a7a4c9ab Mon Sep 17 00:00:00 2001 From: Damien Alleyne <31164683+d-alleyne@users.noreply.github.com> Date: Fri, 1 Nov 2024 09:40:14 -0400 Subject: [PATCH 3/7] Fix typo --- lib/theme-i18n.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/theme-i18n.json b/lib/theme-i18n.json index 3d51ebee957641..b74209be608041 100644 --- a/lib/theme-i18n.json +++ b/lib/theme-i18n.json @@ -45,7 +45,7 @@ } ] }, - "shadows": { + "shadow": { "presets": [ { "name": "Shadow presets name" From 6e9964b527603deae7eedf91c36b891fe428473c Mon Sep 17 00:00:00 2001 From: Damien Alleyne <31164683+d-alleyne@users.noreply.github.com> Date: Thu, 19 Dec 2024 09:59:35 -0400 Subject: [PATCH 4/7] Match the naming pattern Co-authored-by: George Mamadashvili --- lib/theme-i18n.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/theme-i18n.json b/lib/theme-i18n.json index b74209be608041..f9ec77c97843e9 100644 --- a/lib/theme-i18n.json +++ b/lib/theme-i18n.json @@ -48,7 +48,7 @@ "shadow": { "presets": [ { - "name": "Shadow presets name" + "name": "Shadow preset name" } ] }, From 215a7905e0f1750aa8b706d2e7b9b7271426f240 Mon Sep 17 00:00:00 2001 From: Damien Alleyne <31164683+d-alleyne@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:02:40 -0400 Subject: [PATCH 5/7] Revert "Allow theme.json's strings to be extracted by wp-cli" This reverts commit 42f4f5d656744905942350be0a79ebe7dbe7d38a. --- theme.json | 1 - 1 file changed, 1 deletion(-) delete mode 120000 theme.json diff --git a/theme.json b/theme.json deleted file mode 120000 index 21af67673806d8..00000000000000 --- a/theme.json +++ /dev/null @@ -1 +0,0 @@ -lib/theme.json \ No newline at end of file From 8b1c87a534ee418870afd7518176ad48cd8d1e41 Mon Sep 17 00:00:00 2001 From: Damien Alleyne <31164683+d-alleyne@users.noreply.github.com> Date: Thu, 19 Dec 2024 21:22:27 -0400 Subject: [PATCH 6/7] Implement code review suggestion --- lib/theme-i18n.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/theme-i18n.json b/lib/theme-i18n.json index f9ec77c97843e9..ce11ba036c9e79 100644 --- a/lib/theme-i18n.json +++ b/lib/theme-i18n.json @@ -48,7 +48,7 @@ "shadow": { "presets": [ { - "name": "Shadow preset name" + "name": "Shadow name" } ] }, From 29e08a5e1a18a420945e80410bc68642b4232126 Mon Sep 17 00:00:00 2001 From: Damien Alleyne <31164683+d-alleyne@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:40:31 -0400 Subject: [PATCH 7/7] Add backlog file --- backport-changelog/6.8/8031.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 backport-changelog/6.8/8031.md diff --git a/backport-changelog/6.8/8031.md b/backport-changelog/6.8/8031.md new file mode 100644 index 00000000000000..96d06cc671e13e --- /dev/null +++ b/backport-changelog/6.8/8031.md @@ -0,0 +1,3 @@ +https://github.com/WordPress/wordpress-develop/pull/8031 + +* https://github.com/WordPress/gutenberg/pull/66675