Skip to content

Commit f9efc51

Browse files
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 <kavitha.s@thoughtworks.com>
1 parent c73136b commit f9efc51

File tree

5 files changed

+31
-23
lines changed

5 files changed

+31
-23
lines changed

micro-frontends/public/i18n/locale_en.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@
1515
"SEARCH_REACTION": "Search Reaction",
1616
"COMMON_REACTIONS": "Common Reactions",
1717
"ALLERGEN": "Allergen",
18-
"EDIT_FORM_ERROR_MESSAGE": "Please enter a value in the mandatory fields or correct the value in the highlighted fields to proceed"
18+
"EDIT_FORM_ERROR_MESSAGE": "Please enter a value in the mandatory fields or correct the value in the highlighted fields to proceed",
19+
"ACKNOWLEDGEMENT":"Acknowledge",
20+
"ENTER_NOTES": "Enter Notes",
21+
"NOTE": "Note"
1922
}
Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
{
2-
"NO_FORM": "Aucun formulaire trouvé pour ce patient....",
3-
"DASHBOARD_TITLE_FORMS_2_DISPLAY_CONTROL_KEY": "Formulaires d'observations",
4-
"LOADING_MESSAGE": "Chargement... Veuillez patienter",
5-
"NO_ALLERGIES": "Aucune allergie enregistrée pour ce patient.",
6-
"BACK_TO_ALLERGEN": "Retour à Allergies",
7-
"ALLERGIES_HEADING": "Allergies et réactions",
8-
"ALLERGIES_DISPLAY_CONTROL_HEADING": "Allergies",
9-
"SEVERITY": "Gravité",
10-
"SAVE": "Sauvegarder",
11-
"CANCEL": "Annuler",
12-
"NO_ALLERGENS_FOUND": "Aucun allergène trouvé",
13-
"SEARCH_ALLERGEN": "Rechercher un allergène",
14-
"REACTIONS": "Réaction(s)",
15-
"SEARCH_REACTION": "Réaction à la recherche",
16-
"COMMON_REACTIONS": "Réactions courantes",
17-
"ALLERGEN": "Allergène",
18-
"EDIT_FORM_ERROR_MESSAGE": "Veuillez saisir une valeur dans les champs obligatoires ou corriger la valeur dans les champs en surbrillance pour continuer"
2+
"NO_FORM": "Aucun formulaire trouvé pour ce patient....",
3+
"DASHBOARD_TITLE_FORMS_2_DISPLAY_CONTROL_KEY": "Formulaires d'observations",
4+
"LOADING_MESSAGE": "Chargement... Veuillez patienter",
5+
"NO_ALLERGIES": "Aucune allergie enregistrée pour ce patient.",
6+
"BACK_TO_ALLERGEN": "Retour à Allergies",
7+
"ALLERGIES_HEADING": "Allergies et réactions",
8+
"ALLERGIES_DISPLAY_CONTROL_HEADING": "Allergies",
9+
"SEVERITY": "Gravité",
10+
"SAVE": "Sauvegarder",
11+
"CANCEL": "Annuler",
12+
"NO_ALLERGENS_FOUND": "Aucun allergène trouvé",
13+
"SEARCH_ALLERGEN": "Rechercher un allergène",
14+
"REACTIONS": "Réaction(s)",
15+
"SEARCH_REACTION": "Réaction à la recherche",
16+
"COMMON_REACTIONS": "Réactions courantes",
17+
"ALLERGEN": "Allergène",
18+
"EDIT_FORM_ERROR_MESSAGE": "Veuillez saisir une valeur dans les champs obligatoires ou corriger la valeur dans les champs en surbrillance pour continuer",
19+
"ACKNOWLEDGEMENT": "Reconnaître",
20+
"ENTER_NOTES": "Saisir des notes",
21+
"NOTE": "Note"
1922
}

micro-frontends/src/next-ui/Components/ProviderNotificationPatients/PatientListContent.jsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
} from "../../utils/providerNotifications/ProviderNotificationUtils";
99
import { verifierFunction} from "../../constants";
1010
import PropTypes from "prop-types";
11+
import { FormattedMessage } from "react-intl";
1112

1213
const PatientListContent = ({ patientMedicationDetails, providerUuid , refreshPatients}) => {
1314
const [notes, setNotes] = useState("");
@@ -36,8 +37,8 @@ const PatientListContent = ({ patientMedicationDetails, providerUuid , refreshPa
3637
<div className="notes">
3738
<TextArea
3839
className="patient-list-text-area"
39-
labelText={<Title text={"Note"} isRequired={true} />}
40-
placeholder="Enter Notes"
40+
labelText={<Title text={<FormattedMessage id="NOTE" defaultMessage="Note" />} isRequired={true} />}
41+
placeholder={<FormattedMessage id="ENTER_NOTES" defaultMessage="Enter Notes" />}
4142
rows={1}
4243
required={true}
4344
value={notes}
@@ -48,7 +49,7 @@ const PatientListContent = ({ patientMedicationDetails, providerUuid , refreshPa
4849
disabled={notes.trim() === ""}
4950
onClick={handleOnClick}
5051
>
51-
Acknowledge
52+
<FormattedMessage id="ACKNOWLEDGEMENT" defaultMessage="Acknowledge" />
5253
</Button>
5354
</div>
5455
</div>

micro-frontends/src/next-ui/Containers/providerNotifications/ProviderNotifications.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React from 'react'
22
import './ProviderNotifications.scss'
33
import PropTypes from 'prop-types';
4-
import { ComboBox, Link } from 'carbon-components-react';
54
import { FormattedMessage } from 'react-intl';
65
import PatientsList from '../../Components/ProviderNotificationPatients/PatientsList';
76

ui/app/i18n/clinical/locale_fr.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,5 +360,7 @@
360360
"SHARE_PRESCRIPTION_MAIL_CONTENT": "Bonjour #nom du destinataire\nMerci d'avoir visité #Nom du lieu le #date de visite. Votre ordonnance est jointe à ce courriel. Nous vous souhaitons un prompt rétablissement.\nMerci.\n#Nom du lieu\n#Adresse du lieu",
361361
"CHIEF_COMPLAINT_CODED_KEY": "Plainte principale codifiée",
362362
"SIGN_SYMPTOM_DURATION_KEY": "Durée des signes/symptômes",
363-
"CHIEF_COMPLAINT_DURATION_UNIT_KEY": "Durée de la plainte principale"
363+
"CHIEF_COMPLAINT_DURATION_UNIT_KEY": "Durée de la plainte principale",
364+
"IPD_BUTTON": "IPD",
365+
"OPD_BUTTON": "OPD"
364366
}

0 commit comments

Comments
 (0)