diff --git a/lib/config/localized_values.dart b/lib/config/localized_values.dart index d99c1e6b..e45e0fc8 100644 --- a/lib/config/localized_values.dart +++ b/lib/config/localized_values.dart @@ -1936,6 +1936,9 @@ const Map localizedValues = { "selectAdmissionText": {"en": "Please select one of the admissions from below to view medical reports:", "ar": "يرجى تحديد أحد حالات القبول من الأسفل لعرض التقارير الطبية:"}, "onlyAdmitted": {"en": "This service is only available for admitted patients", "ar": "هذه الخدمة متاحة فقط للمرضى المقبولين"}, "assistYou": {"en": "How we may assist you?", "ar": "كيف يمكننا مساعدتك؟"}, + "receive": {"en": "Receive", "ar": "تجهيز"}, + "PRO": {"en": "PRO", "ar": "علاقات المرضى"}, + "patientRelationOffice": {"en": "Patient Relation Office", "ar": "علاقات المرضى"}, }; \ No newline at end of file diff --git a/lib/pages/InPatientServices/help_PRO.dart b/lib/pages/InPatientServices/help_PRO.dart index 6d5eda5f..385f0672 100644 --- a/lib/pages/InPatientServices/help_PRO.dart +++ b/lib/pages/InPatientServices/help_PRO.dart @@ -29,7 +29,7 @@ class _HelpPROState extends State { isShowDecPage: false, showNewAppBarTitle: true, showNewAppBar: true, - appBarTitle: "Patient Relation Officer", + appBarTitle: TranslationBase.of(context).patientRelationOffice, body: SingleChildScrollView( child: Container( width: MediaQuery.of(context).size.width, diff --git a/lib/pages/InPatientServices/inpatient_home.dart b/lib/pages/InPatientServices/inpatient_home.dart index ffb5f57d..1d97cf0a 100644 --- a/lib/pages/InPatientServices/inpatient_home.dart +++ b/lib/pages/InPatientServices/inpatient_home.dart @@ -170,7 +170,7 @@ class _InPatientServicesHomeState extends State { getInPatientAdvancePaymentRequests(context); }, child: MedicalProfileItem( - title: "Advance", + title: TranslationBase.of(context).advancePayment, imagePath: 'advance_payment.svg', subTitle: TranslationBase.of(context).payment, width: 50.0, @@ -187,7 +187,7 @@ class _InPatientServicesHomeState extends State { if (isReceivePrescriptionEnabled) receivePrescriptionAPI(context); }, child: MedicalProfileItem( - title: "Receive", + title: TranslationBase.of(context).receive, imagePath: 'receive_prescription.svg', subTitle: TranslationBase.of(context).prescriptions, width: 50.0, @@ -203,9 +203,9 @@ class _InPatientServicesHomeState extends State { checkCurrentTime(context); }, child: MedicalProfileItem( - title: "Help", + title: TranslationBase.of(context).help, imagePath: 'help_pro.svg', - subTitle: "PRO", + subTitle: TranslationBase.of(context).PRO, width: 50.0, height: 40.0, isInPatient: true, diff --git a/lib/uitl/translations_delegate_base.dart b/lib/uitl/translations_delegate_base.dart index 531384a1..8e8ddf06 100644 --- a/lib/uitl/translations_delegate_base.dart +++ b/lib/uitl/translations_delegate_base.dart @@ -2942,6 +2942,9 @@ class TranslationBase { String get selectAdmissionText => localizedValues["selectAdmissionText"][locale.languageCode]; String get onlyAdmitted => localizedValues["onlyAdmitted"][locale.languageCode]; String get assistYou => localizedValues["assistYou"][locale.languageCode]; + String get receive => localizedValues["receive"][locale.languageCode]; + String get PRO => localizedValues["PRO"][locale.languageCode]; + String get patientRelationOffice => localizedValues["patientRelationOffice"][locale.languageCode]; }