From 131f31591117f814dbea17b01ca0b39b86142d23 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 16 Sep 2019 12:51:44 +0200 Subject: [PATCH] Client - application translation --- .../ActivityDisplay/ActivityCardHeader.jsx | 15 ++-- .../ActivityDisplay/ActivityCharts.jsx | 33 +++++---- .../ActivityDisplay/ActivityDetails.jsx | 24 +++---- .../ActivityDisplay/ActivityNoMap.jsx | 7 +- .../ActivityDisplay/ActivityNotes.jsx | 6 +- .../ActivityDisplay/ActivitySegments.jsx | 9 +-- .../ActivityDisplay/ActivityWeather.jsx | 6 +- .../Activity/ActivityDisplay/index.jsx | 59 +++++++++------ .../src/components/Common/CustomModal.jsx | 8 ++- .../components/Common/Stats/StatsChart.jsx | 1 + .../src/components/Dashboard/ActivityCard.jsx | 12 ++-- .../src/components/Dashboard/Records.jsx | 71 ++++++++++--------- .../src/components/Dashboard/index.jsx | 1 + .../src/locales/en/activities.json | 33 +++++++++ fittrackee_client/src/locales/en/common.json | 4 +- .../src/locales/fr/activities.json | 33 +++++++++ fittrackee_client/src/locales/fr/common.json | 4 +- fittrackee_client/src/utils/activities.js | 4 +- 18 files changed, 219 insertions(+), 111 deletions(-) diff --git a/fittrackee_client/src/components/Activity/ActivityDisplay/ActivityCardHeader.jsx b/fittrackee_client/src/components/Activity/ActivityDisplay/ActivityCardHeader.jsx index 81b66ac7..dd698603 100644 --- a/fittrackee_client/src/components/Activity/ActivityDisplay/ActivityCardHeader.jsx +++ b/fittrackee_client/src/components/Activity/ActivityDisplay/ActivityCardHeader.jsx @@ -11,6 +11,7 @@ export default function ActivityCardHeader(props) { displayModal, segmentId, sport, + t, title, user, } = props @@ -40,14 +41,14 @@ export default function ActivityCardHeader(props) {