Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add i18n for placeholders, use ellipsis
  • Loading branch information
mkaz committed May 4, 2017
commit f05af0dfd9ae4af07c2e31c363794c92ebf311ea
4 changes: 2 additions & 2 deletions blocks/library/pullquote/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ registerBlock( 'core/pullquote', {
return (
<blockquote className="blocks-pullquote">
<Editable
value={ value || 'Write quote...' }
value={ value || wp.i18n.__( 'Write Quote…' ) }
onChange={
( nextValue ) => setAttributes( {
value: nextValue
Expand All @@ -36,7 +36,7 @@ registerBlock( 'core/pullquote', {
{ ( citation || !! focus ) && (
<footer>
<Editable
value={ citation || 'Write citation...' }
value={ citation || wp.i18n.__( 'Write caption…' ) }
onChange={
( nextCitation ) => setAttributes( {
citation: nextCitation
Expand Down