Skip to content

Commit

Permalink
Rephrase responsive toggle. (#10981)
Browse files Browse the repository at this point in the history
This replaces #10424. That rebase didn't work for me.
  • Loading branch information
jasmussen authored Oct 24, 2018
1 parent d4e097c commit 8df40f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/embed/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export function getEmbedEditComponent( title, icon ) {
}

getResponsiveHelp( checked ) {
return checked ? __( 'Videos and other content automatically resizes.' ) : __( 'Content is fixed size.' );
return checked ? __( 'This embed will preserve its aspect ratio when the browser is resized.' ) : __( 'This embed may not preserve its aspect ratio when the browser is resized.' );
}

toggleResponsive() {
Expand Down Expand Up @@ -288,7 +288,7 @@ export function getEmbedEditComponent( title, icon ) {
<InspectorControls>
<PanelBody title={ __( 'Media Settings' ) } className="blocks-responsive">
<ToggleControl
label={ __( 'Automatically scale content' ) }
label={ __( 'Resize for smaller devices' ) }
checked={ allowResponsive }
help={ this.getResponsiveHelp }
onChange={ this.toggleResponsive }
Expand Down

0 comments on commit 8df40f1

Please sign in to comment.