diff --git a/frontend/src/app/components/ExperimentTourDialog.js b/frontend/src/app/components/ExperimentTourDialog.js index 10a1da2cbd..d1de9c3820 100644 --- a/frontend/src/app/components/ExperimentTourDialog.js +++ b/frontend/src/app/components/ExperimentTourDialog.js @@ -1,7 +1,8 @@ // @flow -import React from 'react'; import classnames from 'classnames'; +import { Localized } from 'fluent-react'; +import React from 'react'; import { experimentL10nId } from '../lib/utils'; @@ -40,14 +41,10 @@ export default class ExperimentTourDialog extends React.Component { const atStart = (currentStep === 0); const atEnd = (currentStep === tourSteps.length - 1); - const l10nArgs = JSON.stringify({ - title: experiment.title - }); - - const headerTitle = enabled ? (

) : - (

{experiment.title}

); + const headerTitle = enabled ? ( + +

+
) : (

{experiment.title}

); return (
@@ -68,7 +65,9 @@ export default class ExperimentTourDialog extends React.Component {
{step.copy &&
-

{step.copy}

+ +

{step.copy}

+
} ))} @@ -77,9 +76,10 @@ export default class ExperimentTourDialog extends React.Component { className={classnames('tour-back', { hidden: atStart })}>
this.tourNext()} className={classnames('tour-next', { 'no-display': atEnd })}>
-
this.complete(e)} - className={classnames('tour-done', { 'no-display': !atEnd })} - data-l10n-id="tourDoneButton">Done
+ +
this.complete(e)} + className={classnames('tour-done', { 'no-display': !atEnd })}>Done
+