Skip to content

Commit

Permalink
Unify welcome guides labels. (WordPress#51700)
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia authored and sethrubenstein committed Jul 13, 2023
1 parent 760a866 commit 9f0536d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/welcome-guide/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function WelcomeGuideEditor() {
<Guide
className="edit-site-welcome-guide"
contentLabel={ __( 'Welcome to the site editor' ) }
finishButtonText={ __( 'Get Started' ) }
finishButtonText={ __( 'Get started' ) }
onFinish={ () => toggle( 'core/edit-site', 'welcomeGuide' ) }
pages={ [
{
Expand Down
8 changes: 5 additions & 3 deletions packages/edit-site/src/components/welcome-guide/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ export default function WelcomeGuideStyles() {
return null;
}

const welcomeLabel = __( 'Welcome to Styles' );

return (
<Guide
className="edit-site-welcome-guide"
contentLabel={ __( 'Welcome to styles' ) }
finishButtonText={ __( 'Get Started' ) }
contentLabel={ welcomeLabel }
finishButtonText={ __( 'Get started' ) }
onFinish={ () => toggle( 'core/edit-site', 'welcomeGuideStyles' ) }
pages={ [
{
Expand All @@ -51,7 +53,7 @@ export default function WelcomeGuideStyles() {
content: (
<>
<h1 className="edit-site-welcome-guide__heading">
{ __( 'Welcome to Styles' ) }
{ welcomeLabel }
</h1>
<p className="edit-site-welcome-guide__text">
{ __(
Expand Down

0 comments on commit 9f0536d

Please sign in to comment.