From e3d32b5d1d58602f43322637ba1b47364003e80d Mon Sep 17 00:00:00 2001 From: sarthaknagoshe2002 Date: Sat, 30 Nov 2024 00:35:04 +0530 Subject: [PATCH] Refactor Lock modal dialog for improved clarity and simplicity --- packages/block-editor/src/components/block-lock/modal.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/block-editor/src/components/block-lock/modal.js b/packages/block-editor/src/components/block-lock/modal.js index 3be23f6adde14..084d13d97ad4a 100644 --- a/packages/block-editor/src/components/block-lock/modal.js +++ b/packages/block-editor/src/components/block-lock/modal.js @@ -100,7 +100,7 @@ export default function BlockLockModal( { clientId, onClose } ) {
{ __( - 'Choose specific attributes to restrict or lock all available options.' + 'Choose "Lock all" to disable all actions, or select specific features to lock.' ) } { /* @@ -137,7 +137,7 @@ export default function BlockLockModal( { clientId, onClose } ) {
  • setLock( ( prevLock ) => ( { @@ -159,7 +159,7 @@ export default function BlockLockModal( { clientId, onClose } ) {
  • setLock( ( prevLock ) => ( { @@ -178,7 +178,7 @@ export default function BlockLockModal( { clientId, onClose } ) {
  • setLock( ( prevLock ) => ( {