update text

This commit is contained in:
Ray Elliott 2020-08-16 15:30:07 +01:00
parent 51a917457e
commit d0023fa12a
1 changed files with 4 additions and 4 deletions

View File

@ -57,9 +57,9 @@ export function edit({ className, attributes, setAttributes }) {
const InspectorControlsComponent = () => ( const InspectorControlsComponent = () => (
<InspectorControls> <InspectorControls>
<PanelBody title={__('Icon size', 'room-vw')}> <PanelBody title={__('Icon Size', 'room-vw')}>
<RangeControl <RangeControl
label={`${__('Font size', 'room-vw')} (${ label={`${__('Font Size', 'room-vw')} (${
attributes.fontUnit attributes.fontUnit
})`} })`}
value={attributes.fontSize} value={attributes.fontSize}
@ -83,7 +83,7 @@ export function edit({ className, attributes, setAttributes }) {
}} }}
/> />
</PanelBody> </PanelBody>
<PanelBody title={__('Icon variations', 'room-vw')}> <PanelBody title={__('Icon Variations', 'room-vw')}>
<ToggleControl <ToggleControl
label={__('Inline', 'room-vw')} label={__('Inline', 'room-vw')}
checked={attributes.isInline} checked={attributes.isInline}
@ -103,7 +103,7 @@ export function edit({ className, attributes, setAttributes }) {
<BlockControls> <BlockControls>
<Toolbar> <Toolbar>
<ToolbarButton <ToolbarButton
label={__('Replace icon', 'room-vw')} label={__('Replace Icon', 'room-vw')}
icon="admin-generic" icon="admin-generic"
onClick={openModal} onClick={openModal}
/> />