Translation updates

merge-update-with-lab-changes
haroon amjad 2 years ago
parent 1997dbe128
commit b10383c3ff

@ -1936,6 +1936,9 @@ const Map localizedValues = {
"selectAdmissionText": {"en": "Please select one of the admissions from below to view medical reports:", "ar": "يرجى تحديد أحد حالات القبول من الأسفل لعرض التقارير الطبية:"}, "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": "هذه الخدمة متاحة فقط للمرضى المقبولين"}, "onlyAdmitted": {"en": "This service is only available for admitted patients", "ar": "هذه الخدمة متاحة فقط للمرضى المقبولين"},
"assistYou": {"en": "How we may assist you?", "ar": "كيف يمكننا مساعدتك؟"}, "assistYou": {"en": "How we may assist you?", "ar": "كيف يمكننا مساعدتك؟"},
"receive": {"en": "Receive", "ar": "تجهيز"},
"PRO": {"en": "PRO", "ar": "علاقات المرضى"},
"patientRelationOffice": {"en": "Patient Relation Office", "ar": "علاقات المرضى"},
}; };

@ -29,7 +29,7 @@ class _HelpPROState extends State<HelpPRO> {
isShowDecPage: false, isShowDecPage: false,
showNewAppBarTitle: true, showNewAppBarTitle: true,
showNewAppBar: true, showNewAppBar: true,
appBarTitle: "Patient Relation Officer", appBarTitle: TranslationBase.of(context).patientRelationOffice,
body: SingleChildScrollView( body: SingleChildScrollView(
child: Container( child: Container(
width: MediaQuery.of(context).size.width, width: MediaQuery.of(context).size.width,

@ -170,7 +170,7 @@ class _InPatientServicesHomeState extends State<InPatientServicesHome> {
getInPatientAdvancePaymentRequests(context); getInPatientAdvancePaymentRequests(context);
}, },
child: MedicalProfileItem( child: MedicalProfileItem(
title: "Advance", title: TranslationBase.of(context).advancePayment,
imagePath: 'advance_payment.svg', imagePath: 'advance_payment.svg',
subTitle: TranslationBase.of(context).payment, subTitle: TranslationBase.of(context).payment,
width: 50.0, width: 50.0,
@ -187,7 +187,7 @@ class _InPatientServicesHomeState extends State<InPatientServicesHome> {
if (isReceivePrescriptionEnabled) receivePrescriptionAPI(context); if (isReceivePrescriptionEnabled) receivePrescriptionAPI(context);
}, },
child: MedicalProfileItem( child: MedicalProfileItem(
title: "Receive", title: TranslationBase.of(context).receive,
imagePath: 'receive_prescription.svg', imagePath: 'receive_prescription.svg',
subTitle: TranslationBase.of(context).prescriptions, subTitle: TranslationBase.of(context).prescriptions,
width: 50.0, width: 50.0,
@ -203,9 +203,9 @@ class _InPatientServicesHomeState extends State<InPatientServicesHome> {
checkCurrentTime(context); checkCurrentTime(context);
}, },
child: MedicalProfileItem( child: MedicalProfileItem(
title: "Help", title: TranslationBase.of(context).help,
imagePath: 'help_pro.svg', imagePath: 'help_pro.svg',
subTitle: "PRO", subTitle: TranslationBase.of(context).PRO,
width: 50.0, width: 50.0,
height: 40.0, height: 40.0,
isInPatient: true, isInPatient: true,

@ -2942,6 +2942,9 @@ class TranslationBase {
String get selectAdmissionText => localizedValues["selectAdmissionText"][locale.languageCode]; String get selectAdmissionText => localizedValues["selectAdmissionText"][locale.languageCode];
String get onlyAdmitted => localizedValues["onlyAdmitted"][locale.languageCode]; String get onlyAdmitted => localizedValues["onlyAdmitted"][locale.languageCode];
String get assistYou => localizedValues["assistYou"][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];
} }

Loading…
Cancel
Save