Skip to content

Commit

Permalink
Use double quotes in all NUX tips (#9206)
Browse files Browse the repository at this point in the history
* Single → double quotes in publish tip
* Single → double quotes in document settings tip
* Single → double quotes in preview tip
* Update preview button test
  • Loading branch information
ZebulanStanphill authored and tofumatt committed Aug 21, 2018
1 parent ba5dc99 commit 45f65dd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion edit-post/components/header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function Header( {
shortcut={ shortcuts.toggleSidebar.display }
>
<DotTip id="core/editor.settings">
{ __( 'You’ll find more settings for your page and blocks in the sidebar. Click Settings to open it.' ) }
{ __( 'You’ll find more settings for your page and blocks in the sidebar. Click Settings to open it.' ) }
</DotTip>
</IconButton>
<PinnedPlugins.Slot />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class PostPreviewButton extends Component {
>
{ _x( 'Preview', 'imperative verb' ) }
<DotTip id="core/editor.preview">
{ __( 'Click Preview to load a preview of this page, so you can make sure you’re happy with your blocks.' ) }
{ __( 'Click Preview to load a preview of this page, so you can make sure you’re happy with your blocks.' ) }
</DotTip>
</Button>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports[`PostPreviewButton render() should match the snapshot 1`] = `
<WithInstanceId(WithSelect(WithDispatch(DotTip)))
id="core/editor.preview"
>
Click Preview to load a preview of this page, so you can make sure you’re happy with your blocks.
Click Preview to load a preview of this page, so you can make sure you’re happy with your blocks.
</WithInstanceId(WithSelect(WithDispatch(DotTip)))>
</Button>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function PostPublishPanelToggle( {
>
{ isBeingScheduled ? __( 'Schedule…' ) : __( 'Publish…' ) }
<DotTip id="core/editor.publish">
{ __( 'Finished writing? That’s great, let’s get this published right now. Just click Publish and you’re good to go.' ) }
{ __( 'Finished writing? That’s great, let’s get this published right now. Just click Publish and you’re good to go.' ) }
</DotTip>
</Button>
);
Expand Down

0 comments on commit 45f65dd

Please sign in to comment.