diff --git a/source/components/AnswerList.js b/source/components/AnswerList.js index 6594d2a06..881c14475 100644 --- a/source/components/AnswerList.js +++ b/source/components/AnswerList.js @@ -47,7 +47,7 @@ const AnswerList = ({

{emoji('🗑')}{' '}

diff --git a/source/components/ui/Button/index.js b/source/components/ui/Button/index.js index b00b59d01..d7b84677c 100644 --- a/source/components/ui/Button/index.js +++ b/source/components/ui/Button/index.js @@ -1,16 +1,22 @@ /* @flow */ -import * as React from 'react' +import { React, T } from 'Components' +import type { ElementConfig } from 'react' import './button.css' -export const SkipButton = (props: React.ElementConfig<'button'>) => ( + +export const SkipButton = (props: ElementConfig<'button'>) => ( ) -export const LinkButton = (props: React.ElementConfig<'button'>) => ( +export const LinkButton = (props: ElementConfig<'button'>) => ( - After registration › + Après la création›

diff --git a/source/sites/mycompanyinfrance.fr/pages/Company/Find.js b/source/sites/mycompanyinfrance.fr/pages/Company/Find.js index 0e1db4c60..57cb3af13 100644 --- a/source/sites/mycompanyinfrance.fr/pages/Company/Find.js +++ b/source/sites/mycompanyinfrance.fr/pages/Company/Find.js @@ -1,7 +1,7 @@ /* @flow */ import { saveExistingCompanyDetails } from 'Actions/existingCompanyActions' import { compose } from 'ramda' -import React from 'react' +import { React, T } from 'Components' import Helmet from 'react-helmet' import { connect } from 'react-redux' import { Link, withRouter } from 'react-router-dom' @@ -12,6 +12,7 @@ import 'react-select/dist/react-select.css' import './Find.css' import { CompanyDetails as Company } from './YourCompany' import type { RouterHistory } from 'react-router' +import { translate } from 'react-i18next' const goToNextStep = (history: RouterHistory) => { history.push('/social-security') @@ -49,6 +50,7 @@ class Search extends React.Component { }) render() { + let { t } = this.props return (
@@ -58,14 +60,20 @@ class Search extends React.Component { content="Find your existing company, and start simulate hiring cost customized to your situation" /> -

Find your company

+

+ Trouver mon entreprise +

- I don't have a company yet + + Je n'ai pas encore d'entreprise +

- {' '} - Thanks to the SIREN database, the public informations of your company - will be automatically available for the next steps. + + Grâce à la base SIREN, les données publiques sur votre entreprise + seront automatiquement disponibles pour la suite du parcours sur le + site. +

{/* $FlowFixMe */} { optionRenderer={({ l1_normalisee, code_postal }) => l1_normalisee + ` (${code_postal})` } - placeholder="Type your company name" - noResultsText="We didn't find any matching registered company." + placeholder={t('Entrez le nom de votre société')} + noResultsText={t("Nous n'avons rien trouvé")} searchPromptText={null} - loadingPlaceholder="Searching..." + loadingPlaceholder={t('Recherche en cours...')} loadOptions={this.getOptions} /> {!!this.state.input && ( @@ -91,7 +99,7 @@ class Search extends React.Component { goToNextStep(this.props.history) }} className="ui__ button"> - Confirm and simulate hiring costs + Confirm and simulate hiring costs )} @@ -107,5 +115,6 @@ export default compose( { onCompanyDetailsConfirmation: saveExistingCompanyDetails } - ) + ), + translate() )(Search) diff --git a/source/sites/mycompanyinfrance.fr/pages/Company/Home.js b/source/sites/mycompanyinfrance.fr/pages/Company/Home.js index 90d5f1ac9..8c05cd385 100644 --- a/source/sites/mycompanyinfrance.fr/pages/Company/Home.js +++ b/source/sites/mycompanyinfrance.fr/pages/Company/Home.js @@ -32,7 +32,7 @@ const CreateMyCompany = ({ match, nextQuestionUrl }: Props) => (

- + Le droit des sociétés définit plus de 20 statuts juridiques possibles pour déclarer une société avec différents acronymes et démarches : SAS, SARL, SA, EIRL.... Ce guide vous aide à trouver rapidement le statut qui @@ -45,7 +45,7 @@ const CreateMyCompany = ({ match, nextQuestionUrl }: Props) => ( Choisir la forme juridique - Passer › + Plus tard ›

)} diff --git a/source/sites/mycompanyinfrance.fr/pages/Company/LegalStatusChoice.js b/source/sites/mycompanyinfrance.fr/pages/Company/LegalStatusChoice.js index 524a39aef..3f1789f9f 100644 --- a/source/sites/mycompanyinfrance.fr/pages/Company/LegalStatusChoice.js +++ b/source/sites/mycompanyinfrance.fr/pages/Company/LegalStatusChoice.js @@ -1,7 +1,7 @@ /* @flow */ import { goToCompanyStatusChoice } from 'Actions/companyStatusActions' import { isNil } from 'ramda' -import React from 'react' +import { React, T } from 'Components' import emoji from 'react-easy-emoji' import { connect } from 'react-redux' import { capitalise0 } from '../../../../utils' @@ -32,12 +32,14 @@ const LegalStatusChoice = ({ return ( !!Object.keys(legalStatus).length && ( <> -

My answers

+

+ Mes réponses +