👽 ajoute la traduction pour la liste des status
parent
c9eb72652e
commit
8db5ba43a8
|
@ -405,3 +405,8 @@ sécu: |
|
|||
Votre entreprise: Your company
|
||||
Protection sociale: Social security
|
||||
Embauche: Hiring process
|
||||
Micro-entreprise: Micro-enterprise
|
||||
Entreprise Individuelle: Individual Business
|
||||
listeformejuridique:
|
||||
page:
|
||||
titre: Legal status list for creating your company in France
|
||||
|
|
|
@ -60,14 +60,14 @@ const Microenterprise = ({ companyIsMicroenterprise, t }: Props) => (
|
|||
companyIsMicroenterprise(true)
|
||||
}}
|
||||
className="ui__ button">
|
||||
Micro-enterprise
|
||||
<T>Micro-entreprise</T>
|
||||
</button>
|
||||
<button
|
||||
onClick={() => {
|
||||
companyIsMicroenterprise(false)
|
||||
}}
|
||||
className="ui__ button">
|
||||
Individual Business
|
||||
<T>Entreprise Individuelle</T>
|
||||
</button>
|
||||
<SkipButton onClick={() => companyIsMicroenterprise(null)} />
|
||||
</div>
|
||||
|
|
|
@ -4,16 +4,20 @@ import Helmet from 'react-helmet'
|
|||
import { connect } from 'react-redux'
|
||||
import { Link } from 'react-router-dom'
|
||||
import { possibleStatusSelector } from 'Selectors/companyStatusSelectors'
|
||||
import {translate} from 'react-i18next';
|
||||
import StatusDescription from './StatusDescription'
|
||||
import type { RouterHistory } from 'react-router'
|
||||
import {compose} from 'ramda'
|
||||
import type { LegalStatus } from 'Selectors/companyStatusSelectors'
|
||||
|
||||
import withLanguage from 'Components/utils/withLanguage'
|
||||
const setMainStatus = () => {}
|
||||
|
||||
type Props = {
|
||||
history: RouterHistory,
|
||||
possibleStatus: { [LegalStatus]: boolean },
|
||||
setMainStatus: LegalStatus => void
|
||||
setMainStatus: LegalStatus => void,
|
||||
language: string,
|
||||
t: (string, string) => string,
|
||||
}
|
||||
|
||||
const StatusButton = ({ status }: { status: LegalStatus }) => (
|
||||
|
@ -22,11 +26,11 @@ const StatusButton = ({ status }: { status: LegalStatus }) => (
|
|||
</Link>
|
||||
)
|
||||
|
||||
const SetMainStatus = ({ history, possibleStatus }: Props) => {
|
||||
const SetMainStatus = ({ history, possibleStatus, t, language }: Props) => {
|
||||
return (
|
||||
<>
|
||||
<Helmet>
|
||||
<title>Legal status list for creating your company in France</title>
|
||||
<title>{t('listeformejuridique.page.titre', 'Liste des statuts juridiques pour la création de votre entreprise')}</title>
|
||||
</Helmet>
|
||||
<h2>
|
||||
<T>Votre forme juridique</T>
|
||||
|
@ -36,7 +40,7 @@ const SetMainStatus = ({ history, possibleStatus }: Props) => {
|
|||
{possibleStatus.EI && (
|
||||
<li>
|
||||
<strong>
|
||||
EI - Entreprise individuelle (Individual business):{' '}
|
||||
EI - Entreprise individuelle {language !== 'fr' && '(Individual business)'}:{' '}
|
||||
</strong>
|
||||
<StatusDescription status="EI" />
|
||||
<br />
|
||||
|
@ -46,8 +50,8 @@ const SetMainStatus = ({ history, possibleStatus }: Props) => {
|
|||
{possibleStatus.EIRL && (
|
||||
<li>
|
||||
<strong>
|
||||
EIRL - Entrepreneur individuel à responsabilité limitée
|
||||
(Individual entrepreneur with limited liability):{' '}
|
||||
EIRL - Entrepreneur individuel à responsabilité limitée{' '}
|
||||
{language !== 'fr' && '(Individual entrepreneur with limited liability)'}:{' '}
|
||||
</strong>
|
||||
<StatusDescription status="EIRL" />
|
||||
<br />
|
||||
|
@ -57,8 +61,8 @@ const SetMainStatus = ({ history, possibleStatus }: Props) => {
|
|||
{possibleStatus.EURL && (
|
||||
<li>
|
||||
<strong>
|
||||
EURL - Entreprise unipersonnelle à responsabilité limitée (Limited
|
||||
personal company):{' '}
|
||||
EURL - Entreprise unipersonnelle à responsabilité limitée{' '}
|
||||
{language !== 'fr' && '(Limited personal company)'}:{' '}
|
||||
</strong>
|
||||
<StatusDescription status="EURL" />
|
||||
<br />
|
||||
|
@ -69,7 +73,8 @@ const SetMainStatus = ({ history, possibleStatus }: Props) => {
|
|||
possibleStatus['SARL (majority director)']) && (
|
||||
<li>
|
||||
<strong>
|
||||
SARL - Société à responsabilité limitée (Limited corporation):{' '}
|
||||
SARL - Société à responsabilité limitée{' '}
|
||||
{language !== 'fr' && '(Limited corporation)'}:{' '}
|
||||
</strong>
|
||||
<StatusDescription status="SARL" />
|
||||
<br />
|
||||
|
@ -79,8 +84,8 @@ const SetMainStatus = ({ history, possibleStatus }: Props) => {
|
|||
{possibleStatus.SAS && (
|
||||
<li>
|
||||
<strong>
|
||||
SAS - Société par actions simplifiées (Simplified joint stock
|
||||
company):{' '}
|
||||
SAS - Société par actions simplifiées{' '}
|
||||
{language !== 'fr' && '(Simplified joint stock company)'}:{' '}
|
||||
</strong>
|
||||
<StatusDescription status="SAS" />
|
||||
<br />
|
||||
|
@ -90,8 +95,8 @@ const SetMainStatus = ({ history, possibleStatus }: Props) => {
|
|||
{possibleStatus.SASU && (
|
||||
<li>
|
||||
<strong>
|
||||
SASU - Société par action simplifiée unipersonnelle (Simplified
|
||||
personal joint stock company):{' '}
|
||||
SASU - Société par action simplifiée unipersonnelle{' '}
|
||||
{language !== 'fr' && '(Simplified personal joint stock company)'}:{' '}
|
||||
</strong>
|
||||
<StatusDescription status="SASU" />
|
||||
<br />
|
||||
|
@ -100,7 +105,8 @@ const SetMainStatus = ({ history, possibleStatus }: Props) => {
|
|||
)}
|
||||
{possibleStatus.SA && (
|
||||
<li>
|
||||
<strong>SA - Société anonyme (Anonymous company): </strong>
|
||||
<strong>SA - Société anonyme{' '}
|
||||
{language !== 'fr' && '(Anonymous company)'}:{' '}</strong>
|
||||
<StatusDescription status="SA" />
|
||||
<br />
|
||||
<StatusButton status="SA" history={history} />
|
||||
|
@ -108,7 +114,8 @@ const SetMainStatus = ({ history, possibleStatus }: Props) => {
|
|||
)}
|
||||
{possibleStatus.SNC && (
|
||||
<li>
|
||||
<strong>SNC - Société en nom collectif (Partnership): </strong>
|
||||
<strong>SNC - Société en nom collectif{' '}
|
||||
{language !== 'fr' && '(Partnership)'}:{' '} </strong>
|
||||
<StatusDescription status="SNC" />
|
||||
<br />
|
||||
<StatusButton status="SNC" history={history} />
|
||||
|
@ -118,7 +125,7 @@ const SetMainStatus = ({ history, possibleStatus }: Props) => {
|
|||
{(possibleStatus['Micro-enterprise (option EIRL)'] ||
|
||||
possibleStatus['Micro-enterprise']) && (
|
||||
<li>
|
||||
<strong>Micro-enterprise: </strong>
|
||||
<strong><T>Micro-enterprise</T>{language === 'fr' && ' '}: </strong>
|
||||
<StatusDescription status="micro-enterprise" />
|
||||
<br />
|
||||
<StatusButton status="micro-enterprise" history={history} />
|
||||
|
@ -133,7 +140,7 @@ const SetMainStatus = ({ history, possibleStatus }: Props) => {
|
|||
</>
|
||||
)
|
||||
}
|
||||
export default connect(
|
||||
export default compose(translate(), withLanguage, connect(
|
||||
state => ({ possibleStatus: possibleStatusSelector(state) }),
|
||||
{ setMainStatus }
|
||||
)(SetMainStatus)
|
||||
))(SetMainStatus)
|
||||
|
|
Loading…
Reference in New Issue