Skip to content

Commit

Permalink
Reword template lock
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin940726 committed May 6, 2024
1 parent 9fd5a3c commit f04744b
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function TemplateLockContentOnlyMenuItems( { clientId, onClose } ) {
{ sprintf(
// translators: %s: block's title.
__(
'Only the content of blocks inside "%s" can be edited.'
'The parent "%s" block is partially locked, preventing the movement or deletion of child blocks, as well as the addition of any inner blocks.'
),
blockDisplayInformation.title
) }
Expand All @@ -162,7 +162,11 @@ function TemplateLockContentOnlyMenuItems( { clientId, onClose } ) {
onClose();
} }
>
{ __( 'Remove template lock' ) }
{ sprintf(
// translators: %s: block's title.
__( 'Unlock "%s"' ),
blockDisplayInformation.title
) }
</MenuItem>
</>
);
Expand Down

0 comments on commit f04744b

Please sign in to comment.