diff --git a/package.json b/package.json index 019153802..3f140269d 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "i18n:rules:check": "node source/scripts/i18n/check-missing-rule-translation.js", "i18n:rules:translate": "node source/scripts/i18n/translate-rules.js", "i18n:ui:check": "yarn run i18next && node source/scripts/i18n/check-missing-UI-translation", - "i18n:ui:translate": "yarn run i18next && node source/scripts/i18n/translate-ui.js", + "i18n:ui:translate": "rm -rf source/locales/static-analysis-fr.json && yarn run i18next && node source/scripts/i18n/translate-ui.js", "mon-entreprise:serve": "PORT=5000 serve --config serve.mon-entreprise.json --no-clipboard", "mon-entreprise:test": "cypress open --browser chromium", "mycompanyinfrance:serve": "PORT=5001 serve --config serve.infrance.json --no-clipboard", diff --git a/source/components/SchemeComparaison.tsx b/source/components/SchemeComparaison.tsx index d7861f913..cf512f4ef 100644 --- a/source/components/SchemeComparaison.tsx +++ b/source/components/SchemeComparaison.tsx @@ -1,5 +1,8 @@ import { setSimulationConfig, setSituationBranch } from 'Actions/actions' -import { defineDirectorStatus, isAutoentrepreneur } from 'Actions/companyStatusActions' +import { + defineDirectorStatus, + isAutoentrepreneur +} from 'Actions/companyStatusActions' import classnames from 'classnames' import Conversation from 'Components/conversation/Conversation' import SeeAnswersButton from 'Components/conversation/SeeAnswersButton' @@ -15,7 +18,10 @@ import { Trans } from 'react-i18next' import { useDispatch, useSelector } from 'react-redux' import { Link } from 'react-router-dom' import { RootState } from 'Reducers/rootReducer' -import { analysisWithDefaultsSelector, branchAnalyseSelector } from 'Selectors/analyseSelectors' +import { + analysisWithDefaultsSelector, + branchAnalyseSelector +} from 'Selectors/analyseSelectors' import { DottedName } from 'Types/rule' import Animate from 'Ui/animate' import InfoBulle from 'Ui/InfoBulle' @@ -113,7 +119,9 @@ export default function SchemeComparaison({