diff --git a/lib/config/localized_values.dart b/lib/config/localized_values.dart index fa97bf62..5dc41d3e 100644 --- a/lib/config/localized_values.dart +++ b/lib/config/localized_values.dart @@ -20,6 +20,7 @@ const Map> localizedValues = { "ar": "ليس لديك أي جدول" }, "verify": {"en": "VERIFY", "ar": "تحقق"}, + "pharmacy-intervention": {"en": "Pharmacy Intervention", "ar": "التدخل الصيدلاني"}, "referralDoctor": {"en": "Referral Doctor", "ar": "الطبيب المُحول إليه"}, "referringClinic": {"en": "Referring Clinic", "ar": "العيادة المُحول إليها"}, "frequency": {"en": "Frequency", "ar": "تكرر"}, @@ -537,6 +538,10 @@ const Map> localizedValues = { "selectSeverity": {"en": "Select Severity", "ar": "حدد الخطورة"}, "leaveCreated": {"en": "Leave has been created", "ar": "تم إنشاء الإجازة"}, "medications": {"en": "Medications", "ar": "الأدوية"}, + "medication": {"en": "Medication", "ar": "الدواء"}, + "createdByName": {"en": "Created By Name", "ar": "الدواء"}, + "statusDescription": {"en": "Status Description", "ar": "وصف الحالة"}, + "doctorComments": {"en": "Doctor Comments", "ar": "تعليقات الطبيب"}, "procedures": {"en": "Procedures", "ar": "الإجراءات"}, "vitalSignEmptyMsg": { "en": "There is no vital signs for this patient", diff --git a/lib/screens/patients/profile/pharmacy-intervention/intervention_medication.dart b/lib/screens/patients/profile/pharmacy-intervention/intervention_medication.dart index 3944d2b8..af54efab 100644 --- a/lib/screens/patients/profile/pharmacy-intervention/intervention_medication.dart +++ b/lib/screens/patients/profile/pharmacy-intervention/intervention_medication.dart @@ -146,7 +146,7 @@ class _InterventionMedicationScreenState CustomRow( labelSize: 12, valueSize: 12, - label: 'Description: ', + label: TranslationBase.of(context).description, value: model.allInterventionList[index].description, ), SizedBox( @@ -155,7 +155,7 @@ class _InterventionMedicationScreenState CustomRow( labelSize: 12, valueSize: 12, - label: 'Medication: ', + label: TranslationBase.of(context).medication, value: model.allInterventionList[index].medication, ), SizedBox( @@ -164,7 +164,7 @@ class _InterventionMedicationScreenState CustomRow( labelSize: 12, valueSize: 12, - label: 'Doctor Comments: ', + label: TranslationBase.of(context).doctorComments, value: model.allInterventionList[index].doctorComments, ), SizedBox( @@ -173,7 +173,7 @@ class _InterventionMedicationScreenState CustomRow( labelSize: 12, valueSize: 12, - label: 'Status Description: ', + label: TranslationBase.of(context).statusDescription, value: model.allInterventionList[index].statusDescription, ), ], diff --git a/lib/screens/patients/profile/pharmacy-intervention/intervention_medication_history_screen.dart b/lib/screens/patients/profile/pharmacy-intervention/intervention_medication_history_screen.dart index 2ceab871..ce1e69f0 100644 --- a/lib/screens/patients/profile/pharmacy-intervention/intervention_medication_history_screen.dart +++ b/lib/screens/patients/profile/pharmacy-intervention/intervention_medication_history_screen.dart @@ -106,7 +106,7 @@ class _InterventionMedicationHistoryScreenState extends State localizedValues['add-sickleave'][locale.languageCode]; + String get pharmacyIntervention => + localizedValues['pharmacy-intervention'][locale.languageCode]; + String get add => localizedValues['add'][locale.languageCode]; String get addSickLeaverequest => @@ -906,6 +909,14 @@ class TranslationBase { String get medications => localizedValues['medications'][locale.languageCode]; + String get medication => localizedValues['medication'][locale.languageCode]; + + String get doctorComments => localizedValues['doctorComments'][locale.languageCode]; + + String get statusDescription => localizedValues['statusDescription'][locale.languageCode]; + + String get createdByName => localizedValues['createdByName'][locale.languageCode]; + String get procedures => localizedValues['procedures'][locale.languageCode]; String get chiefComplaints =>