From 91b77cd819bf779b1d1a8025229974ee02952ae3 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 28 Dec 2019 22:46:02 +0100 Subject: [PATCH] Client - minor changes on i18n --- fittrackee_client/src/components/App.css | 6 +++++- fittrackee_client/src/i18n.js | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/fittrackee_client/src/components/App.css b/fittrackee_client/src/components/App.css index 34c19ff9..2f76e5ae 100644 --- a/fittrackee_client/src/components/App.css +++ b/fittrackee_client/src/components/App.css @@ -281,7 +281,11 @@ label { } .dropdown-item-selected { - font-weight: bold; + font-weight: bold; +} + +.dropdown-item-selected::after { + content: " ✔"; } .fa-question-circle { diff --git a/fittrackee_client/src/i18n.js b/fittrackee_client/src/i18n.js index b3720e86..0f82aa32 100644 --- a/fittrackee_client/src/i18n.js +++ b/fittrackee_client/src/i18n.js @@ -21,7 +21,7 @@ i18n .use(XHR) .use(LanguageDetector) .init({ - debug: true, + debug: process.env.NODE_ENV === 'development', lng: 'en', fallbackLng: 'en', keySeparator: false,