From 6c8bdefb2ebb7d426bbc247abbdcac68a082d9d4 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Sat, 6 Jun 2020 09:26:27 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=96=8A=20Renomme=20"Voir=20toutes=20les?= =?UTF-8?q?=20questions"=20en=20"Voir=20ma=20situation"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #1066 --- .../cypress/integration/mon-entreprise/simulateurs.js | 2 +- .../source/components/conversation/SeeAnswersButton.tsx | 4 +--- mon-entreprise/source/locales/ui-en.yaml | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/mon-entreprise/cypress/integration/mon-entreprise/simulateurs.js b/mon-entreprise/cypress/integration/mon-entreprise/simulateurs.js index 3ff196db6..ce231eef4 100644 --- a/mon-entreprise/cypress/integration/mon-entreprise/simulateurs.js +++ b/mon-entreprise/cypress/integration/mon-entreprise/simulateurs.js @@ -142,7 +142,7 @@ describe('Simulateur salarié', () => { ) cy.contains('Steenvoorde (Nord)').click() cy.wait(900) - cy.contains('Voir toutes les questions').click() + cy.contains('Voir ma situation').click() cy.contains('Steenvoorde') }) }) diff --git a/mon-entreprise/source/components/conversation/SeeAnswersButton.tsx b/mon-entreprise/source/components/conversation/SeeAnswersButton.tsx index cd386a2d4..40b0f92f9 100644 --- a/mon-entreprise/source/components/conversation/SeeAnswersButton.tsx +++ b/mon-entreprise/source/components/conversation/SeeAnswersButton.tsx @@ -1,7 +1,5 @@ import React, { useState } from 'react' import { Trans } from 'react-i18next' -import { useSelector } from 'react-redux' -import { RootState } from 'Reducers/rootReducer' import Answers from './AnswerList' import './conversation.css' @@ -13,7 +11,7 @@ export default function SeeAnswersButton() { className="ui__ small simple button " onClick={() => setShowAnswerModal(true)} > - Voir toutes les questions + Voir ma situation {showAnswerModal && setShowAnswerModal(false)} />} diff --git a/mon-entreprise/source/locales/ui-en.yaml b/mon-entreprise/source/locales/ui-en.yaml index 552e05b86..4e8d40cd7 100644 --- a/mon-entreprise/source/locales/ui-en.yaml +++ b/mon-entreprise/source/locales/ui-en.yaml @@ -160,7 +160,7 @@ Vie privée: Privacy Voir la répartition des cotisations: View contribution breakdown Voir le code source: See the source code Voir les autres simulateurs: See the other simulators -Voir toutes les questions: See all questions +Voir ma situation: See my situation Votre adresse e-mail: Your email address Votre entreprise: Your company Votre forme juridique: Your legal status