Skip to content

Commit

Permalink
Remove "we" from messages (#13644)
Browse files Browse the repository at this point in the history
* remove "we" from embed preview error message

* remove "we" from embed placeholder

* Change from "embed" to "embedded".
  • Loading branch information
Rahmon authored and youknowriad committed Mar 6, 2019
1 parent 5379530 commit 750572c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/embed/embed-placeholder.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const EmbedPlaceholder = ( props ) => {
</Button>
{ cannotEmbed &&
<p className="components-placeholder__error">
{ __( 'Sorry, we could not embed that content.' ) }<br />
{ __( 'Sorry, this content could not be embedded.' ) }<br />
<Button isLarge onClick={ tryAgain }>{ _x( 'Try again', 'button label' ) }</Button> <Button isLarge onClick={ fallback }>{ _x( 'Convert to link', 'button label' ) }</Button>
</p>
}
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/embed/embed-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const EmbedPreview = ( props ) => {
{ ( cannotPreview ) ? (
<Placeholder icon={ <BlockIcon icon={ icon } showColors /> } label={ label }>
<p className="components-placeholder__error"><a href={ url }>{ url }</a></p>
<p className="components-placeholder__error">{ __( 'Sorry, we cannot preview this embedded content in the editor.' ) }</p>
<p className="components-placeholder__error">{ __( 'Sorry, this embedded content cannot be previewed in the editor.' ) }</p>
</Placeholder>
) : embedWrapper }
{ ( ! RichText.isEmpty( caption ) || isSelected ) && (
Expand Down

0 comments on commit 750572c

Please sign in to comment.