Skip to content

Commit

Permalink
improve wording
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Norris <[email protected]>
  • Loading branch information
matiasbenedetto and mikachan authored Jul 11, 2024
1 parent 6e9fa53 commit 1e680e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/editor-sidebar/reset-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ function ResetTheme() {
// eslint-disable-next-line no-alert
window.alert(
__(
'Theme reseted successfully. The editor will now reload.',
'Theme reset successfully. The editor will now reload.',
'create-block-theme'
)
);
window.location.reload();
} catch ( error ) {
createErrorNotice(
__(
'An error occurred while resetting theme.',
'An error occurred while resetting the theme.',
'create-block-theme'
)
);
Expand Down Expand Up @@ -141,7 +141,7 @@ function ResetTheme() {
/>

<Button
text={ __( 'Reset theme', 'create-block-theme' ) }
text={ __( 'Reset Theme', 'create-block-theme' ) }
variant="primary"
icon={ trash }
disabled={
Expand Down

0 comments on commit 1e680e6

Please sign in to comment.