Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Richards <[email protected]>
  • Loading branch information
kevin940726 and talldan committed Apr 11, 2024
1 parent 0d1f0a1 commit 934c753
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/block-rename/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function BlockRenameModal( {
help={
hasOverridesWarning
? __(
'This block allows overrides. Note that renaming could potentially break existing connections.'
'This block allows overrides. Changing the name can cause problems with content entered into instances of this pattern.'
)
: undefined
}
Expand Down
2 changes: 1 addition & 1 deletion packages/patterns/src/components/allow-overrides-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function AllowOverridesModal( {
label={ __( 'Block name' ) }
hideLabelFromVision
help={ __(
'This name will be used to denote the override wherever the synced pattern is used. The name here will help people understand its purpose. E.g. if you\'re creating a recipe pattern, it can be "recipe", "ingredients", etc.'
'This name will be used to denote the override wherever the synced pattern is used. The name here will help people understand its purpose. E.g. if you\'re creating a recipe pattern, it can be "Recipe Title", "Recipe Description", etc.'
) }
placeholder={ placeholder }
onChange={ setEditedBlockName }
Expand Down

0 comments on commit 934c753

Please sign in to comment.