diff --git a/client/src/common/registerWizard.js b/client/src/common/registerWizard.js index eef7523c6..900822f01 100644 --- a/client/src/common/registerWizard.js +++ b/client/src/common/registerWizard.js @@ -1,16 +1,16 @@ +import intl from 'react-intl-universal'; - -export const registerWizardSteps = [ +export const getSetupWizardSteps = () => [ { - label: 'payment_or_trial', + label: intl.get('Plans & Payment'), }, { - label: 'initializing', + label: intl.get('Initializing'), }, { - label: 'getting_started', + label: intl.get('Getting started'), }, { - label: 'congratulations', + label: intl.get('Congratulations'), }, ]; \ No newline at end of file diff --git a/client/src/components/Dashboard/DashboardFooter.js b/client/src/components/Dashboard/DashboardFooter.js index 3f8974200..4a89621fc 100644 --- a/client/src/components/Dashboard/DashboardFooter.js +++ b/client/src/components/Dashboard/DashboardFooter.js @@ -1,6 +1,5 @@ import React from 'react'; - -import footerLinks from 'config/footerLinks'; +import { getFooterLinks } from 'config/footerLinks'; import { For } from 'components'; function FooterLinkItem({ title, link }) { @@ -14,6 +13,8 @@ function FooterLinkItem({ title, link }) { } export default function DashboardFooter() { + const footerLinks = getFooterLinks(); + return (