diff --git a/lib/config/localized_values.dart b/lib/config/localized_values.dart index 9ef70508..9c5a0b8b 100644 --- a/lib/config/localized_values.dart +++ b/lib/config/localized_values.dart @@ -708,5 +708,6 @@ const Map> localizedValues = { "requestType":{ "en":"Request Type", "ar":"نوع الطلب"}, - "special": {"en": "Special", "ar": "خاص"} + "special": {"en": "Special", "ar": "خاص"}, + "allClinic": {"en": "All Clinics", "ar": "جميع العيادات"} }; diff --git a/lib/screens/patients/In_patient/in_patient_list_page.dart b/lib/screens/patients/In_patient/in_patient_list_page.dart index b184234b..3b4681a0 100644 --- a/lib/screens/patients/In_patient/in_patient_list_page.dart +++ b/lib/screens/patients/In_patient/in_patient_list_page.dart @@ -72,7 +72,7 @@ class _InPatientListPageState extends State { activeColor: Colors.red, ), AppText( - "All Clinic", + "${TranslationBase.of(context).allClinic}", fontSize: 15, ), ], @@ -112,7 +112,7 @@ class _InPatientListPageState extends State { activeColor: Colors.red, ), AppText( - selectedClinicName ?? "Select Clinic", + selectedClinicName ?? TranslationBase.of(context).clinicSelect, fontSize: 15, ), Container( @@ -236,7 +236,7 @@ class _InPatientListPageState extends State { Row( children: [ AppText( - "Select Clinic :", + "${TranslationBase.of(context).clinicSelect} :", fontFamily: 'Poppins', fontWeight: FontWeight.w700, fontSize: 18, diff --git a/lib/util/translations_delegate_base.dart b/lib/util/translations_delegate_base.dart index 118efbfb..ebab8f65 100644 --- a/lib/util/translations_delegate_base.dart +++ b/lib/util/translations_delegate_base.dart @@ -1102,6 +1102,7 @@ class TranslationBase { String get textResponse => localizedValues['textResponse'][locale.languageCode]; String get special => localizedValues['special'][locale.languageCode]; String get requestType => localizedValues['requestType'][locale.languageCode]; + String get allClinic => localizedValues['allClinic'][locale.languageCode]; }