From c3f4b143db01b09ccfdd62358b5b8795b0961595 Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Thu, 27 Jul 2023 22:53:50 +0400 Subject: [PATCH 1/2] Site Editor: Add navigation type to title labels map --- packages/edit-site/src/components/editor/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/edit-site/src/components/editor/index.js b/packages/edit-site/src/components/editor/index.js index bbbb2cc4c8a44c..7d4aa15f332ade 100644 --- a/packages/edit-site/src/components/editor/index.js +++ b/packages/edit-site/src/components/editor/index.js @@ -61,6 +61,7 @@ const typeLabels = { wp_template: __( 'Template' ), wp_template_part: __( 'Template Part' ), wp_block: __( 'Pattern' ), + wp_navigation: __( 'Navigation Menu' ), }; // Prevent accidental removal of certain blocks, asking the user for From 2a2ffa14f0e78c13a3527279ac7062390b56fbae Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Fri, 28 Jul 2023 15:39:18 +0400 Subject: [PATCH 2/2] Change the label --- packages/edit-site/src/components/editor/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/editor/index.js b/packages/edit-site/src/components/editor/index.js index 7d4aa15f332ade..7c7d2dc84fb902 100644 --- a/packages/edit-site/src/components/editor/index.js +++ b/packages/edit-site/src/components/editor/index.js @@ -61,7 +61,7 @@ const typeLabels = { wp_template: __( 'Template' ), wp_template_part: __( 'Template Part' ), wp_block: __( 'Pattern' ), - wp_navigation: __( 'Navigation Menu' ), + wp_navigation: __( 'Navigation' ), }; // Prevent accidental removal of certain blocks, asking the user for