From a9da1150ee0cc3911261eb7e7fd2db5c86b87653 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 4 Aug 2020 17:01:05 +0000 Subject: [PATCH] Editor: Make some hardcoded strings in block patterns translatable. Props ocean90, youknowriad. Fixes #50842. Built from https://develop.svn.wordpress.org/trunk@48726 git-svn-id: http://core.svn.wordpress.org/trunk@48488 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/block-patterns/large-header-button.php | 2 +- wp-includes/block-patterns/large-header.php | 2 +- wp-includes/block-patterns/quote.php | 2 +- wp-includes/block-patterns/two-images.php | 2 +- wp-includes/version.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/block-patterns/large-header-button.php b/wp-includes/block-patterns/large-header-button.php index 0dde847e40..68834ef361 100644 --- a/wp-includes/block-patterns/large-header-button.php +++ b/wp-includes/block-patterns/large-header-button.php @@ -7,7 +7,7 @@ return array( 'title' => __( 'Large header with a heading and a button ' ), - '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' ) . "

\n\n\n\n\n\n\n\n
\n
\n\n\n\n
\n
\n
\n
\n
\n", 'viewportWidth' => 1000, 'categories' => array( 'header' ), 'description' => _x( 'A large hero section with a bright gradient background, a big heading and a filled button.', 'Block pattern description' ), diff --git a/wp-includes/block-patterns/large-header.php b/wp-includes/block-patterns/large-header.php index dd2132d213..ee681e880a 100644 --- a/wp-includes/block-patterns/large-header.php +++ b/wp-includes/block-patterns/large-header.php @@ -7,7 +7,7 @@ return array( 'title' => __( 'Large header with a heading' ), - 'content' => "\n
\n

" . __( 'Don Quixote' ) . "

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

" . __( 'Don Quixote' ) . "

\n
\n", 'viewportWidth' => 1000, 'categories' => array( 'header' ), 'description' => _x( 'A large hero section with an example background image and a heading in the center.', 'Block pattern description' ), diff --git a/wp-includes/block-patterns/quote.php b/wp-includes/block-patterns/quote.php index d7b142b354..d8fc0e9e88 100644 --- a/wp-includes/block-patterns/quote.php +++ b/wp-includes/block-patterns/quote.php @@ -7,7 +7,7 @@ return array( 'title' => __( 'Quote' ), - 'content' => "\n
\n
\"Pencil
\n\n\n\n

" . __( '"Do you see over yonder, friend Sancho, thirty or forty hulking giants? I intend to do battle with them and slay them."' ) . '

' . __( '— Don Quixote' ) . "
\n\n\n\n
\n
\n", + 'content' => "\n
\n
\""
\n\n\n\n

" . __( '"Do you see over yonder, friend Sancho, thirty or forty hulking giants? I intend to do battle with them and slay them."' ) . '

' . __( '— Don Quixote' ) . "
\n\n\n\n
\n
\n", 'viewportWidth' => 800, 'categories' => array( 'text' ), 'description' => _x( 'A quote and citation with an image above, and a separator at the bottom.', 'Block pattern description' ), diff --git a/wp-includes/block-patterns/two-images.php b/wp-includes/block-patterns/two-images.php index 2b4f0f1805..94fba4fb8c 100644 --- a/wp-includes/block-patterns/two-images.php +++ b/wp-includes/block-patterns/two-images.php @@ -9,5 +9,5 @@ return array( 'title' => __( 'Two images side by side' ), 'categories' => array( 'gallery' ), 'description' => _x( 'An image gallery with two example images.', 'Block pattern description' ), - 'content' => "\n\n", + 'content' => "\n\n", ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 366d5b76bb..da76cfc72b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-48725'; +$wp_version = '5.6-alpha-48726'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.