👽 traductions manquantes et réparation script traduction rules

pull/1085/head
Johan Girod 2020-06-25 16:50:25 +02:00
parent 9e80e6d157
commit 828b626ad7
15 changed files with 156 additions and 119 deletions

View File

@ -12,11 +12,9 @@ describe('Manage page test', function() {
.first()
.type('menoz')
cy.contains('834364291').click()
cy.contains('assimilé-salarié').click()
cy.contains(fr ? 'simulateur SASU' : 'simulator for SASU').click()
cy.location().should(loc => {
expect(loc.pathname).to.match(
fr ? /assimil%C3%A9-salari%C3%A9$/ : /assimile-salarie$/
)
expect(loc.pathname).to.match(fr ? /dirigeant-sasu$/ : /sasu-chairman$/)
})
})
it('should allow auto entrepreneur to access the corresponding income simulator', function() {

View File

@ -14,22 +14,26 @@ fs.writeFileSync(
rulesTranslationPath,
stringify(resolved, { sortMapEntries: true })
)
missingTranslations.forEach(async ([dottedName, attr, value]) => {
try {
const translation = await fetchTranslation(value)
resolved[dottedName][attr] = '[automatic] ' + translation
} catch (e) {
console.log(e)
}
})
prettier.resolveConfig(rulesTranslationPath).then(options => {
fs.writeFileSync(
rulesTranslationPath,
prettier.format(stringify(resolved, { sortMapEntries: true }), {
...options,
parser: 'yaml'
;(async function main() {
await Promise.all(
missingTranslations.map(async ([dottedName, attr, value]) => {
try {
const translation = await fetchTranslation(value)
resolved[dottedName][attr] = '[automatic] ' + translation
} catch (e) {
console.log(e)
}
})
)
})
prettier.resolveConfig(rulesTranslationPath).then(options => {
const formattedYaml = prettier.format(
stringify(resolved, { sortMapEntries: true }),
{
...options,
parser: 'yaml'
}
)
fs.writeFileSync(rulesTranslationPath, formattedYaml)
})
})()

View File

@ -49,7 +49,7 @@ export default function SimulateurWarning({
</Trans>
</li>
)}
{simulateur === 'sasu' && (
{simulateur === 'SASU' && (
<li>
<Trans i18nKey="simulateurs.warning.sasu">
L'impôt sur les société et la gestion des dividendes ne sont pas

View File

@ -1778,6 +1778,16 @@ contrat salarié . cotisations . patronales . conventionnelles:
titre.en: employer contribution specific to the "convention collective"
titre.fr: cotisations patronales conventionnelles
contrat salarié . cotisations . patronales . réductions de cotisations:
description.en: >-
[automatic] With the exception of the overtime deduction, the employer
contribution reduction schemes are mutually exclusive.
The formula below therefore automatically selects the most advantageous for the employer.
description.fr: >-
À l'exception de la déduction heure supplémentaire, les dispositifs de
réduction de cotisations patronales sont mutuellement exclusif.
Le formule ci dessous selectionne donc automatiquement le plus avantageux pour l'employeur.
titre.en: contribution reductions
titre.fr: réductions de cotisations
? contrat salarié . cotisations . patronales . réductions de cotisations . déduction heures supplémentaires
@ -2538,12 +2548,6 @@ contrat salarié . retraite supplémentaire . part déductible:
contrat salarié . retraite supplémentaire . salarié:
titre.en: '[automatic] employee'
titre.fr: salarié
contrat salarié . réduction ACRE:
titre.en: ACRE reduction
titre.fr: réduction ACRE
contrat salarié . réduction ACRE . taux:
titre.en: ACRE rate
titre.fr: taux ACRE
contrat salarié . réduction générale:
description.en: >
[automatic] Within the framework of the responsibility and solidarity pact,
@ -3469,6 +3473,12 @@ dirigeant . assimilé salarié:
droit.
titre.en: Assimilated salaried
titre.fr: assimilé salarié
dirigeant . assimilé salarié . réduction ACRE:
titre.en: '[automatic] ACRE reduction'
titre.fr: réduction ACRE
dirigeant . assimilé salarié . réduction ACRE . taux:
titre.en: '[automatic] ACRE rate'
titre.fr: taux ACRE
dirigeant . auto-entrepreneur:
description.en: >
Self-enterprise is a simplified sole proprietorship. At the beginning

View File

@ -1,7 +1,7 @@
'404':
"404":
action: Return to safe place
message: This page does not exist or no longer exists
'<0>Covid-19 et chômage partiel </0>: <3>Calculez votre indemnité</3>': '<0>Covid-19 and Short-Time </0>Work: <3>Calculate Your Benefit</3>'
"<0>Covid-19 et chômage partiel </0>: <3>Calculez votre indemnité</3>": "<0>Covid-19 and Short-Time </0>Work: <3>Calculate Your Benefit</3>"
<0>Oui</0>: <0>Yes</0>
A quoi servent mes cotisations ?: What's included in my contributions?
Accueil: Home
@ -27,16 +27,16 @@ Choisir plus tard: Choose later
Chômage partiel: Partial unemployment
Code d'intégration: Integration Code
Commencer: Get started
'Commerçant, artisan, ou libéral ?': Trader, craftsman, or liberal?
"Commerçant, artisan, ou libéral ?": Trader, craftsman, or liberal?
Comparaison statuts: Status comparison
Continuer: Continue
Coronavirus: Coronavirus
Cotisations: Contributions
Cotisations sociales: Social contributions
Covid 19: Covid 19
"Covid-19 : Calculer l'impact du chômage partiel": 'Covid-19: Calculating the impact of short-time work'
'Covid-19 : Découvrez les mesures de soutien aux entreprises': 'Covid-19: Find out about business support measures'
'Covid-19 : Découvrir les mesures de soutien aux entreprises': 'Covid-19: Discovering Business Support Measures'
"Covid-19 : Calculer l'impact du chômage partiel": "Covid-19: Calculating the impact of short-time work"
"Covid-19 : Découvrez les mesures de soutien aux entreprises": "Covid-19: Find out about business support measures"
"Covid-19 : Découvrir les mesures de soutien aux entreprises": "Covid-19: Discovering Business Support Measures"
Coût pour l'entreprise: Cost to the company
Crée le: Created on
Créer une: Create a
@ -69,7 +69,7 @@ Gérant minoritaire: Managing director
Habituellement: Usually
Imprimer: Print
Impôts: Taxes
"Indemnité chômage partiel prise en charge par l'état :": 'State-paid short-time working allowance :'
"Indemnité chômage partiel prise en charge par l'état :": "State-paid short-time working allowance :"
Indépendant: Indépendant
International: International
Intégrer l'interface de simulation: Integrate the simulation interface
@ -100,7 +100,7 @@ Pas en auto-entrepreneur: Not in auto-entrepreneur
Pas implémenté: Not implemented
Passer: Skip
Personnalisez l'integration: Customize the integration
'Perte de revenu net :': 'Loss of net income :'
"Perte de revenu net :": "Loss of net income :"
Plafonds des tranches: Wafer ceilings
Plein écran: Fullscreen
Plus d'informations: More information (fr)
@ -128,7 +128,7 @@ Retour à mon activité: Back to my business
Revenir à la documentation: Go back to documentation
Revenu (incluant les dépenses liées à l'activité): Revenue (including expenses related to the activity)
Revenu disponible: Disposable income
'Revenu net avec chômage partiel :': 'Net income with short-time work :'
"Revenu net avec chômage partiel :": "Net income with short-time work :"
Revenu net mensuel: Monthly net income
Réductions: Discounts
Rémunération du dirigeant: Director's remuneration
@ -152,7 +152,7 @@ Taux: Rate
Taux calculé: Calculated rate
Taux moyen: Average rate
Total des retenues: Total withheld
"Total payé par l'entreprise :": 'Total paid by the company :'
"Total payé par l'entreprise :": "Total paid by the company :"
Tout effacer: Delete all
Tranche de l'assiette: Scale bracket
Un seul associé: Only one partner
@ -165,6 +165,7 @@ Voir ma situation: See my situation
Votre adresse e-mail: Your email address
Votre entreprise: Your company
Votre forme juridique: Your legal status
Vous êtes dirigeant d'une SAS(U) ? <2>Accéder au simulateur de revenu dédié</2>: Are you a SAS(U) manager? <2>Access the dedicated income simulator</2>
aide: aid or subsidy
aide-déclaration-indépendant:
description: <0>Help with your 2019 income tax return</0><1>This tool is a tax
@ -211,11 +212,11 @@ après:
registered, you'll have access to the following
kbis:
description:
'1': It is the official document attesting to <2>the legal existence of a
"1": It is the official document attesting to <2>the legal existence of a
commercial enterprise</2>. In most cases, to be opposable and authentic
for administrative procedures, the extract must be less than 3 months
old.
'2': This document is generally requested when applying for a public tender,
"2": This document is generally requested when applying for a public tender,
opening a professional bank account, purchasing professional equipment
from distributors, etc.
titre: The Kbis
@ -269,7 +270,7 @@ autoentrepreneur:
titre: Auto-entrepeneur
back: Resume simulation
barème: scale
calcul-avec: 'Calculation from <1></1>with :'
calcul-avec: "Calculation from <1></1>with :"
cancelExample: Back to your situation
car dépend de: because it depends on
cible: target
@ -381,8 +382,8 @@ comparaisonRégimes:
AS: SAS, SASU or SARL with minority director
auto: Auto-entreprise
indep:
'1': EI, EIRL, EURL or SARL with majority director
'2': EI or EIRL
"1": EI, EIRL, EURL or SARL with majority director
"2": EI or EIRL
legend: Possible legal status
sécuritéSociale: |
<0> Social security</0>
@ -396,13 +397,13 @@ comparaisonRégimes:
trimestreValidés: <0>Number of quarters validated <1>(for retirement)</1></0>
composantes: components
coronavirus:
description: '<0>Coronavirus and short-time working: what impact on my
description: "<0>Coronavirus and short-time working: what impact on my
income?</0><1>The government is putting in place measures to support
employees affected by the Coronavirus crisis. One of the key measures is the
assumption of the entire short-time working compensation by the State.</1>'
assumption of the entire short-time working compensation by the State.</1>"
page:
description: Estimate net income with short-time working benefits
titre: 'Coronavirus and short-time working: what impact on your income?'
titre: "Coronavirus and short-time working: what impact on your income?"
cotisation: contribution
créer:
cta:
@ -421,7 +422,7 @@ créer:
<0>List of legal statuses</0>
<1>EURL, SARL, SASU, etc: a shortcut if you already know your status </1>
titre: Create a company
warningPL: 'Note: the case of regulated liberal professions is not covered'
warningPL: "Note: the case of regulated liberal professions is not covered"
d'aides: of aid
domiciliation inconnue: unknown address
domiciliée à: domiciled in
@ -537,9 +538,9 @@ entreprise:
creation process. It is automatically saved in your browser.
banque:
description:
'1': The purpose of a <1>professional bank account</1> is to separate your
"1": The purpose of a <1>professional bank account</1> is to separate your
company's assets from your personal assets.
'2': 'The professional bank account allows you to:'
"2": "The professional bank account allows you to:"
EI: If its opening is not obligatory for an EI, it is strongly recommended.
liste: >
<0>Differentiate your private and professional operations and simplify
@ -692,6 +693,9 @@ gérant minoritaire:
titre: Chairman or managing director
gérer:
choix:
chomage-partiel: <0>Partial activity</0><1>Calculate the remaining amount to be
paid after government reimbursement when you activate the device for an
employee.</1>
déclaration: <0>Completing my tax return</0><1>Easily calculate the amounts to
carry forward on your 2019 tax return</1>
embauche: >
@ -739,13 +743,13 @@ indicationTempsPlein: in full-time gross salary equivalent
inférieurs à: lower than
jour: day
landing:
aboutUs: '<0>Who are we?</0><1>We are a small<2>, autonomous and
aboutUs: "<0>Who are we?</0><1>We are a small<2>, autonomous and
multidisciplinary team</2> within<4> USSAF</4>. We have at heart to be close
to your needs in order to continuously improve this site in accordance with
the <7>State Startup</7> method.</1><2>We have developed this site to
<2>support entrepreneurs</2> in the development of their business.</2><3>Our
goal is to <2>remove all uncertainties with regard to administration</2> so
that you can concentrate on what matters: your business.</3>'
that you can concentrate on what matters: your business.</3>"
choice:
create: <0>Create a company</0><1>Assistance in choosing the status and the
complete list of creation steps</1>
@ -754,6 +758,7 @@ landing:
flow.</1>
simulators: <0>Access the simulators</0><1>The exhaustive list of all the
simulators available on the site.</1>
covid19: "Covid-19: Calculating the impact of short-time work"
seeSimulators: See the simulators list
subtitle: All the resources you need to develop your business, from legal status
to hiring.
@ -812,13 +817,13 @@ pages:
authorities concerning auto-entrepreneurs and the micro-enterprise
scheme (in french).</1></0>
dévelopeurs:
bibliothèque: '<0>Integrate our calculation library</0><1>If you think that your
bibliothèque: "<0>Integrate our calculation library</0><1>If you think that your
site or service would benefit from displaying salary calculations, for
example switching from gross salary to net salary, good news: all the
contribution and tax calculations behind my-company.fr are free and <2>can
be integrated in the form of an <2>NPM library</2></2>.</1><2>Put simply,
your team''s developers are able to integrate the calculation into your
interface in 5 minutes{emoji('''')}, without having to deal with the
your team's developers are able to integrate the calculation into your
interface in 5 minutes{emoji('⌚')}, without having to deal with the
complexity of payroll and the regular updating of calculation
rules.</2><3>This library is a common digital library developed by the
State and ACOSS. It is based on a new programming language,
@ -829,36 +834,36 @@ pages:
recipe for a calculation is simple: input variables (gross wage), one or
more output variables (net wage).</9><10>All these variables are listed
and explained in our <2>online documentation</2>.</10><11>Use the search
engine to find the right variable, then click on "View source code" to
get all the documentation: default value, possible values when it''s an
enumeration of choice, unit when it''s a number, description, associated
user question, etc.</11><12>Let''s run a calculation closer to a payslip:
engine to find the right variable, then click on \"View source code\" to
get all the documentation: default value, possible values when it's an
enumeration of choice, unit when it's a number, description, associated
user question, etc.</11><12>Let's run a calculation closer to a payslip:
Here is a description of the input situation with links to the
corresponding pages of the documentation :</12><13> An <3>executive</3>
earning <7>€3,400 gross</7>, who benefits from the<10> bicycle mileage
allowance</10> and works in a company with <14>12
employees</14>.</13><14>The calculation for this more complete example is
as follows:</14><15><0></0></15><16>{emoji('' '')} Note that in the
as follows:</14><15><0></0></15><16>{emoji(' ')} Note that in the
previous example we have to specify the transport payment rate
ourselves.</16><17>Whereas in the <2>employee</2> simulator, it is
sufficient to fill in the municipality and the corresponding rate is
automatically determined. It''s intentional: to keep the library (and the
automatically determined. It's intentional: to keep the library (and the
site) light, we use two online APIs. The<4> Geo API - communes</4> to
switch from the commune name to the common code. Then the<7> transport
payout API</7>, developed and maintained by us, which is not documented
but its use is very simple and understandable <10>in this React component
that calls it</10>, a component that also uses the common
API.</17><18>Making economic charts{emoji('' 📈'')}</18><19>It is also
API.</17><18>Making economic charts{emoji(' 📈')}</18><19>It is also
possible to use the library for economic or political analysis
calculations. Here, the price of labour and the net wage is plotted
against the gross wage.</19><20>We can see the progressiveness of the
total wage, which is in percent lower for a minimum wage than for a high
income. In other words, high-wage earners pay part of the social security
contributions of low-wage earners.</20><21>{emoji(''⚠️ '')}Beware, this
contributions of low-wage earners.</20><21>{emoji('⚠️ ')}Beware, this
example does a lot of calculations in one go, which can block your browser
for a few seconds. To overcome this problem, you would have to call the
library in a Web Worker, but this is not possible for the <3>moment</3> in
these demos.</21><22><0></0></22>'
these demos.</21><22><0></0></22>"
développeurs:
choice:
github: <0>Contribute to GitHub</0><1>All our tools are open and publicly
@ -869,10 +874,10 @@ pages:
publicode: <0>Publicodes</0><1>Our tools are powered by Publicodes, a new
language for encoding "explainable" algorithms.</1>
code:
description: 'Here is the code to copy and paste on your site:'
description: "Here is the code to copy and paste on your site:"
titre: Integration Code
code à copier: 'Here is the code to copy and paste on your site:'
couleur: 'What color? '
code à copier: "Here is the code to copy and paste on your site:"
couleur: "What color? "
home:
choice:
iframe: <0>Integrating a simulator</0><1>Integrate one of our simulators in one
@ -896,18 +901,18 @@ pages:
meta:
description: Calculation of your income based on turnover, after deduction of
contributions and income tax.
ogDescription: 'Thanks to the auto-entrepreneur income simulator developed by
ogDescription: "Thanks to the auto-entrepreneur income simulator developed by
URSSAF, you can estimate the amount of your income based on your
monthly or annual turnover to better manage your cash flow. Or in the
opposite direction: to know what amount to invoice to achieve a
certain income.'
ogTitle: 'Auto-entrepreneur: quickly calculate your net income from sales and
vice versa'
titre: 'Auto-entrepreneurs: income simulator'
seo explanation: '<0>How do you calculate the net income for an
certain income."
ogTitle: "Auto-entrepreneur: quickly calculate your net income from sales and
vice versa"
titre: "Auto-entrepreneurs: income simulator"
seo explanation: "<0>How do you calculate the net income for an
auto-entrepreneur?</0><1>An auto-entrepreneur has to pay social
security contributions to the administration (also known as
"social charge"). These social contributions are used to finance
\"social charge\"). These social contributions are used to finance
social security, and give rights for retirement or health insurance.
They are also used to finance vocational training.</1><2><0></0> <2>See
details of how the contributions are calculated</2></2><3>But this is
@ -915,7 +920,7 @@ pages:
account all expenses incurred in the course of the professional activity
(assets, raw materials, premises, transport). Although they are not
useful for the calculation of contributions and taxes, they must be
taken into account to estimate the viability of one''''s
taken into account to estimate the viability of one''s
activity.</3><4>The complete calculation formula is therefore:<1><0>Net
income = Turnover - Social contributions - Professional
expenses</0></1></4><5>How to calculate income tax for an
@ -929,11 +934,12 @@ pages:
carried out. It is said to be lump-sum because it does not take into
account the actual expenses incurred in the activity.</8><9><0></0>
<2>See details of the calculation of the income allowance for an
auto-entrepreneur</2></9><10>Useful resources</10><11><0></0></11>'''
auto-entrepreneur</2></9><10>Useful resources</10><11><0></0></11>'"
titre: Auto-entrepreneur income simulator
chômage-partiel:
explications seo: >-
[👨 Integrate this simulator on your site](/integration/iframe?module=simulateur-chomage-partiel)
[👨 Integrate this simulator on your
site](/integration/iframe?module=simulateur-chomage-partiel)
## How do you calculate the partial activity allowance?
@ -956,20 +962,13 @@ pages:
## How do you report a partial activity?
In the face of the coronavirus crisis, the modalities for partial activity
have been lightened. The employer is allowed to place his employees in activity
partial before the formal application is filed. It shall provide that
then a period of **30 days** to comply. The
benefits will be paid retroactively from the date of inception of the plan.
of short-time work.
In the face of the coronavirus crisis, the modalities for partial activity have been lightened. The employer is allowed to place his employees in activity partial before the formal application is filed. It shall provide that then a period of **30 days** to comply. The benefits will be paid retroactively from the date of inception of the plan. of short-time work.
👉 [Apply for short-time work](https://www.service-public.fr/professionnels-entreprises/vosdroits/R31001) (french)
## What are the social contributions to be paid for the partial activity allowance?
The partial activity allowance is subject to the CSG/CRDS and to an
disease contribution in some cases. For more information, see the explanatory page on [the URSSAF website](https://www.urssaf.fr/portail/home/actualites/toute-lactualite-employeur/activite-partielle--nouveau-disp.html) (french).
The partial activity allowance is subject to the CSG/CRDS and to an disease contribution in some cases. For more information, see the explanatory page on [the URSSAF website](https://www.urssaf.fr/portail/home/actualites/toute-lactualite-employeur/activite-partielle--nouveau-disp.html) (french).
meta:
description: Calculation of the net income for the employee and the remaining
amount to be paid by the employer after reimbursement by the State,
@ -978,9 +977,28 @@ pages:
then be able to personalize your situation (part-time, agreement,
etc). Take into account all contributions, including those specific to
the allowance (CSG and CRDS).
ogTitle: 'Short-time working simulator: find out the impact on the net salaried
income and the total employer cost.'
ogTitle: "Short-time working simulator: find out the impact on the net salaried
income and the total employer cost."
titre: Calculation of the short-time working allowance in France
dirigean sasu:
explication seo: "<0>How to calculate the salary of a SASU executive? </0><1>As
for a conventional employee, the SASU <1>manager</1> pays social
security contributions on the salary he or she pays. The contributions
are calculated in the same way as for the employee: they are broken down
into the employer and employee parts and are expressed as a percentage
of the gross salary.</1><2>On the other hand, the assimilated
manager-employee does not pay <2>unemployment contributions</2>.
Moreover, they do not benefit from the <5>general reduction</5> in
contributions or from the schemes governed by the Labour Code, such as
<9>overtime</9> or bonuses.</2><3>A SASU executive's salary can be
calculated by entering the total amount of the salary in the \"total
expense\" box, but he or she can claim the <2>ACRE reduction</2> at the
beginning of the activity, under certain conditions.</3><4>You can use
our simulator to calculate the <2>net remuneration</2> from a
super-gross amount allocated to the executive's remuneration. To do
this, simply enter the announced compensation in the total loaded box.
The simulation can then be refined by answering the various
questions.</4>"
salarié:
explication seo: <0>Calculate your net salary</0><1>During the job interview,
the employer usually offers a "gross" remuneration. The announced amount
@ -1016,16 +1034,24 @@ pages:
(executive status, internship, apprenticeship, overtime, restaurant
vouchers, mutual insurance, part-time work, collective agreement,
etc.).
ogTitle: 'Gross, net, net after-tax salary, total cost: the ultimate simulator
for employees and employers'
titre: 'Gross / net salary: the Urssaf converter'
ogTitle: "Gross, net, net after-tax salary, total cost: the ultimate simulator
for employees and employers"
titre: "Gross / net salary: the Urssaf converter"
titre: Income simulator for employees
sasu:
meta:
description: Calculation of net salary from turnover + expenses and vice versa.
ogDescription: As an officer in a similar position, immediately calculate your
net income after tax from the total allocated to your compensation.
ogTitle: "SASU executive compensation: a simulator to find out your net salary"
titre: "Head of SASU: Urssaf revenue simulator"
titre: Revenue simulator for SAS(U) executive
par: per
payslip:
disclaimer: It takes into account national law but not union negotiated rules.
Lots of financial aids for your enterprise exist, explore them on
<1>aides-entreprises.fr (French)</1>.
heures: 'Hours worked per month: '
heures: "Hours worked per month: "
notice: This simulation helps you understand your French payslip, but it should
not be used as one. For further details, check <1>service-public.fr
(French)</1>.
@ -1094,7 +1120,6 @@ selectionRégime:
page:
titre: Social scheme selection
titre: Which social scheme would you like to explore?
simulateurs:
accueil:
description: >-
@ -1142,7 +1167,7 @@ simulateurs:
invite you to try another value.
précision:
bonne: Good accuracy
défaut: 'Refine the simulation by answering the following questions:'
défaut: "Refine the simulation by answering the following questions:"
faible: Low accuracy
moyenne: Medium accuracy
résumé:
@ -1178,6 +1203,7 @@ simulateurs:
depending on the company's turnover and the company's domiciliation.
<2>More info.</2>
plus: Read explanations
sasu: Corporate income tax and dividend management are not yet implemented.
titre: Before starting...
urssaf: The figures are indicative and do not replace the actual accounts of the
Urssaf, impots.gouv.fr, etc
@ -1189,7 +1215,7 @@ simulation-end:
text: You have reached the most accurate estimate.
title: No more questions left!
site:
titleTemplate: '%s'
titleTemplate: "%s"
statut du dirigeant:
description: <0>This choice is important because it determines the social
security regime and the social coverage of the manager. The amount and terms
@ -1240,8 +1266,8 @@ une de ces conditions: one of these applies
onwards, these revenues will be automatically reported by the platforms to
the tax authorities and Urssaf.</2>
question: What types of activity did you undertake?
réassurance: 'PS: this tool is only there to inform you, no data will be
transmitted to the administrations'
réassurance: "PS: this tool is only there to inform you, no data will be
transmitted to the administrations"
titre: How to declare income from digital platforms?
activité:
choix: What are more precisely the activities carried out?

View File

@ -500,12 +500,12 @@ export default function CreateCompany({ statut }: CreateCompanyProps) {
<Link
className="ui__ interactive card button-choice lighter-bg"
to={{
pathname: sitePaths.simulateurs.sasu,
pathname: sitePaths.simulateurs.SASU,
state: { fromCréer: true }
}}
>
<Trans i18nKey="entreprise.ressources.simu.assimilé">
<p>Simulateur de rémunération pour dirigeant de SAS(U)</p>
<p>Simulateur de rémunération pour dirigeant de SASU</p>
<small>
Simuler le montant de vos cotisations sociales pour bien
préparer votre business plan.

View File

@ -35,7 +35,7 @@ const infereDirigeantFromCompanyDetails = (company: Company | null) => {
}
if (['SASU', 'SAS'].includes(company.statutJuridique ?? '')) {
return 'sasu'
return 'SASU'
}
return null
@ -121,7 +121,7 @@ export default function SocialSecurity() {
<h3>Calculer mon revenu net de cotisations</h3>
<p className="ui__ notice">
Estimez précisément le montant de vos cotisations grâce au
simulateur spécifique {{ régime: dirigeant }} de l'Urssaf
simulateur {{ régime: dirigeant }} de l'Urssaf
</p>
</Trans>
<div className="ui__ small simple button hide-mobile">
@ -138,7 +138,7 @@ export default function SocialSecurity() {
pathname: sitePaths.simulateurs['chômage-partiel']
}}
>
<div className="ui__ big box-icon">{emoji('😷')}</div>
<div className="ui__ big box-icon">{emoji('🕟')}</div>
<Trans i18nKey="gérer.choix.chomage-partiel">
<h3>Activité partielle</h3>
<p className="ui__ notice">

View File

@ -21,7 +21,7 @@ export default function SchemeChoice() {
</h1>
<p>
<Link
to={sitePaths.simulateurs.sasu}
to={sitePaths.simulateurs.SASU}
className="ui__ interactive card light-bg button-choice"
>
{emoji('☂')}

View File

@ -46,7 +46,9 @@ export default function Landing() {
className="ui__ plain small button"
>
{emoji('😷')}{' '}
<Trans>Covid-19 : Calculer l'impact du chômage partiel</Trans>
<Trans i18nKey="landing.covid19">
Covid-19 : Calculer l'impact du chômage partiel
</Trans>
</Link>
</div>
<Link

View File

@ -25,7 +25,7 @@ export function useSimulatorsMetadata() {
'simulateurs.résumé.assimilé',
"Calculer le revenu d'un dirigeant de SAS, SASU ou SARL minoritaire"
),
sitePath: sitePaths.simulateurs.sasu
sitePath: sitePaths.simulateurs.SASU
},
{
name: t('Indépendant'),

View File

@ -1,3 +1,4 @@
import RuleLink from 'Components/RuleLink'
import SalaryExplanation from 'Components/SalaryExplanation'
import Warning from 'Components/SimulateurWarning'
import Simulation from 'Components/Simulation'
@ -7,7 +8,6 @@ import Meta from 'Components/utils/Meta'
import React, { useContext } from 'react'
import { Trans, useTranslation } from 'react-i18next'
import RémunérationSASUPreview from './images/RémunérationSASUPreview.png'
import RuleLink from 'Components/RuleLink'
export default function RémunérationSASU() {
const { t } = useTranslation()
@ -38,11 +38,11 @@ export default function RémunérationSASU() {
{!inIframe && (
<h1>
<Trans i18nKey="pages.simulateurs.sasu.titre">
Simulateur de revenus pour dirigeant de SAS(U)
Simulateur de revenus pour dirigeant de SASU
</Trans>
</h1>
)}
<Warning simulateur="sasu" />
<Warning simulateur="SASU" />
<Simulation
config={assimiléConfig}
explanations={<SalaryExplanation />}
@ -53,8 +53,6 @@ export default function RémunérationSASU() {
}
function SeoExplanations() {
const { i18n } = useTranslation()
return (
<Trans i18nKey="pages.simulateurs.dirigean sasu.explication seo">
<h2>Comment calculer le salaire d'un dirigeant de SASU ? </h2>
@ -82,8 +80,10 @@ function SeoExplanations() {
<p>
Il peut en revanche prétendre à la{' '}
<RuleLink dottedName="contrat salarié . ">réduction ACRE</RuleLink> en
debut d'activité, sous certaines conditions.
<RuleLink dottedName="dirigeant . assimilé salarié . réduction ACRE">
réduction ACRE
</RuleLink>{' '}
en debut d'activité, sous certaines conditions.
</p>
<p>

View File

@ -158,7 +158,7 @@ export const SalarySimulation = () => {
<Banner icon={'👨‍✈️'}>
<Trans>
Vous êtes dirigeant d'une SAS(U) ?{' '}
<Link to={sitePaths.simulateurs.sasu}>
<Link to={sitePaths.simulateurs.SASU}>
Accéder au simulateur de revenu dédié
</Link>
</Trans>

View File

@ -64,10 +64,7 @@ export default function Simulateurs() {
path={sitePaths.simulateurs.comparaison}
component={SchemeComparaison}
/>
<Route
path={sitePaths.simulateurs['assimilé-salarié']}
component={AssimiléSalarié}
/>
<Route path={sitePaths.simulateurs.SASU} component={AssimiléSalarié} />
<Route
path={sitePaths.simulateurs.indépendant}
component={Indépendant}

View File

@ -49,7 +49,7 @@ const sitePathsFr = {
},
simulateurs: {
index: '/simulateurs',
sasu: '/dirigeant-sasu',
SASU: '/dirigeant-sasu',
indépendant: '/indépendant',
'auto-entrepreneur': '/auto-entrepreneur',
comparaison: '/comparaison-régimes-sociaux',
@ -99,7 +99,7 @@ const sitePathsEn = {
},
simulateurs: {
index: '/calculators',
sasu: '/SASU-chairman',
SASU: '/sasu-chairman',
indépendant: '/independant',
'auto-entrepreneur': '/auto-entrepreneur',
comparaison: '/social-scheme-comparaison',

View File

@ -30,7 +30,7 @@
to="/simulateurs/salaire-brut-net"
status = 301
# FR | assimilé-salarié -> dirigeant-SASU
# FR | assimilé-salarié -> dirigeant-sasu
[[redirects]]
from="/simulateurs/assimil%C3%A9-salari%C3%A9"
to="/simulateurs/dirigeant-sasu"