This commit is contained in:
Hamza Aleghwairyeen
2024-04-12 17:37:35 +03:00
parent 59a7af65d7
commit d0273d47d4
2 changed files with 5 additions and 8 deletions

View File

@@ -434,7 +434,7 @@ class MyTranslation extends Translations {
'Enter your Question here': "أدخل سؤالك هنا", 'Enter your Question here': "أدخل سؤالك هنا",
'Question': "السؤال", 'Question': "السؤال",
'Your trip cost is': 'تبلغ تكلفة رحلتك', 'Your trip cost is': 'تبلغ تكلفة رحلتك',
'But you have a negative balance of': 'ولكن لديك رصيد سلبي قدره', 'you have a negative balance of': 'ولكن لديك رصيد سلبي قدره',
' in your': 'في محفظتك', ' in your': 'في محفظتك',
' wallet due to a previous trip.': 'بسبب رحلة سابقة', ' wallet due to a previous trip.': 'بسبب رحلة سابقة',
'Submit Question': "طرح السؤال", 'Submit Question': "طرح السؤال",

View File

@@ -402,13 +402,12 @@ class Burc extends StatelessWidget {
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 8), padding: const EdgeInsets.symmetric(horizontal: 8),
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [ children: [
IconButton( IconButton(
onPressed: () async => await Get.find< onPressed: () async => await Get.find<
TextToSpeechController>() TextToSpeechController>()
.speakText('Your trip cost is'.tr + .speakText('you have a negative balance of'
' ${mapPassengerController.totalCostPassenger.toStringAsFixed(2)} '
'But you have a negative balance of'
.tr + .tr +
'${passengerWallet.toStringAsFixed(2)}' '${passengerWallet.toStringAsFixed(2)}'
' in your' ' in your'
@@ -418,16 +417,14 @@ class Burc extends StatelessWidget {
.tr), .tr),
icon: const Icon(Icons.headphones)), icon: const Icon(Icons.headphones)),
Text( Text(
'Your trip cost is'.tr + 'you have a negative balance of'.tr +
' ${mapPassengerController.totalCostPassenger.toStringAsFixed(2)} '
'But you have a negative balance of'
.tr +
'${passengerWallet.toStringAsFixed(2)}' '${passengerWallet.toStringAsFixed(2)}'
' in your' ' in your'
.tr + .tr +
' ${AppInformation.appName}' ' ${AppInformation.appName}'
' wallet due to a previous trip.' ' wallet due to a previous trip.'
.tr, .tr,
textAlign: TextAlign.center,
style: AppStyle.subtitle, style: AppStyle.subtitle,
), ),
], ],