diff --git a/lib/config/localized_values.dart b/lib/config/localized_values.dart index 40b4afbf..e6916cae 100644 --- a/lib/config/localized_values.dart +++ b/lib/config/localized_values.dart @@ -107,8 +107,8 @@ const Map localizedValues = { 'add': {'en': 'Add', 'ar': 'إضافة'}, 'reminder': {'en': 'Reminder', 'ar': 'تذكير'}, 'location': {'en': 'Locations', 'ar': 'مواقعنا'}, - 'online': {'en': 'Online', 'ar': 'الالكتروني'}, - 'payment': {'en': 'Payment', 'ar': 'الدفع'}, + 'online': {'en': 'Online', 'ar': 'الدفع'}, + 'payment': {'en': 'Payment', 'ar': 'الالكتروني'}, 'onlinePayment': {'en': 'Online', 'ar': 'الدفع'}, 'onlinePaymentSubtitle': {'en': 'Payment', 'ar': 'الالكتروني'}, 'cancel-nocaps': {'en': 'Cancel', 'ar': 'الغاء'}, @@ -118,12 +118,12 @@ const Map localizedValues = { 'login': {'en': 'Login', 'ar': 'دخول'}, 'loginregister': {'en': 'Login / Register', 'ar': 'دخول/ تسجيل'}, 'poweredBy': {'en': 'Powered by', 'ar': 'مشغل بواسطة'}, - "welcome": {"en": "Welcome", "ar": "مرحبا"}, + "welcome": {"en": "Welcome", "ar": "مرحبا بكم"}, "welcome-to": {"en": "Welcome to", "ar": "مرحبا بك في"}, "patient-app": {"en": "Patient App", "ar": "تطبيق المرضى"}, "welcome_text": {"en": "Dr. Sulaiman Al Habib Mobile Application", "ar": "الدكتور سليمان الحبيب لتطبيقات الهاتف"}, "dr-sulaiman-text": {"en": "Dr. Sulaiman Al Habib", "ar": "د. سليمان الحبيب"}, - 'welcome_text2': {'en': 'Have you visited AlHabib Medical Group before? ', 'ar': 'هل قمت بزيارة مجموعة الحبيب الطبية من قبل؟'}, + 'welcome_text2': {'en': 'Have you previously visited the hospitals or medical centers of Dr. Sulaiman Al Habib?', 'ar': 'هل قمت مسبقا بزيارة مستشفيات او مراكز الدكتور سليمان الحبيب الطبية ؟'}, 'yes': {'en': 'Yes', 'ar': 'نعم'}, 'no': {'en': 'No', 'ar': 'لا'}, "logintyperadio": {"en": " Choose from the below options to login to your medical file.", "ar": " اختر احدى الخيارات أدناه لتسجيل الدخول إلى ملفك الطبي "}, @@ -268,12 +268,12 @@ const Map localizedValues = { "myMedicalFileSubTitle": {"en": "All your medical records", 'ar': 'جميع سجلاتك الطبية'}, "viewMore": {"en": "View More", 'ar': 'عرض المزيد'}, "homeHealthCareService": {"en": "Home Health Care Service", 'ar': 'الرعاية الصحية المنزلية'}, - "OnlinePharmacy": {"en": "Online Pharmacy", 'ar': 'صيدليات الحبيب'}, + "OnlinePharmacy": {"en": "Online Pharmacy", 'ar': 'الصيدلية االلكترونية'}, "EmergencyService": {"en": "Emergency Service", 'ar': 'الفحص الطبي الشامل'}, "OnlinePaymentService": {"en": "Online Payment Service", 'ar': 'خدمة الدفع الإلكتروني'}, "OffersAndPackages": {"en": "Online transfer request", 'ar': 'طلب التحويل الالكتروني'}, "ComprehensiveMedicalCheckup": {"en": "Comprehensive Medical Check-up", 'ar': 'فحص طبي شامل'}, - "HMGService": {"en": "HMG Service", 'ar': 'جميع خدمات الحبيب'}, + "HMGService": {"en": "HMG Service", 'ar': 'الخدمات االلكترونية'}, "ViewAllHabibMedicalService": {"en": "View All Habib Medical Service", 'ar': 'عرض خدمات الحبيب الطبية'}, "viewAll": {"en": "View All", 'ar': 'عرض الكل'}, "view": {"en": "View", 'ar': 'عرض'}, @@ -533,15 +533,18 @@ const Map localizedValues = { "checkup": {"en": "Checkup", "ar": "فحص"}, "hhcHome": {"en": "Home", "ar": "الرعاية"}, "refferal": {"en": "E-Refferal", "ar": "الإحالة الإلكترونية"}, + "refferalTitle": {"en": "E-Refferal", "ar": "خدمات"}, + "refferalSubTitle": {"en": "Service", "ar": "الإحالة الإلكترونية"}, "healthCare": {"en": "Health Care", "ar": "الصحية المزلية"}, "emergency": {"en": "Emergency", "ar": "الطوارئ"}, - "cantSeeProfile": {"en": "Can’t see your medical File?", "ar": "لا تستطيع رؤية ملفك الطبي؟"}, + "erservices": {"en": "Emergency", "ar": "الطوارئ"}, + "services2": {"en": "Services", "ar": "خدمات"}, + "cantSeeProfile": {"en": "To view your medical profile, please log in or register now", "ar": "للتصفح ملفك الطبي الرجاء تسجيل الدخول أو التسجيل االن"}, "loginRegisterNow": {"en": "Login or Register Now", "ar": "تسجيل الدخول أو التسجيل الآن"}, "HMGPharmacy": {"en": "HMG Pharmacy", "ar": "صيدلية HMG"}, "ecommerceSolution": {"en": "Ecommerce Solution", "ar": "حل التجارة الإلكترونية"}, - "services2": {"en": "Services", "ar": "خدمات"}, "comprehensive": {"en": "Comprehensive", "ar": "شامل"}, - "onlineConsulting": {"en": "Online Consulting", "ar": "استشارات فورية"}, + "onlineConsulting": {"en": "Online Consulting", "ar": "استشارات فورية عن بعد"}, "pendingOrder": {"en": " PENDING", "ar": " معلقة"}, "deliveredOrder": {"en": " DELIVERED", "ar": "تم التوصيل"}, "processingOrder": {"en": " PROCESSING", "ar": "قيد التنفيذ"}, @@ -1061,7 +1064,7 @@ const Map localizedValues = { "disagree": {"en": "No, this is not the correct information", "ar": "غير موافق، هذه المعلومات غير الصحيحة"}, "expiry-date": {"en": "Expiry Date", "ar": "تاريخ انتهاء الصلاحية"}, "class": {"en": "Class", "ar": "فئة"}, - "offersdiscount": {"en": "Offers \& Discounts", "ar": "العروض والخصومات"}, + "offersdiscount": {"en": "Offers", "ar": "العروض"}, "explore": {"en": "Explore Now", "ar": "استكشف الآن"}, "approval": {"en": "Approval", "ar": "موافقة"}, "no-data": {"en": "No data found", "ar": "لاتوجد بيانات"}, @@ -1619,8 +1622,8 @@ const Map localizedValues = { "familySubtitle": {"en": "Files", "ar": "العائلة"}, "liveCareTitle": {"en": "LiveCare", "ar": "خدمة"}, "liveCareSubtitle": {"en": "Service", "ar": "لايف كير"}, - "pharmacyTitle": {"en": "Al Habib", "ar": "الصيدليات"}, - "pharmacySubtitle": {"en": "Pharmacy", "ar": "الحبيب"}, + "pharmacyTitle": {"en": "Online", "ar": "الصيدلية"}, + "pharmacySubtitle": {"en": "Pharmacy", "ar": "االلكترونية"}, "healthCalculatorTitle": {"en": "Health", "ar": "الحاسبات"}, "healthCalculatorSubtitle": {"en": "Calculators", "ar": "الصحية"}, "waterTitle": {"en": "Water", "ar": "استهلاك"}, @@ -1753,4 +1756,6 @@ const Map localizedValues = { "successRegister": {"en": "Your account has been created.", "ar": "لقد تم إنشاء حسابك."}, "pharmacyLiveCare": {"en": "Pharmacy LiveCare", "ar": "لايف كير صيدلية"}, "ancillaryOrderPaymentSuccess": {"en": "Your payment for selected orders has been made successfully.", "ar": "تم سداد دفعتك للطلبات المحددة بنجاح."}, -}; + "connectTitle": {"en": "Connect", "ar": "تواصل"}, + "connectSubtitle": {"en": "With us", "ar": "معنا"}, +}; \ No newline at end of file diff --git a/lib/pages/AlHabibMedicalService/all_habib_medical_service_page2.dart b/lib/pages/AlHabibMedicalService/all_habib_medical_service_page2.dart index b6608d1c..fa4751e1 100644 --- a/lib/pages/AlHabibMedicalService/all_habib_medical_service_page2.dart +++ b/lib/pages/AlHabibMedicalService/all_habib_medical_service_page2.dart @@ -57,7 +57,7 @@ class _AllHabibMedicalSevicePage2State extends State hmgServices.add(new HmgServices(5, TranslationBase.of(context).emergencyTitle, TranslationBase.of(context).emergencySubtitle, "assets/images/new/emergency.svg", isLogin)); hmgServices.add(new HmgServices(6, TranslationBase.of(context).ereferralTitle, TranslationBase.of(context).ereferralSubtitle, "assets/images/new/E_Referral.svg", isLogin)); hmgServices.add(new HmgServices(7, TranslationBase.of(context).waterTitle, TranslationBase.of(context).waterSubtitle, "assets/images/new/h2o.svg", isLogin)); - hmgServices.add(new HmgServices(8, TranslationBase.of(context).findUs, TranslationBase.of(context).reachUs, "assets/images/new/reach_us.svg", isLogin)); + hmgServices.add(new HmgServices(8, TranslationBase.of(context).connectTitle, TranslationBase.of(context).connectSubtitle, "assets/images/new/reach_us.svg", isLogin)); hmgServices.add(new HmgServices(9, TranslationBase.of(context).medicalFileTitle2, TranslationBase.of(context).medicalFileSubtitle, "assets/images/new/medical file.svg", isLogin)); hmgServices.add(new HmgServices(10, TranslationBase.of(context).book, TranslationBase.of(context).appointmentLabel, "assets/images/new/book appointment.svg", isLogin)); hmgServices.add(new HmgServices(11, TranslationBase.of(context).pharmacyTitle, TranslationBase.of(context).pharmacySubtitle, "assets/images/new/Pharmacy.svg", isLogin)); @@ -83,7 +83,7 @@ class _AllHabibMedicalSevicePage2State extends State isShowDecPage: false, showNewAppBar: true, showNewAppBarTitle: true, - appBarTitle: TranslationBase.of(context).alhabiServices, + appBarTitle: TranslationBase.of(context).hMGService, body: Container( width: double.infinity, height: double.infinity, diff --git a/lib/pages/landing/fragments/home_page_fragment2.dart b/lib/pages/landing/fragments/home_page_fragment2.dart index d7dbee1d..891ea439 100644 --- a/lib/pages/landing/fragments/home_page_fragment2.dart +++ b/lib/pages/landing/fragments/home_page_fragment2.dart @@ -61,10 +61,10 @@ class _HomePageFragment2State extends State { hmgServices.add(new HmgServices(2, TranslationBase.of(context).online, TranslationBase.of(context).payment, "assets/images/new/paymentMethods.png", isLogin)); hmgServices.add(new HmgServices(3, TranslationBase.of(context).hhcHome, TranslationBase.of(context).healthCare, "assets/images/new/HHC.svg", isLogin)); hmgServices.add(new HmgServices(4, TranslationBase.of(context).checkup, TranslationBase.of(context).comprehensive, "assets/images/new/comprehensive_checkup.svg", isLogin)); - hmgServices.add(new HmgServices(5, TranslationBase.of(context).emergency, TranslationBase.of(context).services2, "assets/images/new/emergency.svg", isLogin)); - hmgServices.add(new HmgServices(6, TranslationBase.of(context).refferal, TranslationBase.of(context).services2, "assets/images/new/E_Referral.svg", isLogin)); + hmgServices.add(new HmgServices(5, TranslationBase.of(context).emergencyTitle, TranslationBase.of(context).emergencySubtitle, "assets/images/new/emergency.svg", isLogin)); + hmgServices.add(new HmgServices(6, TranslationBase.of(context).ereferralTitle, TranslationBase.of(context).ereferralSubtitle, "assets/images/new/E_Referral.svg", isLogin)); hmgServices.add(new HmgServices(7, "H\u2082O", TranslationBase.of(context).dailyWater, "assets/images/new/h2o.svg", isLogin)); - hmgServices.add(new HmgServices(8, TranslationBase.of(context).reachUs, TranslationBase.of(context).findUs, "assets/images/new/reach_us.svg", isLogin)); + hmgServices.add(new HmgServices(8, TranslationBase.of(context).connectTitle, TranslationBase.of(context).connectSubtitle, "assets/images/new/reach_us.svg", isLogin)); } @override diff --git a/lib/pages/landing/widgets/slider_view.dart b/lib/pages/landing/widgets/slider_view.dart index 5030d004..c6e0a284 100644 --- a/lib/pages/landing/widgets/slider_view.dart +++ b/lib/pages/landing/widgets/slider_view.dart @@ -71,15 +71,15 @@ class SliderView extends StatelessWidget { height: 25 / 17, ), ), - Text( - TranslationBase.of(context).loginRegisterNow, - style: TextStyle( - color: Colors.white, - fontSize: 12, - letterSpacing: -0.36, - height: 1, - ), - ), + // Text( + // TranslationBase.of(context).loginRegisterNow, + // style: TextStyle( + // color: Colors.white, + // fontSize: 12, + // letterSpacing: -0.36, + // height: 1, + // ), + // ), ], ), ), diff --git a/lib/pages/login/welcome.dart b/lib/pages/login/welcome.dart index ea6d18cf..b4845915 100644 --- a/lib/pages/login/welcome.dart +++ b/lib/pages/login/welcome.dart @@ -57,10 +57,10 @@ class _WelcomeLogin extends State { style: TextStyle(fontSize: 24, fontWeight: FontWeight.w700, color: Color(0xff2B353E), letterSpacing: -1.44, height: 23 / 24), ), SizedBox(height: 16), - Text( - TranslationBase.of(context).welcomeText, - style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600, color: Color(0xff2B353E), letterSpacing: -0.64, height: 23 / 16), - ), + // Text( + // TranslationBase.of(context).welcomeText, + // style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600, color: Color(0xff2B353E), letterSpacing: -0.64, height: 23 / 16), + // ), Text( TranslationBase.of(context).welcomeText2, style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600, color: Color(0xff2B353E), letterSpacing: -0.64, height: 23 / 16), diff --git a/lib/uitl/translations_delegate_base.dart b/lib/uitl/translations_delegate_base.dart index ae0a9849..d1ab1259 100644 --- a/lib/uitl/translations_delegate_base.dart +++ b/lib/uitl/translations_delegate_base.dart @@ -2829,6 +2829,9 @@ class TranslationBase { String get successRegister => localizedValues["successRegister"][locale.languageCode]; String get pharmacyLiveCare => localizedValues["pharmacyLiveCare"][locale.languageCode]; String get ancillaryOrderPaymentSuccess => localizedValues["ancillaryOrderPaymentSuccess"][locale.languageCode]; + + String get connectTitle => localizedValues["connectTitle"][locale.languageCode]; + String get connectSubtitle => localizedValues["connectSubtitle"][locale.languageCode]; } class TranslationBaseDelegate extends LocalizationsDelegate {