From 00480524ab1e4c7f05ed4af53a6de28301f5b971 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Thu, 8 Nov 2018 13:45:57 +0100 Subject: [PATCH] =?UTF-8?q?:alien:=20ajoute=20la=20traduction=20pour=20le?= =?UTF-8?q?=20menu=20de=20navigation=20lat=C3=A9ral?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/locales/en.yaml | 3 ++ .../layout/Navigation/Navigation.js | 35 ++++++++------ .../pages/Company/CreationChecklist.js | 8 ++-- .../pages/Company/Liability.js | 46 ++++++++++++------- 4 files changed, 58 insertions(+), 34 deletions(-) diff --git a/source/locales/en.yaml b/source/locales/en.yaml index 32a6722e4..71ddf75da 100644 --- a/source/locales/en.yaml +++ b/source/locales/en.yaml @@ -477,3 +477,6 @@ embauche: <2>Deliver the standardised payslip to your employee <2>Get an example payslip + +Guide du status juridique: Legal status guide +Démarches de création: Creation process checklist diff --git a/source/sites/mycompanyinfrance.fr/layout/Navigation/Navigation.js b/source/sites/mycompanyinfrance.fr/layout/Navigation/Navigation.js index ec9ce5f47..4cc5a7271 100644 --- a/source/sites/mycompanyinfrance.fr/layout/Navigation/Navigation.js +++ b/source/sites/mycompanyinfrance.fr/layout/Navigation/Navigation.js @@ -1,7 +1,8 @@ /* @flow */ -import { compose } from 'ramda' import { React, T } from 'Components' +import { compose } from 'ramda' import emoji from 'react-easy-emoji' +import { translate } from 'react-i18next' import { connect } from 'react-redux' import { NavLink, withRouter } from 'react-router-dom' import selectors from 'Selectors/progressSelectors' @@ -11,6 +12,7 @@ import hiringSvg from '../../images/hiring.svg' import './Navigation.css' import NavOpener from './NavOpener' import SideBar from './SideBar' +import type { TFunction } from 'react-i18next' const Progress = ({ percent }) => (
@@ -26,10 +28,12 @@ type Props = { companyProgress: number, estimationProgress: number, hiringProgress: number, - companyStatusChoice: string + companyStatusChoice: string, + t: TFunction } const StepsHeader = ({ companyProgress, + t, estimationProgress, hiringProgress, companyStatusChoice @@ -54,41 +58,41 @@ const StepsHeader = ({ }>