From da6741e24e75705857df59b4262e25b3df870f3e Mon Sep 17 00:00:00 2001 From: Hamza-Ayed Date: Mon, 20 May 2024 17:36:26 +0300 Subject: [PATCH] 5/20/2 --- lib/controller/local/translations.dart | 30 ++++++++++++++++++- .../profile/profile_controller.dart | 1 + 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/lib/controller/local/translations.dart b/lib/controller/local/translations.dart index 454c409..0d16148 100644 --- a/lib/controller/local/translations.dart +++ b/lib/controller/local/translations.dart @@ -4,7 +4,35 @@ class MyTranslation extends Translations { @override Map> get keys => { "ar": { - "User does not exist.": '', + "How do I request a ride?": "كيف أطلب رحلة؟", + "Step-by-step instructions on how to request a ride through the Sefer app.": + "تعليمات خطوة بخطوة حول كيفية طلب رحلة من خلال تطبيق Sefer.", + "What types of vehicles are available?": + "ما هي أنواع المركبات المتاحة؟", + "Sefer offers a variety of vehicle options to suit your needs, including economy, comfort, and luxury. Choose the option that best fits your budget and passenger count.": + "توفر Sefer مجموعة متنوعة من خيارات المركبات لتناسب احتياجاتك، بما في ذلك الاقتصادية والمريحة والفخمة. اختر الخيار الذي يناسب ميزانيتك وعدد الركاب.", + "How can I pay for my ride?": "كيف يمكنني الدفع لرحلتي؟", + "Sefer offers multiple payment methods for your convenience. Choose between cash payment or credit/debit card payment during ride confirmation.": + "توفر Sefer طرق دفع متعددة لراحتك. اختر بين الدفع نقدًا أو بطاقة ائتمان/خصم أثناء تأكيد الرحلة.", + "Can I cancel my ride?": "هل يمكنني إلغاء رحلتي؟", + "Yes, you can cancel your ride under certain conditions (e.g., before driver is assigned). See the Sefer cancellation policy for details.": + "نعم، يمكنك إلغاء رحلتك في ظل ظروف معينة (مثل قبل تعيين السائق). اطلع على سياسة الإلغاء في Sefer للحصول على التفاصيل.", + "Driver Registration & Requirements": "تسجيل السائقين والمتطلبات", + "How can I register as a driver?": "كيف يمكنني التسجيل كسائق؟", + "What are the requirements to become a driver?": + "ما هي المتطلبات للعمل كسائق؟", + "Visit our website or contact Sefer support for information on driver registration and requirements.": + "تفضل بزيارة موقعنا الإلكتروني أو اتصل بدعم Sefer للحصول على معلومات حول تسجيل السائقين والمتطلبات.", + "How do I communicate with the other party (passenger/driver)?": + "كيف أتواصل مع الطرف الآخر (الراكب/السائق)؟", + "Sefer provides in-app chat functionality to allow you to communicate with your driver or passenger during your ride.": + "توفر Sefer ميزة الدردشة داخل التطبيق لتتيح لك التواصل مع سائقك أو راكبك أثناء الرحلة.", + "What safety measures does Sefer offer?": + "ما هي تدابير السلامة التي تقدمها Sefer؟", + "Sefer prioritizes your safety. We offer features like driver verification, in-app trip tracking, and emergency contact options.": + "تُولي Sefer أهمية كبيرة لسلامتك. نحن نقدم ميزات مثل التحقق من هوية السائق ، وتتبع الرحلات داخل التطبيق ، وخيارات الاتصال في حالات الطوارئ.", + 'Frequently Questions': 'الأسئلة الشائعة', + "User does not exist.": 'المستخدم غير موجود', 'We need your phone number to contact you and to help you.': 'نحتاج إلى رقم هاتفك للتواصل معك ولمساعدتك', 'You will recieve code in sms message': 'ستتلقى رمزًا في رسالة SMS', diff --git a/lib/controller/profile/profile_controller.dart b/lib/controller/profile/profile_controller.dart index 104f05a..3bb1329 100644 --- a/lib/controller/profile/profile_controller.dart +++ b/lib/controller/profile/profile_controller.dart @@ -20,6 +20,7 @@ class ProfileController extends GetxController { void setGender(String value) { gender = value; + update(); } String? selectedDegree;