From bb8d1e356f3d4d26c0c7aca2047f01441dabecf3 Mon Sep 17 00:00:00 2001 From: Tetsuaki Hamano Date: Wed, 21 Jun 2023 23:09:32 +0900 Subject: [PATCH] Site Editor: Make Template Parts & Patterns Management dropdown translatable --- packages/edit-site/src/components/add-new-pattern/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/edit-site/src/components/add-new-pattern/index.js b/packages/edit-site/src/components/add-new-pattern/index.js index 54b6f48488aebc..160d3fb731ddc1 100644 --- a/packages/edit-site/src/components/add-new-pattern/index.js +++ b/packages/edit-site/src/components/add-new-pattern/index.js @@ -58,12 +58,12 @@ export default function AddNewPattern() { { icon: header, onClick: () => setShowTemplatePartModal( true ), - title: 'Create a template part', + title: __( 'Create a template part' ), }, { icon: file, onClick: () => setShowPatternModal( true ), - title: 'Create a pattern', + title: __( 'Create a pattern' ), }, ] } icon={ @@ -72,7 +72,7 @@ export default function AddNewPattern() { label={ __( 'Create a pattern' ) } /> } - label="Create a pattern." + label={ __( 'Create a pattern.' ) } /> { showPatternModal && (