Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page List: Change modal text #52116

Merged
merged 3 commits into from
Jul 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import { Button, Modal } from '@wordpress/components';
import { __ } from '@wordpress/i18n';

export const convertDescription = __(
'This menu is automatically kept in sync with pages on your site. You can manage the menu yourself by clicking "Edit" below.'
'This page list is synced with the published pages on your site. Detach the page list to add, delete, or reorder pages yourself.'
);

export function ConvertToLinksModal( { onClick, onClose, disabled } ) {
return (
<Modal
onRequestClose={ onClose }
title={ __( 'Edit this menu' ) }
title={ __( 'Edit Page List' ) }
className={ 'wp-block-page-list-modal' }
aria={ {
describedby: 'wp-block-page-list-modal__description',
Expand All @@ -30,7 +30,7 @@ export function ConvertToLinksModal( { onClick, onClose, disabled } ) {
disabled={ disabled }
onClick={ onClick }
>
{ __( 'Edit' ) }
{ __( 'Detach' ) }
</Button>
</div>
</Modal>
Expand Down