add translation

merge-requests/831/head
Elham Rababh 4 years ago
parent 99868a058c
commit 5e90f14a89

@ -708,5 +708,6 @@ const Map<String, Map<String, String>> localizedValues = {
"requestType":{
"en":"Request Type",
"ar":"نوع الطلب"},
"special": {"en": "Special", "ar": "خاص"}
"special": {"en": "Special", "ar": "خاص"},
"allClinic": {"en": "All Clinics", "ar": "جميع العيادات"}
};

@ -72,7 +72,7 @@ class _InPatientListPageState extends State<InPatientListPage> {
activeColor: Colors.red,
),
AppText(
"All Clinic",
"${TranslationBase.of(context).allClinic}",
fontSize: 15,
),
],
@ -112,7 +112,7 @@ class _InPatientListPageState extends State<InPatientListPage> {
activeColor: Colors.red,
),
AppText(
selectedClinicName ?? "Select Clinic",
selectedClinicName ?? TranslationBase.of(context).clinicSelect,
fontSize: 15,
),
Container(
@ -236,7 +236,7 @@ class _InPatientListPageState extends State<InPatientListPage> {
Row(
children: [
AppText(
"Select Clinic :",
"${TranslationBase.of(context).clinicSelect} :",
fontFamily: 'Poppins',
fontWeight: FontWeight.w700,
fontSize: 18,

@ -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];
}

Loading…
Cancel
Save