From aaa63a84738f9e97e590812f2aad85855522fa49 Mon Sep 17 00:00:00 2001 From: Tugdual de Kerviler Date: Tue, 19 Feb 2019 09:36:17 +0100 Subject: [PATCH] Update default placeholder for the default block appender component (#13880) --- .../src/components/default-block-appender/index.native.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor/src/components/default-block-appender/index.native.js b/packages/editor/src/components/default-block-appender/index.native.js index 22563f75a086f0..4414829c2e4b7f 100644 --- a/packages/editor/src/components/default-block-appender/index.native.js +++ b/packages/editor/src/components/default-block-appender/index.native.js @@ -6,7 +6,7 @@ import { TextInput, TouchableWithoutFeedback, View } from 'react-native'; /** * WordPress dependencies */ -import { __ } from '@wordpress/i18n'; +import { __, sprintf } from '@wordpress/i18n'; import { compose } from '@wordpress/compose'; import { decodeEntities } from '@wordpress/html-entities'; import { withSelect, withDispatch } from '@wordpress/data'; @@ -26,7 +26,7 @@ export function DefaultBlockAppender( { return null; } - const value = decodeEntities( placeholder ) || __( 'Start writing or press \u2295 to add content' ); + const value = decodeEntities( placeholder ) || sprintf( __( 'Start writing or press %s to add content' ), '\u2295' ); return (