Skip to content

Commit

Permalink
change "expert" to "support" in page route and title (#29459)
Browse files Browse the repository at this point in the history
* change "expert" to "support" in page route and title

* add translator comment
  • Loading branch information
travisw authored Dec 18, 2018
1 parent 38e1326 commit 8343349
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions client/my-sites/checkout/concierge-session-nudge/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,14 @@ export class ConciergeSessionNudge extends React.Component {
};

render() {
const { selectedSiteId, isLoading, hasProductsList, hasSitePlans } = this.props;
const title = 'Checkout ‹ Expert Session';
const { selectedSiteId, isLoading, hasProductsList, hasSitePlans, translate } = this.props;
const title = translate( 'Checkout ‹ Support Session', {
comment: '"Checkout" is the part of the site where a user is preparing to make a purchase.',
} );

return (
<Main className="concierge-session-nudge">
<PageViewTracker path="/checkout/:site/add-expert-session/:receipt_id" title={ title } />
<PageViewTracker path="/checkout/:site/add-support-session/:receipt_id" title={ title } />
<DocumentHead title={ title } />
<QuerySites siteId={ selectedSiteId } />
{ ! hasProductsList && <QueryProductsList /> }
Expand Down
2 changes: 1 addition & 1 deletion client/my-sites/checkout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function() {

if ( config.isEnabled( 'upsell/concierge-session' ) ) {
page(
'/checkout/:site/add-expert-session/:receiptId?',
'/checkout/:site/add-support-session/:receiptId?',
redirectLoggedOut,
siteSelection,
conciergeSessionNudge,
Expand Down

0 comments on commit 8343349

Please sign in to comment.