Skip to content

Commit

Permalink
Update default placeholder for the default block appender component (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Tug authored and youknowriad committed Mar 6, 2019
1 parent 8759476 commit aaa63a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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 (
<TouchableWithoutFeedback
Expand Down

0 comments on commit aaa63a8

Please sign in to comment.