diff --git a/packages/edit-site/src/components/global-styles/font-library-modal/installed-fonts.js b/packages/edit-site/src/components/global-styles/font-library-modal/installed-fonts.js index fd962618b510a..c644c219348a6 100644 --- a/packages/edit-site/src/components/global-styles/font-library-modal/installed-fonts.js +++ b/packages/edit-site/src/components/global-styles/font-library-modal/installed-fonts.js @@ -382,6 +382,7 @@ function ConfirmDeleteDialog( { confirmButtonText={ __( 'Delete' ) } onCancel={ handleCancelUninstall } onConfirm={ handleConfirmUninstall } + size="medium" > { font && sprintf( diff --git a/packages/edit-site/src/components/global-styles/screen-revisions/index.js b/packages/edit-site/src/components/global-styles/screen-revisions/index.js index dab5c77176bfd..de27e92113b55 100644 --- a/packages/edit-site/src/components/global-styles/screen-revisions/index.js +++ b/packages/edit-site/src/components/global-styles/screen-revisions/index.js @@ -198,6 +198,7 @@ function ScreenRevisions() { onCancel={ () => setIsLoadingRevisionWithUnsavedChanges( false ) } + size="medium" > { __( 'Are you sure you want to apply this revision? Any unsaved changes will be lost.' diff --git a/packages/edit-site/src/components/global-styles/shadows-edit-panel.js b/packages/edit-site/src/components/global-styles/shadows-edit-panel.js index 443d72deb9573..7a513cc250d66 100644 --- a/packages/edit-site/src/components/global-styles/shadows-edit-panel.js +++ b/packages/edit-site/src/components/global-styles/shadows-edit-panel.js @@ -201,6 +201,7 @@ export default function ShadowsEditPanel() { setIsConfirmDialogVisible( false ); } } confirmButtonText={ __( 'Delete' ) } + size="medium" > { sprintf( // translators: %s: name of the shadow diff --git a/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js b/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js index fdfb189fd3cd1..ef1fd11612cca 100644 --- a/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js +++ b/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js @@ -16,6 +16,7 @@ export default function DeleteConfirmDialog( { onClose, onConfirm } ) { } } onCancel={ onClose } confirmButtonText={ __( 'Delete' ) } + size="medium" > { __( 'Are you sure you want to delete this Navigation Menu?' ) } diff --git a/packages/editor/src/components/post-trash/index.js b/packages/editor/src/components/post-trash/index.js index ebb078804da6d..15efcf190b687 100644 --- a/packages/editor/src/components/post-trash/index.js +++ b/packages/editor/src/components/post-trash/index.js @@ -55,6 +55,7 @@ export default function PostTrash() { onConfirm={ handleConfirm } onCancel={ () => setShowConfirmDialog( false ) } confirmButtonText={ __( 'Move to trash' ) } + size="medium" > { __( 'Are you sure you want to move this post to the trash?' diff --git a/packages/editor/src/components/post-visibility/index.js b/packages/editor/src/components/post-visibility/index.js index fef07d0033d36..e47f2acd66443 100644 --- a/packages/editor/src/components/post-visibility/index.js +++ b/packages/editor/src/components/post-visibility/index.js @@ -133,6 +133,7 @@ export default function PostVisibility( { onClose } ) { onConfirm={ confirmPrivate } onCancel={ handleDialogCancel } confirmButtonText={ __( 'Publish' ) } + size="medium" > { __( 'Would you like to privately publish this post now?' ) } diff --git a/packages/editor/src/components/template-validation-notice/index.js b/packages/editor/src/components/template-validation-notice/index.js index 4aa1faac4bd9c..bfbc6319ffa8a 100644 --- a/packages/editor/src/components/template-validation-notice/index.js +++ b/packages/editor/src/components/template-validation-notice/index.js @@ -51,6 +51,7 @@ export default function TemplateValidationNotice() { synchronizeTemplate(); } } onCancel={ () => setShowConfirmDialog( false ) } + size="medium" > { __( 'Resetting the template may result in loss of content, do you want to continue?' diff --git a/packages/editor/src/components/visual-editor/edit-template-blocks-notification.js b/packages/editor/src/components/visual-editor/edit-template-blocks-notification.js index ed96cae1c753e..775ef0f521363 100644 --- a/packages/editor/src/components/visual-editor/edit-template-blocks-notification.js +++ b/packages/editor/src/components/visual-editor/edit-template-blocks-notification.js @@ -80,6 +80,7 @@ export default function EditTemplateBlocksNotification( { contentRef } ) { } ); } } onCancel={ () => setIsDialogOpen( false ) } + size="medium" > { __( 'You’ve tried to select a block that is part of a template, which may be used on other posts and pages. Would you like to edit the template?'