From f9efc514ad8384dc16689074b3aed826592c7437 Mon Sep 17 00:00:00 2001 From: Arjun G <91885483+Arjun-Go@users.noreply.github.com> Date: Fri, 27 Sep 2024 18:39:14 +0530 Subject: [PATCH] Arjun | Tx for ipd (#1006) * Arjun | add translations for placeholders and texts * add fr locale for ipd button * add. note translation --------- Co-authored-by: Kavitha S --- micro-frontends/public/i18n/locale_en.json | 5 ++- micro-frontends/public/i18n/locale_fr.json | 37 ++++++++++--------- .../PatientListContent.jsx | 7 ++-- .../ProviderNotifications.jsx | 1 - ui/app/i18n/clinical/locale_fr.json | 4 +- 5 files changed, 31 insertions(+), 23 deletions(-) diff --git a/micro-frontends/public/i18n/locale_en.json b/micro-frontends/public/i18n/locale_en.json index 15118bf923..e6be8529b5 100644 --- a/micro-frontends/public/i18n/locale_en.json +++ b/micro-frontends/public/i18n/locale_en.json @@ -15,5 +15,8 @@ "SEARCH_REACTION": "Search Reaction", "COMMON_REACTIONS": "Common Reactions", "ALLERGEN": "Allergen", - "EDIT_FORM_ERROR_MESSAGE": "Please enter a value in the mandatory fields or correct the value in the highlighted fields to proceed" + "EDIT_FORM_ERROR_MESSAGE": "Please enter a value in the mandatory fields or correct the value in the highlighted fields to proceed", + "ACKNOWLEDGEMENT":"Acknowledge", + "ENTER_NOTES": "Enter Notes", + "NOTE": "Note" } diff --git a/micro-frontends/public/i18n/locale_fr.json b/micro-frontends/public/i18n/locale_fr.json index 6049c42fd5..2fe5e0c629 100644 --- a/micro-frontends/public/i18n/locale_fr.json +++ b/micro-frontends/public/i18n/locale_fr.json @@ -1,19 +1,22 @@ { - "NO_FORM": "Aucun formulaire trouvé pour ce patient....", - "DASHBOARD_TITLE_FORMS_2_DISPLAY_CONTROL_KEY": "Formulaires d'observations", - "LOADING_MESSAGE": "Chargement... Veuillez patienter", - "NO_ALLERGIES": "Aucune allergie enregistrée pour ce patient.", - "BACK_TO_ALLERGEN": "Retour à Allergies", - "ALLERGIES_HEADING": "Allergies et réactions", - "ALLERGIES_DISPLAY_CONTROL_HEADING": "Allergies", - "SEVERITY": "Gravité", - "SAVE": "Sauvegarder", - "CANCEL": "Annuler", - "NO_ALLERGENS_FOUND": "Aucun allergène trouvé", - "SEARCH_ALLERGEN": "Rechercher un allergène", - "REACTIONS": "Réaction(s)", - "SEARCH_REACTION": "Réaction à la recherche", - "COMMON_REACTIONS": "Réactions courantes", - "ALLERGEN": "Allergène", - "EDIT_FORM_ERROR_MESSAGE": "Veuillez saisir une valeur dans les champs obligatoires ou corriger la valeur dans les champs en surbrillance pour continuer" + "NO_FORM": "Aucun formulaire trouvé pour ce patient....", + "DASHBOARD_TITLE_FORMS_2_DISPLAY_CONTROL_KEY": "Formulaires d'observations", + "LOADING_MESSAGE": "Chargement... Veuillez patienter", + "NO_ALLERGIES": "Aucune allergie enregistrée pour ce patient.", + "BACK_TO_ALLERGEN": "Retour à Allergies", + "ALLERGIES_HEADING": "Allergies et réactions", + "ALLERGIES_DISPLAY_CONTROL_HEADING": "Allergies", + "SEVERITY": "Gravité", + "SAVE": "Sauvegarder", + "CANCEL": "Annuler", + "NO_ALLERGENS_FOUND": "Aucun allergène trouvé", + "SEARCH_ALLERGEN": "Rechercher un allergène", + "REACTIONS": "Réaction(s)", + "SEARCH_REACTION": "Réaction à la recherche", + "COMMON_REACTIONS": "Réactions courantes", + "ALLERGEN": "Allergène", + "EDIT_FORM_ERROR_MESSAGE": "Veuillez saisir une valeur dans les champs obligatoires ou corriger la valeur dans les champs en surbrillance pour continuer", + "ACKNOWLEDGEMENT": "Reconnaître", + "ENTER_NOTES": "Saisir des notes", + "NOTE": "Note" } diff --git a/micro-frontends/src/next-ui/Components/ProviderNotificationPatients/PatientListContent.jsx b/micro-frontends/src/next-ui/Components/ProviderNotificationPatients/PatientListContent.jsx index 12d613aafd..c72de3573c 100644 --- a/micro-frontends/src/next-ui/Components/ProviderNotificationPatients/PatientListContent.jsx +++ b/micro-frontends/src/next-ui/Components/ProviderNotificationPatients/PatientListContent.jsx @@ -8,6 +8,7 @@ import { } from "../../utils/providerNotifications/ProviderNotificationUtils"; import { verifierFunction} from "../../constants"; import PropTypes from "prop-types"; +import { FormattedMessage } from "react-intl"; const PatientListContent = ({ patientMedicationDetails, providerUuid , refreshPatients}) => { const [notes, setNotes] = useState(""); @@ -36,8 +37,8 @@ const PatientListContent = ({ patientMedicationDetails, providerUuid , refreshPa