From 8e3861afb438b25f25d18396f882d7ca07b1bace Mon Sep 17 00:00:00 2001 From: adriano Date: Fri, 25 Nov 2022 13:09:24 -0300 Subject: [PATCH] =?UTF-8?q?Altera=C3=A7=C3=A3o=20para=20exibir=20tradu?= =?UTF-8?q?=C3=A7=C3=B5es=20de=20acordo=20com=20o=20idioma=20do=20navegado?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/Report/DatePicker/index.js | 2 ++ frontend/src/layout/MainListItems.js | 7 ++++++- frontend/src/pages/SchedulesReminder/index.js | 11 +++++++---- frontend/src/translate/languages/en.js | 9 +++++++++ frontend/src/translate/languages/es.js | 9 +++++++++ frontend/src/translate/languages/pt.js | 18 +++++++++++++++++- 6 files changed, 50 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/Report/DatePicker/index.js b/frontend/src/components/Report/DatePicker/index.js index db4ae5c..7a28cb7 100644 --- a/frontend/src/components/Report/DatePicker/index.js +++ b/frontend/src/components/Report/DatePicker/index.js @@ -11,6 +11,8 @@ import { +import { i18n } from "../../../translate/i18n"; + import ptBrLocale from "date-fns/locale/pt-BR"; diff --git a/frontend/src/layout/MainListItems.js b/frontend/src/layout/MainListItems.js index 4674b25..3044951 100644 --- a/frontend/src/layout/MainListItems.js +++ b/frontend/src/layout/MainListItems.js @@ -89,7 +89,12 @@ const MainListItems = (props) => { primary={i18n.t("mainDrawer.listItems.contacts")} icon={} /> - } /> + + } + /> + { { - + @@ -501,7 +503,8 @@ const SchedulesReminder = () => {