Skip to content

Commit f05af0d

Browse files
committed
Add i18n for placeholders, use ellipsis
1 parent ff87c9f commit f05af0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blocks/library/pullquote/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ registerBlock( 'core/pullquote', {
2323
return (
2424
<blockquote className="blocks-pullquote">
2525
<Editable
26-
value={ value || 'Write quote...' }
26+
value={ value || wp.i18n.__( 'Write Quote…' ) }
2727
onChange={
2828
( nextValue ) => setAttributes( {
2929
value: nextValue
@@ -36,7 +36,7 @@ registerBlock( 'core/pullquote', {
3636
{ ( citation || !! focus ) && (
3737
<footer>
3838
<Editable
39-
value={ citation || 'Write citation...' }
39+
value={ citation || wp.i18n.__( 'Write caption…' ) }
4040
onChange={
4141
( nextCitation ) => setAttributes( {
4242
citation: nextCitation

0 commit comments

Comments
 (0)