Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block Library: Remove redundant copy from PanelBody titles #59278

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/block-library/src/button/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function WidthPanel( { selectedWidth, setAttributes } ) {
}

return (
<PanelBody title={ __( 'Width settings' ) }>
<PanelBody title={ __( 'Settings' ) }>
<ButtonGroup aria-label={ __( 'Button width' ) }>
{ [ 25, 50, 75, 100 ].map( ( widthValue ) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/comment-author-avatar/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function Edit( {

const inspectorControls = (
<InspectorControls>
<PanelBody title={ __( 'Avatar Settings' ) }>
<PanelBody title={ __( 'Settings' ) }>
<RangeControl
__nextHasNoMarginBottom
__next40pxDefaultSize
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/form-input/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function InputFieldBlock( { attributes, setAttributes, className } ) {
<>
{ 'hidden' !== type && (
<InspectorControls>
<PanelBody title={ __( 'Input settings' ) }>
<PanelBody title={ __( 'Settings' ) }>
{ 'checkbox' !== type && (
<CheckboxControl
label={ __( 'Inline label' ) }
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/list/ordered-list-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {

const OrderedListSettings = ( { setAttributes, reversed, start, type } ) => (
<InspectorControls>
<PanelBody title={ __( 'Ordered list settings' ) }>
<PanelBody title={ __( 'Settings' ) }>
<TextControl
__nextHasNoMarginBottom
label={ __( 'Start value' ) }
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/search/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ export default function SearchEdit( {
</BlockControls>

<InspectorControls>
<PanelBody title={ __( 'Display Settings' ) }>
<PanelBody title={ __( 'Settings' ) }>
<BaseControl
label={ __( 'Width' ) }
id={ unitControlInputId }
Expand Down
Loading