diff --git a/js/block.js b/js/block.js index 579b61b..691fcbc 100755 --- a/js/block.js +++ b/js/block.js @@ -49,7 +49,7 @@ * This is the display title for your block, which can be translated with `i18n` functions. * The block inserter will show this name. */ - title: __( 'Pym Embed', 'pym-shortcode' ), + title: __( 'Pym Embed' ), /** * An icon property should be specified to make it easier to identify a block. @@ -81,7 +81,7 @@ /** * Describe the block for the block inspector */ - description: __( 'Embed a webpage using NPR\'s Pym.js', 'pym-shortcode' ), + description: __( 'Embed a webpage using NPR\'s Pym.js' ), /** * Make the block easier to find by including keywords @@ -114,10 +114,10 @@ icon: 'analytics' }, ), - __( 'Pym Child URL', 'pym-shortcode' ) + __( 'Pym Child URL' ) ], value: props.attributes.src, - placeholder: __( 'What is the URL of your Pym child page?', 'pym-shortcode' ), + placeholder: __( 'What is the URL of your Pym child page?' ), onChange: ( value ) => { props.setAttributes( { src: value } ); }, } ) ), @@ -130,26 +130,26 @@ */ el( InspectorControls, {}, el( TextControl, { - label: __( 'Pym Child URL', 'pym-shortcode' ), + label: __( 'Pym Child URL' ), value: props.attributes.src, - placeholder: __( 'What is the URL of your Pym child page?', 'pym-shortcode' ), + placeholder: __( 'What is the URL of your Pym child page?' ), onChange: ( value ) => { props.setAttributes( { src: value } ); }, } ), ), el( InspectorAdvancedControls, {}, el( TextControl, { - label: __( 'Parent element ID (optional)', 'pym-shortcode' ), + label: __( 'Parent element ID (optional)' ), value: props.attributes.id, onChange: ( value ) => { props.setAttributes( { id: value } ); }, - help: __( 'The Pym block will automatically generate an ID for the parent element and use that to initiate the Pym embed. If your child page\'s code requires its parent to have a specific element ID, set that here.', 'pym-shortcode' ), + help: __( 'The Pym block will automatically generate an ID for the parent element and use that to initiate the Pym embed. If your child page\'s code requires its parent to have a specific element ID, set that here.' ), } ), el( TextControl, { - label: __( 'Pym.js source URL (optional)', 'pym-shortcode' ), + label: __( 'Pym.js source URL (optional)' ), value: props.attributes.pymsrc, onChange: ( value ) => { props.setAttributes( { pymsrc: value } ); }, } ), el( TextControl, { - label: __( 'Pym Options', 'pym-shortcode' ), + label: __( 'Pym Options' ), value: props.attributes.pymoptions, onChange: ( value ) => { props.setAttributes( { pymoptions: value } ); }, // @todo make this translatable https://github.com/WordPress/gutenberg/blob/master/packages/i18n/README.md