From ea7d4ad9d7a84f0706160b4c3f73b27709bbc299 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Sun, 29 Nov 2020 17:50:57 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Don=E2=80=99t=20split=20translatable=20stri?= =?UTF-8?q?ngs=20in=20block=20templates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/patterns/large-header-button.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/patterns/large-header-button.php b/lib/patterns/large-header-button.php index bed0ce49062d50..c418190de6199c 100644 --- a/lib/patterns/large-header-button.php +++ b/lib/patterns/large-header-button.php @@ -7,7 +7,7 @@ return array( 'title' => __( 'Large header with a heading and a button ', 'gutenberg' ), - 'content' => "\n
\n
\n
\n
\n
\n\n\n\n
\n
\n\n\n\n

" . __( 'Thou hast seen', 'gutenberg' ) . '
' . __( 'nothing yet', 'gutenberg' ) . "

\n\n\n\n\n\n\n\n
\n
\n\n\n\n
\n
\n
\n
\n
\n", + 'content' => "\n
\n
\n
\n
\n
\n\n\n\n
\n
\n\n\n\n

" . __( 'Thou hast seen
nothing yet' ) . "

\n\n\n\n\n\n\n\n
\n
\n\n\n\n
\n
\n
\n
\n
\n", 'categories' => array( 'header' ), 'description' => _x( 'A large hero section with a bright gradient background, a big heading and a filled button.', 'Block pattern description', 'gutenberg' ), ); From 3d18c436fbb166809b2905bf989f58bb6661bdb8 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Sun, 29 Nov 2020 17:59:00 +0100 Subject: [PATCH 2/2] adding missing text-domain --- lib/patterns/large-header-button.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/patterns/large-header-button.php b/lib/patterns/large-header-button.php index c418190de6199c..75519963485e07 100644 --- a/lib/patterns/large-header-button.php +++ b/lib/patterns/large-header-button.php @@ -7,7 +7,7 @@ return array( 'title' => __( 'Large header with a heading and a button ', 'gutenberg' ), - 'content' => "\n
\n
\n
\n
\n
\n\n\n\n
\n
\n\n\n\n

" . __( 'Thou hast seen
nothing yet' ) . "

\n\n\n\n\n\n\n\n
\n
\n\n\n\n
\n
\n
\n
\n
\n", + 'content' => "\n
\n
\n
\n
\n
\n\n\n\n
\n
\n\n\n\n

" . __( 'Thou hast seen
nothing yet', 'gutenberg' ) . "

\n\n\n\n\n\n\n\n
\n
\n\n\n\n
\n
\n
\n
\n
\n", 'categories' => array( 'header' ), 'description' => _x( 'A large hero section with a bright gradient background, a big heading and a filled button.', 'Block pattern description', 'gutenberg' ), );