From cc2fcbe5e7d4384c27aa6615d2a9660f873fe572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20K=C3=A4gy?= Date: Thu, 23 May 2024 00:12:24 +0200 Subject: [PATCH] fix make dimensions.aspectRatios key of theme.json files translatable (#61774) Co-authored-by: fabiankaegy Co-authored-by: ajlende Co-authored-by: Mamaduka Co-authored-by: swissspidy Co-authored-by: t-hamano --- backport-changelog/6.6/6567.md | 4 ++++ lib/theme-i18n.json | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 backport-changelog/6.6/6567.md diff --git a/backport-changelog/6.6/6567.md b/backport-changelog/6.6/6567.md new file mode 100644 index 0000000000000..8f200bed3b5c0 --- /dev/null +++ b/backport-changelog/6.6/6567.md @@ -0,0 +1,4 @@ +https://github.com/WordPress/wordpress-develop/pull/6567 + +* https://github.com/WordPress/gutenberg/pull/47271 +* https://github.com/WordPress/gutenberg/pull/61774 diff --git a/lib/theme-i18n.json b/lib/theme-i18n.json index ea6bf7fe6727e..e4d14502132cb 100644 --- a/lib/theme-i18n.json +++ b/lib/theme-i18n.json @@ -38,6 +38,13 @@ } ] }, + "dimensions": { + "aspectRatios": [ + { + "name": "Aspect ratio name" + } + ] + }, "blocks": { "*": { "typography": {