diff --git a/app/meteor/imports/client/patientAppointments/Patient.js b/app/meteor/imports/client/patientAppointments/Patient.js index c592a7c64..70017914d 100644 --- a/app/meteor/imports/client/patientAppointments/Patient.js +++ b/app/meteor/imports/client/patientAppointments/Patient.js @@ -2,6 +2,7 @@ import React from 'react' import { insuranceId as formatInsuranceId, prefix } from '../../api/patients/methods' import { namecase } from '../../util/namecase' import { birthday as formatBirthday } from '../../util/time/format' +import { __ } from '../../i18n' const secondary = { opacity: 0.6 @@ -85,7 +86,9 @@ const InsuranceId = ({ insuranceId }) => const Note = ({ note }) =>
- {note} +
{__('patients.noteLine1')}
+
 {__('patients.noteLine2')}
+ {note ||
}
const noteStyle = { @@ -93,6 +96,11 @@ const noteStyle = { fontWeight: 600 } +const noteLabelStyle = { + fontSize: '80%', + opacity: 0.5 +} + const Address = ({ address }) => !address ? null :
{address.line1}
diff --git a/app/meteor/imports/i18n/de/patients.js b/app/meteor/imports/i18n/de/patients.js index decf70664..168701cd0 100644 --- a/app/meteor/imports/i18n/de/patients.js +++ b/app/meteor/imports/i18n/de/patients.js @@ -43,8 +43,10 @@ export const patients = { addressPostalCode: 'PLZ', addressLocality: 'Ort', addressCountry: 'Land', - note: 'Allgemeine Informationen zur PatientIn (zB. Allergien, Sonderkonditionen etc.)', - notePlaceholder: 'Allgemeine Informationen zur PatientIn (zB. Allergien, Sonderkonditionen etc.) hinzufügen', + noteLine1: 'Allgemeine Informationen', + noteLine2: '(zB. Allergien, Sonderkonditionen etc.)', + note: 'Allgemeine Informationen (zB. Allergien, Sonderkonditionen etc.)', + notePlaceholder: 'Allgemeine Informationen (zB. Allergien, Sonderkonditionen etc.) hinzufügen', revenue: 'Umsatz', removeContact: 'Diesen Kontakt entfernen', addContact: 'Weiteren Kontakt hinzufügen',