24-12/26/1

This commit is contained in:
Hamza-Ayed
2024-12-26 18:27:30 +03:00
parent 7751866428
commit d0dd09dc6c
10 changed files with 594 additions and 672 deletions

View File

@@ -415,8 +415,12 @@ class MapDriverController extends GetxController {
'status': 'Begin'
});
}
FirebaseMessagesController().sendNotificationToDriverMAP('RideIsBegin',
box.read(BoxName.name).toString(), tokenPassenger, [], 'start.wav');
FirebaseMessagesController().sendNotificationToDriverMAP(
'Trip is Begin'.tr,
box.read(BoxName.name).toString(),
tokenPassenger,
[],
'start.wav');
rideIsBeginPassengerTimer();
// var d = jsonDecode(res);
@@ -725,7 +729,7 @@ class MapDriverController extends GetxController {
});
Future.delayed(const Duration(milliseconds: 300));
FirebaseMessagesController().sendNotificationToDriverMAP(
'Driver Finish Trip',
"Driver Finish Trip".tr,
'${'you will pay to Driver'.tr} $paymentAmount \$',
tokenPassenger,
[

View File

@@ -4,6 +4,38 @@ class MyTranslation extends Translations {
@override
Map<String, Map<String, String>> get keys => {
"ar": {
"Call Passenger": "اتصل بالراكب",
"Send Message": "إرسال رسالة",
"Open in Maps": "فتح في الخرائط",
"Duration": "المدة",
"Distance": "المسافة",
"Passenger": "الراكب",
"Cost": "التكلفة",
"Car Type": "نوع ‏الطلب",
"Start the Ride": "ابدأ الرحلة",
"Is the Passenger in your Car?": "هل الراكب في سيارتك؟",
"Don't start trip if passenger not in your car":
"لا تبدأ الرحلة إذا لم يكن الراكب في سيارتك",
"I Arrive": "لقد وصلت", "Trip is Begin": "بدأت الرحلة",
"You are not near the passenger location":
"أنت لست بالقرب من موقع الراكب",
"Driver Finish Trip": "السواق أنهى الرحلة",
"Please go to the pickup location exactly":
"يرجى الذهاب إلى موقع الالتقاط بالضبط",
"You Can Cancel the Trip and get Cost From":
"يمكنك إلغاء الرحلة واسترداد التكلفة من",
"Are you sure to cancel?": "هل أنت متأكد من الإلغاء؟",
"Driver Cancelled Your Trip": "السائق ألغى رحلتك",
"You will need to pay the cost to the driver, or it will be deducted from your next trip":
"سيتم دفع التكلفة للسائق أو خصمها من رحلتك القادمة",
"Select a quick message": "اختر رسالة سريعة",
"Where are you, sir?": "أين أنت يا سيدي؟",
"I've been trying to reach you but your phone is off.":
"كنت أحاول الوصول إليك لكن هاتفك مغلق.",
"Please don't be late, I'm waiting for you at the specified location.":
"يرجى عدم التأخير، أنا في انتظارك في الموقع المحدد.",
"Please don't be late": "يرجى عدم التأخير",
"Type something": "اكتب شيئًا",
'Passenger Information': 'معلومات الراكب',
'Name': 'الاسم',
"wallet_updated": "تم تحديث المحفظة",
@@ -857,11 +889,11 @@ Store your money with us and receive it in your bank as a monthly salary.''':
"Cancel Trip": "إلغاء الرحلة",
"Passenger Cancel Trip": "الرحلة ألغيت من قبل المسافر",
"Please stay on the picked point.": "يرجى البقاء على النقطة المحددة.",
"Trip is Begin": "الرحلة بدأت",
"Hi ,I will go now": "مرحبًا، سأذهب الآن",
"Passenger come to you": "الراكب يأتي إليك",
"Hi ,I Arrive your site": "مرحبًا، لقد وصلت إلى موقعك.",
"Driver Finish Trip": "انتهاء الرحلة للسائق",
"you will pay to Driver": "سوف تدفع للسائق",
"Driver Cancel Your Trip": "ألغِ رحلتك، سائق.",
"you will pay to Driver you will be pay the cost of driver time look to your SEFER Wallet":