merge-requests/648/head
mosazaid 5 years ago
parent 34a7c0b148
commit 4f817810c2

@ -48,6 +48,7 @@ const Map<String, Map<String, String>> localizedValues = {
'service': {'en': 'Service', 'ar': 'خدمة'},
'referral': {'en': 'Referral', 'ar': 'الإحالة'},
'inPatient': {'en': 'InPatients', 'ar': 'مرضاي'},
'myInPatient': {'en': 'My InPatients', 'ar': 'مرضاي'},
'inPatientLabel': {'en': 'InPatients', 'ar': 'المريض الداخلي'},
'inPatientAll': {'en': 'All InPatients', 'ar': 'كل المرضى'},
'operations': {'en': 'Operations', 'ar': 'عمليات'},

@ -284,7 +284,7 @@ class _HomeScreenState extends State<HomeScreen> {
cardIcon: DoctorApp.inpatient,
textColor: Colors.white,
text:
TranslationBase.of(context).inPatient,
TranslationBase.of(context).myInPatient,
onTap: () {
Navigator.push(
context,

@ -100,6 +100,7 @@ class TranslationBase {
String get referral => localizedValues['referral'][locale.languageCode];
String get inPatient => localizedValues['inPatient'][locale.languageCode];
String get myInPatient => localizedValues['myInPatient'][locale.languageCode];
String get inPatientLabel =>
localizedValues['inPatientLabel'][locale.languageCode];

Loading…
Cancel
Save