From ee2d5c7a0d9462ee8162e851d298ea0349787327 Mon Sep 17 00:00:00 2001 From: Ramon Date: Mon, 4 Feb 2019 04:40:42 -0200 Subject: [PATCH] Remove "we" from messages (#13644) * remove "we" from embed preview error message * remove "we" from embed placeholder * Change from "embed" to "embedded". --- packages/block-library/src/embed/embed-placeholder.js | 2 +- packages/block-library/src/embed/embed-preview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/embed/embed-placeholder.js b/packages/block-library/src/embed/embed-placeholder.js index 5545c6a3ddd3c..9b2176d5ccf3c 100644 --- a/packages/block-library/src/embed/embed-placeholder.js +++ b/packages/block-library/src/embed/embed-placeholder.js @@ -24,7 +24,7 @@ const EmbedPlaceholder = ( props ) => { { cannotEmbed &&

- { __( 'Sorry, we could not embed that content.' ) }
+ { __( 'Sorry, this content could not be embedded.' ) }

} diff --git a/packages/block-library/src/embed/embed-preview.js b/packages/block-library/src/embed/embed-preview.js index fc82b84a4d511..efc11b7a5809b 100644 --- a/packages/block-library/src/embed/embed-preview.js +++ b/packages/block-library/src/embed/embed-preview.js @@ -55,7 +55,7 @@ const EmbedPreview = ( props ) => { { ( cannotPreview ) ? ( } label={ label }>

{ url }

-

{ __( 'Sorry, we cannot preview this embedded content in the editor.' ) }

+

{ __( 'Sorry, this embedded content cannot be previewed in the editor.' ) }

) : embedWrapper } { ( ! RichText.isEmpty( caption ) || isSelected ) && (