fixed arabic version

merge-update-with-lab-changes
Fatimah Alshammari 4 years ago
parent 2caf4d4837
commit bcfbca98a1

@ -302,6 +302,7 @@ const Map localizedValues = {
"ar": "خطأ في إرسال البريد الإلكتروني"
},
"close": {"en": "Close", "ar": "مغلق"},
"closeIt": {"en": "Close", "ar": "اغلاق"},
"booked": {"en": "Booked", "ar": "محجوز"},
"confirmed": {"en": "Confirmed", "ar": "مؤكد"},
"arrived": {"en": "Arrived", "ar": "تم الحضور"},

@ -200,8 +200,8 @@ class CartOrderPage extends StatelessWidget {
),
Padding(
padding: const EdgeInsets.all(8.0),
child: Text(
'There is no data',
child: Text(TranslationBase.of(context).noData,
// 'There is no data',
style: TextStyle(fontSize: 30),
),
)

@ -314,7 +314,7 @@ class _SubCategorisePageState extends State<SubCategorisePage> {
width: 250.0,
),
InkWell(
child: Texts(TranslationBase.of(context).close,
child: Texts(TranslationBase.of(context).closeIt,
// 'Close',
color: Colors.red,
fontWeight:
@ -502,13 +502,15 @@ class _SubCategorisePageState extends State<SubCategorisePage> {
MainAxisAlignment
.spaceEvenly,
children: [
Container(
width: 100,
child: Button(
label: TranslationBase.of(context).reset,
Expanded(
child: Container(
width: 100,
child: Button(
label: TranslationBase.of(context).reset,
// 'Reset',
backgroundColor:
Colors.red,
backgroundColor:
Colors.red,
),
),
),
SizedBox(

@ -343,6 +343,7 @@ class TranslationBase {
localizedValues['scanQRHospital'][locale.languageCode];
String get sendEmail => localizedValues['sendEmail'][locale.languageCode];
String get close => localizedValues['close'][locale.languageCode];
String get closeIt => localizedValues['closeIt'][locale.languageCode];
String get booked => localizedValues['booked'][locale.languageCode];
String get confirmed => localizedValues['confirmed'][locale.languageCode];
String get arrived => localizedValues['arrived'][locale.languageCode];

Loading…
Cancel
Save