diff --git a/src/block/block.js b/src/block/block.js index ae91e38..8efa8bf 100644 --- a/src/block/block.js +++ b/src/block/block.js @@ -56,14 +56,14 @@ cloudflareStream.icon = wp.element.createElement( */ // phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact,Generic.WhiteSpace.ScopeIndent.Incorrect registerBlockType( 'cloudflare-stream/block-video', { - title: __( 'Cloudflare Stream Video', 'cloudflare-stream-wordpress' ), + title: __( 'Cloudflare Stream Video', 'cloudflare-stream' ), icon: cloudflareStream.icon, render_callback: 'cloudflare_stream_render_block', category: 'embed', keywords: [ - __( 'Cloudflare', 'cloudflare-stream-wordpress' ), - __( 'Stream', 'cloudflare-stream-wordpress' ), - __( 'video', 'cloudflare-stream-wordpress' ), + __( 'Cloudflare', 'cloudflare-stream' ), + __( 'Stream', 'cloudflare-stream' ), + __( 'video', 'cloudflare-stream' ), ], deprecated: [ deprecated_108 ], attributes: { diff --git a/src/block/edit.js b/src/block/edit.js index aec23ca..f00c192 100644 --- a/src/block/edit.js +++ b/src/block/edit.js @@ -215,7 +215,7 @@ class CloudflareStreamEdit extends Component { ).html( __( 'Upload Error: See the console for details.', - 'cloudflare-stream-wordpress' + 'cloudflare-stream' ) ); jQuery( '.editor-media-placeholder__retry-button' ).show(); @@ -266,7 +266,7 @@ class CloudflareStreamEdit extends Component { ).html( __( 'Upload Complete. Processing video.', - 'cloudflare-stream-wordpress' + 'cloudflare-stream' ) ); progressLabel.text( '' ); @@ -304,7 +304,7 @@ class CloudflareStreamEdit extends Component { ).html( __( 'Uploading your video.', - 'cloudflare-stream-wordpress' + 'cloudflare-stream' ) ); block.uploadFromFiles( file ); @@ -316,7 +316,7 @@ class CloudflareStreamEdit extends Component { sprintf( __( 'Processing Error: %s', - 'cloudflare-stream-wordpress' + 'cloudflare-stream' ), data.data ) @@ -404,7 +404,7 @@ class CloudflareStreamEdit extends Component { jQuery( '.editor-media-placeholder .components-placeholder__instructions' ).html( - __( 'Processing your video', 'cloudflare-stream-wordpress' ) + __( 'Processing your video', 'cloudflare-stream' ) ); const file = jQuery( @@ -445,11 +445,11 @@ class CloudflareStreamEdit extends Component { icon={ cloudflareStream.icon } label={ __( 'Cloudflare Stream', - 'cloudflare-stream-wordpress' + 'cloudflare-stream' ) } instructions={ __( 'Uploading your video.', - 'cloudflare-stream-wordpress' + 'cloudflare-stream' ) } className="editor-media-placeholder" > @@ -476,7 +476,7 @@ class CloudflareStreamEdit extends Component { } } className="editor-media-placeholder__retry-button" > - { __( 'Retry', 'cloudflare-stream-wordpress' ) } + { __( 'Retry', 'cloudflare-stream' ) } // phpcs:enable @@ -491,11 +491,11 @@ class CloudflareStreamEdit extends Component { icon={ cloudflareStream.icon } label={ __( 'Cloudflare Stream', - 'cloudflare-stream-wordpress' + 'cloudflare-stream' ) } instructions={ __( 'Processing your video.', - 'cloudflare-stream-wordpress' + 'cloudflare-stream' ) } className="editor-media-placeholder" > @@ -517,7 +517,7 @@ class CloudflareStreamEdit extends Component { icon="update" label={ __( 'Retry', - 'cloudflare-stream-wordpress' + 'cloudflare-stream' ) } onClick={ switchToEditing } style={ { @@ -525,7 +525,7 @@ class CloudflareStreamEdit extends Component { } } className="editor-media-placeholder__retry-button" > - { __( 'Retry', 'cloudflare-stream-wordpress' ) } + { __( 'Retry', 'cloudflare-stream' ) } // phpcs:enable @@ -542,11 +542,11 @@ class CloudflareStreamEdit extends Component { icon={ cloudflareStream.icon } label={ __( 'Cloudflare Stream', - 'cloudflare-stream-wordpress' + 'cloudflare-stream' ) } instructions={ __( 'Select a file from your library.', - 'cloudflare-stream-wordpress' + 'cloudflare-stream' ) } > ) } @@ -581,7 +581,7 @@ class CloudflareStreamEdit extends Component { className="editor-media-placeholder__cancel-button" > { ' ' } - { __( 'Cancel', 'cloudflare-stream-wordpress' ) } + { __( 'Cancel', 'cloudflare-stream' ) } // phpcs:enable @@ -600,7 +600,7 @@ class CloudflareStreamEdit extends Component { onChange={ switchToUploading } accept="video/*" > - { __( 'Upload', 'cloudflare-stream-wordpress' ) } + { __( 'Upload', 'cloudflare-stream' ) } ) } @@ -626,7 +626,7 @@ class CloudflareStreamEdit extends Component { // phpcs:enable @@ -649,7 +649,7 @@ class CloudflareStreamEdit extends Component { className="components-icon-button components-toolbar__control" label={ __( 'Edit video', - 'cloudflare-stream-wordpress' + 'cloudflare-stream' ) } onClick={ switchToEditing } icon="edit" @@ -660,13 +660,13 @@ class CloudflareStreamEdit extends Component {