bug fixes

merge-requests/321/head
Sultan Khan 4 years ago
parent 3a8b889b74
commit 8c9c309abb

@ -1992,5 +1992,7 @@ const Map localizedValues = {
"enter-file": {
"en": "Please enter the mobile number and the medical file number",
"ar": "الرجاء إدخال رقم الجوال ورقم الملف الطبي"
}
},
"allow": {"en": "Allow", "ar": "السماح"},
"reject": {"en": "Reject", "ar": "رفض"}
};

@ -395,12 +395,20 @@ class _MyFamily extends State<MyFamily> with TickerProviderStateMixin {
left: 10, right: 10),
child: Row(children: [
Expanded(
flex: 3, child: AppText('Name')),
flex: 3,
child: AppText(
TranslationBase.of(context)
.name)),
Expanded(
flex: 1, child: AppText('Allow')),
flex: 1,
child: AppText(
TranslationBase.of(context)
.allow)),
Expanded(
flex: 1,
child: AppText('Reject')),
child: AppText(
TranslationBase.of(context)
.reject)),
])),
Column(
children: familyFileProvider
@ -577,9 +585,15 @@ class _MyFamily extends State<MyFamily> with TickerProviderStateMixin {
EdgeInsets.only(left: 10, right: 10),
child: Row(children: [
Expanded(
flex: 3, child: AppText('Name')),
flex: 3,
child: AppText(
TranslationBase.of(context)
.name)),
Expanded(
flex: 1, child: AppText('Delete')),
flex: 1,
child: AppText(
TranslationBase.of(context)
.delete)),
])),
Column(
children: familyFileProvider

@ -752,8 +752,10 @@ class TranslationBase {
String get shippedMethod =>
localizedValues['shippedMethod'][locale.languageCode];
String get orderDetail => localizedValues['orderDetail'][locale.languageCode];
String get deliveryDriverTrack => localizedValues['DeliveryDriverTrack'][locale.languageCode];
String get deliveryLocation => localizedValues['DeliveryLocation'][locale.languageCode];
String get deliveryDriverTrack =>
localizedValues['DeliveryDriverTrack'][locale.languageCode];
String get deliveryLocation =>
localizedValues['DeliveryLocation'][locale.languageCode];
String get driver => localizedValues['Driver'][locale.languageCode];
String get subtotal => localizedValues['subtotal'][locale.languageCode];
String get shipping => localizedValues['shipping'][locale.languageCode];
@ -1558,10 +1560,10 @@ class TranslationBase {
localizedValues["submitncontinue"][locale.languageCode];
String get areyousure => localizedValues["areyousure"][locale.languageCode];
// Offer And Packahes
String get subT=> localizedValues['OffersAndPackages'][locale.languageCode];
String get totalWithColonRight => localizedValues['totalWithColonRight'][locale.languageCode];
String get subT => localizedValues['OffersAndPackages'][locale.languageCode];
String get totalWithColonRight =>
localizedValues['totalWithColonRight'][locale.languageCode];
String get preferredunit =>
localizedValues["preferredunit"][locale.languageCode];
@ -1605,6 +1607,8 @@ class TranslationBase {
String get insuranceID =>
localizedValues["insurance-id"][locale.languageCode];
String get enterFile => localizedValues["enter-file"][locale.languageCode];
String get allow => localizedValues["allow"][locale.languageCode];
String get reject => localizedValues["reject"][locale.languageCode];
}
class TranslationBaseDelegate extends LocalizationsDelegate<TranslationBase> {

Loading…
Cancel
Save