Skip to content

Commit

Permalink
I18n: Block Preview (#5861)
Browse files Browse the repository at this point in the history
  • Loading branch information
Soean authored and aduth committed Mar 28, 2018
1 parent 3e56452 commit 7a0150b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion editor/components/block-preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { noop } from 'lodash';
/**
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { Component } from '@wordpress/element';
import { createBlock, BlockEdit } from '@wordpress/blocks';

Expand Down Expand Up @@ -41,7 +42,7 @@ class BlockPreview extends Component {

return (
<div className="editor-block-preview">
<div className="editor-block-preview__title">Preview</div>
<div className="editor-block-preview__title">{ __( 'Preview' ) }</div>
<div className="editor-block-preview__content">
<BlockEdit
name={ name }
Expand Down

0 comments on commit 7a0150b

Please sign in to comment.