From 90895097ab178f5d96c87fe57e222a71784a386d Mon Sep 17 00:00:00 2001
From: Johan Girod
Date: Mon, 18 Mar 2019 19:35:56 +0100
Subject: [PATCH] =?UTF-8?q?:alien:=20:bug:=20enl=C3=A8ve=20le=20lien=20ver?=
=?UTF-8?q?s=20le=20PDF=20sur=20mcif.fr?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
source/locales/en.yaml | 2 +
.../pages/Company/CreationChecklist.js | 43 +++++++++++--------
2 files changed, 27 insertions(+), 18 deletions(-)
diff --git a/source/locales/en.yaml b/source/locales/en.yaml
index c6ba8f2bf..c1864e515 100644
--- a/source/locales/en.yaml
+++ b/source/locales/en.yaml
@@ -199,6 +199,8 @@ entreprise:
description: |
<0><0>The corporate name0> ("dénomination sociale") is the legal name of your company, written on all of your administrative papers. It can be different from the trade name (used for commercial purpose).0>
<1>It is advisable to check that the name is available, i.e. that it does not infringe a name already protected by a trademark, a company name, a trade name, an Internet domain name, etc. You can check on the <2>INPI database2>.1>
+ formeJuridique:
+ titre: Choose the legal status
objetSocial:
titre: Write the corporate purpose of the company
description: The <1>corporate purpose1> of the company ("objet social") is the main activity run. A secondary activity can be registered.
diff --git a/source/sites/mycompanyinfrance.fr/pages/Company/CreationChecklist.js b/source/sites/mycompanyinfrance.fr/pages/Company/CreationChecklist.js
index 0e82906bd..c93ac41b0 100644
--- a/source/sites/mycompanyinfrance.fr/pages/Company/CreationChecklist.js
+++ b/source/sites/mycompanyinfrance.fr/pages/Company/CreationChecklist.js
@@ -7,6 +7,7 @@ import { goToCompanyStatusChoice } from 'Actions/companyStatusActions'
import { React, T } from 'Components'
import Route404 from 'Components/Route404'
import Scroll from 'Components/utils/Scroll'
+import withLanguage from 'Components/utils/withLanguage'
import withSitePaths from 'Components/utils/withSitePaths'
import { compose } from 'ramda'
import emoji from 'react-easy-emoji'
@@ -21,11 +22,11 @@ import StatusDescription from './StatusDescription'
import type { Match } from 'react-router'
import type { TFunction } from 'react-i18next'
-
type Props = {
statusChooserCompleted: boolean,
match: Match,
onChecklistInitialization: (string, Array) => void,
+ language: string,
onStatusChange: () => void,
sitePaths: Object,
onItemCheck: (name: string, checked: boolean) => void,
@@ -37,6 +38,7 @@ const CreateCompany = ({
match,
statusChooserCompleted,
onChecklistInitialization,
+ language,
onItemCheck,
sitePaths,
companyCreationChecklist,
@@ -141,10 +143,10 @@ const CreateCompany = ({
onItemCheck={onItemCheck}
defaultChecked={companyCreationChecklist}>
+
Choisir la forme juridique
}
@@ -473,28 +475,33 @@ const CreateCompany = ({
Après la création →
- {emoji('📜')} Vous êtes plutôt papier ?
-
- Accédez gratuitement au guide complet de la création entreprise en 2019,
- édité par l'URSSAF. Au programme : des conseils sur comment préparer son
- projet, comment se lancer dans la création ou encore la présentation
- détaillée de votre protection sociale.
-
+ {language === 'fr' && (
+ <>
+ {emoji('📜')} Vous êtes plutôt papier ?
+
+ Accédez gratuitement au guide complet de la création entreprise en
+ 2019, édité par l'URSSAF. Au programme : des conseils sur comment
+ préparer son projet, comment se lancer dans la création ou encore la
+ présentation détaillée de votre protection sociale.
+
-
+
+ >
+ )}
)
}
export default compose(
withTranslation(),
withSitePaths,
+ withLanguage,
connect(
state => ({
companyCreationChecklist: state.inFranceApp.companyCreationChecklist,