From 93f7b7fa81bb5fa4aa7292dcf59e94029be45ffa Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 25 Aug 2020 12:40:08 +0000 Subject: [PATCH] Editor: Make some hardcoded strings in block patterns translatable. Follow-up to [48726]. Props justinahinon, audrasjb, nabilmoqbel, tobifjellner, yoavf, ramiy. Fixes #50845. Built from https://develop.svn.wordpress.org/trunk@48859 git-svn-id: http://core.svn.wordpress.org/trunk@48621 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/block-patterns/large-header-button.php | 2 +- wp-includes/block-patterns/text-three-columns-buttons.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/block-patterns/large-header-button.php b/wp-includes/block-patterns/large-header-button.php index 68834ef361..21decac432 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/text-three-columns-buttons.php b/wp-includes/block-patterns/text-three-columns-buttons.php index ba63dfae4e..5ca7a1496a 100644 --- a/wp-includes/block-patterns/text-three-columns-buttons.php +++ b/wp-includes/block-patterns/text-three-columns-buttons.php @@ -8,7 +8,7 @@ return array( 'title' => __( 'Three columns of text with buttons' ), 'categories' => array( 'columns' ), - 'content' => "\n
\n
\n
\n

" . __( 'Which treats of the character and pursuits of the famous Don Quixote of La Mancha.' ) . "

\n\n\n\n\n
\n\n\n\n
\n

" . __( 'Which treats of the first sally the ingenious Don Quixote made from home.' ) . "

\n\n\n\n\n
\n\n\n\n
\n

" . __( 'Wherein is related the droll way in which Don Quixote had himself dubbed a knight.' ) . "

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

" . __( 'Which treats of the character and pursuits of the famous Don Quixote of La Mancha.' ) . "

\n\n\n\n\n
\n\n\n\n
\n

" . __( 'Which treats of the first sally the ingenious Don Quixote made from home.' ) . "

\n\n\n\n\n
\n\n\n\n
\n

" . __( 'Wherein is related the droll way in which Don Quixote had himself dubbed a knight.' ) . "

\n\n\n\n\n
\n
\n
\n", 'viewportWidth' => 1000, 'description' => _x( 'Three small columns of text, each with an outlined button with rounded corners at the bottom.', 'Block pattern description' ), ); diff --git a/wp-includes/version.php b/wp-includes/version.php index ff35e0eb83..ebce297adf 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-48858'; +$wp_version = '5.6-alpha-48859'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.