Skip to content

Commit

Permalink
Mention 'default' in confirmation message
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster committed Apr 2, 2024
1 parent 4d687d8 commit 5fc2781
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,9 @@ export const resetAction = {
const { removeTemplate } = useDispatch( editSiteStore );
return (
<VStack spacing="5">
<Text>{ __( 'Reset and clear all customizations?' ) }</Text>
<Text>
{ __( 'Reset to default and clear all customizations?' ) }
</Text>
<HStack justify="right">
<Button variant="tertiary" onClick={ closeModal }>
{ __( 'Cancel' ) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ export const resetTemplateAction = {
};
return (
<VStack spacing="5">
<Text>{ __( 'Reset and clear all customizations?' ) }</Text>
<Text>
{ __( 'Reset to default and clear all customizations?' ) }
</Text>
<HStack justify="right">
<Button variant="tertiary" onClick={ closeModal }>
{ __( 'Cancel' ) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function ResetMenuItem( { template, onClose } ) {
onCancel={ () => setIsModalOpen( false ) }
confirmButtonText={ __( 'Reset' ) }
>
{ __( 'Reset and clear all customizations?' ) }
{ __( 'Rese to default and clear all customizations?' ) }
</ConfirmDialog>
</>
);
Expand Down

0 comments on commit 5fc2781

Please sign in to comment.