Localization & rad error fix

pull/274/head
aamir-csol 5 hours ago
parent 42f4333a28
commit 2d61535a59

@ -80,8 +80,8 @@
"changePayment": "تغيير طريقة الدفع",
"upcomingNoAction": "لا يتطلب أي إجراء",
"upcomingConfirm": "يرجى تأكيد الموعد لتجنب الإلغاء",
"bookSuccessConfirmMore2412": "ستكون عملية الدفع عبر الإنترنت متاحة قبل 24 ساعة من الموعد.",
"upcomingPaymentPending": "سيتم تفعيل الدفع عبر الإنترنت قبل 24 ساعة من وقت الموعد",
"bookSuccessConfirmMore2412": "ستكون عملية الدفع متاحة قبل 24 ساعة من الموعد.",
"upcomingPaymentPending": "سيتم تفعيل الدفع قبل 24 ساعة من وقت الموعد",
"upcomingPaymentNow": "الدفع الإلكتروني لتجنب الانتظار",
"timeUntilAppointment": "الوقت المتبقي حتى الموعد",
"appointmentTimePassed": "انتهى وقت الموعد",
@ -178,7 +178,7 @@
"arrived": " تم الوصول",
"payNowBookSuccess": "ادفع الآن عبر تطبيق الحبيب",
"payNowBookSuccesstext1": "ادفع الآن باستخدام خدمة الدفع عبر الإنترنت من بوابات الدفع الآمنة",
"payNowBookSuccesstext2": "يمكنك أيضًا الدفع لاحقًا عبر الدفع الإلكت§روني أو في المستشفى.",
"payNowBookSuccesstext2": "يمكنك أيضًا الدفع لاحقًا عبر الدفع الإلكتروني أو في المستشفى.",
"payLater": "ادفع لاحقًا",
"askDocNotAllowed": "هذه الخدمة ستكون متاحة فقط لزيارة الطبيب قبل 15 يومًا",
"moreVerify": "خيارات تحقق إضافية",
@ -1406,16 +1406,16 @@
"weightSymptoms": "ما هو وزنك؟",
"femaleGender": "أنثى",
"previous": "سابق",
"selectedOrgans": "الهيئات المختارة",
"selectedOrgans": "موضع الالم",
"noOrgansSelected": "لم يتم تحديد أي أعضاء بعد",
"organSelector": "حدد موقع الألم",
"organSelector": "حدد موضع الألم",
"noPredictionsAvailable": "لا توجد تنبؤات متاحة",
"areYouSureYouWantToRestartOrganSelection": "هل تريد الخروج؟",
"possibleConditions": "الحالات المحتملة",
"pleaseSelectAtLeastOneRiskBeforeProceeding": "يرجى اختيار عامل خطر واحد على الأقل قبل المتابعة",
"aboveYouSeeCommonRiskFactors": "أعلاه ترى عوامل الخطر الأكثر شيوعًا. على الرغم من أن /diagnosis قد تعيد أسئلة حول عوامل الخطر، ",
"aboveYouSeeCommonRiskFactors": "في الأعلى تظهر أكثر العوامل شيوعًا، وقد يتضمن التقييم أسئلة عنها",
"readMore": "اقرأ المزيد",
"riskFactors": "عوامل الخطر",
"riskFactors": "عوامل يجب الانتباه لها",
"noRiskFactorsFound": "لم يتم العثور على عوامل خطر",
"basedOnYourSelectedSymptomsNoRiskFactors": "بناءً على الأعراض المحددة، لم يتم تحديد عوامل خطر إضافية.",
"messageNotification": "الرسالة",
@ -1442,7 +1442,7 @@
"emergencyEvidenceDetected": "تم اكتشاف دليل طوارئ. يرجى طلب العناية الطبية.",
"noQuestionItemsAvailable": "لا توجد عناصر أسئلة متاحة",
"pleaseAnswerAllQuestionsBeforeProceeding": "يرجى الإجابة على جميع الأسئلة قبل المتابعة",
"triage": "الفرز",
"triage": "فرز الحالة",
"areYouSureYouWantToExitProgress": "هل تود الخروج؟ ستفقد تقدمك الحالي.",
"noQuestionAvailable": "لا يوجد سؤال متاح",
"possibleSymptom": "تشخيص محتمل",
@ -1622,7 +1622,7 @@
"noFreeSlot": "لا توجد مواعيد متاحة في التاريخ المحدد. يرجى اختيار تاريخ آخر أو إعادة المحاولة لاحقاً.",
"noThanksIKnowTheClinic": "لا، شكراً",
"unableToSendOTP": "تعذر إرسال رمز التحقق لمرة واحدة",
"loadingAIAnalysis": "جارٍ تحليل النتائج بواسطة الذكاء الاصطناعي، يرجى الانتظار...",
"loadingAIAnalysis": "ٍتحليل النتائج بواسطة الذكاء الاصطناعي، يرجى الانتظار...",
"symptoms": "مدقق الاعراض",
"insuranceInActive": "التأمين غير نشط",
"insuranceInActiveContactSupport": "لديك تأمين ساري المفعول، ولكنه غير مُفعّل حاليًا في مجموعة حبيب الطبية. يُرجى التواصل مع خدمة عملاء مجموعة حبيب الطبية.",
@ -1808,5 +1808,7 @@
"followUsOnX": "تابعنا على X",
"likeUsOnFB": "سجل إعجابك بنا على فيسبوك",
"watchUsOnYoutube": "شاهدنا على إنستغرام",
"connectOnLinkedin": "تواصل معنا على لينكد إن"
"connectOnLinkedin": "تواصل معنا على لينكد إن",
"riskFactorPageTitle": "اعراض تشعر بها",
"symptomsCheckSuggestions": "الاحتمالات"
}

@ -68,7 +68,7 @@
"appoActions": "Appointment Actions",
"date": "Date",
"time": "Time",
"pendingPayment": "Pending for payment",
"pendingPayment": "Payment",
"payNow": "Payment",
"viewQR": "View QR Code",
"instruction": "Instructions",
@ -1403,7 +1403,7 @@
"areYouSureYouWantToRestartOrganSelection": "Are you sure you want to restart the organ selection?",
"possibleConditions": "Possible Conditions",
"pleaseSelectAtLeastOneRiskBeforeProceeding": "Please select at least one risk before proceeding",
"aboveYouSeeCommonRiskFactors": "Above you see the most common risk factors. Although /diagnosis may return questions about risk factors, ",
"aboveYouSeeCommonRiskFactors": "Above you see the most common risk factors. Although /diagnosis may return questions about risk factors",
"readMore": "Read more",
"riskFactors": "Risk Factors",
"noRiskFactorsFound": "No risk factors found",
@ -1614,7 +1614,7 @@
"contextDependent": "Context Dependent",
"calculatedValue": "Calculated Value",
"calculationFormula": "Calculation Formula",
"loadingAIAnalysis": "Analysing your results, Please be patient and let the AI do the magic, This might take some time.",
"loadingAIAnalysis": "Analysing your results, let the AI do the magic, This might take some time.",
"symptoms": "Symptoms",
"insuranceInActive": "Insurance Inactive",
"insuranceInActiveContactSupport": "You have a valid insurance but it is currently inactive in HMG. Please contact HMG customer support to activate it.",
@ -1799,7 +1799,8 @@
"likeUsOnFB": "Like us on Facebook",
"watchUsOnYoutube": "Watch us on Instagram",
"connectOnLinkedin": "Connect on LinkedIn",
"riskFactorPageTitle": "What do you feel?",
"symptomsCheckSuggestions": "Suggestions"
}

@ -1801,5 +1801,7 @@ abstract class LocaleKeys {
static const likeUsOnFB = 'likeUsOnFB';
static const watchUsOnYoutube = 'watchUsOnYoutube';
static const connectOnLinkedin = 'connectOnLinkedin';
static const riskFactorPageTitle = 'riskFactorPageTitle';
static const symptomsCheckSuggestions = 'symptomsCheckSuggestions';
}

@ -263,7 +263,7 @@ class PossibleConditionsPage extends StatelessWidget {
}
initiateBookAppointmentFlow(BuildContext context) {
bookAppointmentsViewModel.getLocation();
// bookAppointmentsViewModel.getLocation();
bookAppointmentsViewModel.setSelectedClinic(GetClinicsListResponseModel(
clinicID: symptomsCheckerViewModel.clinicDetailsList.first.clinicID,
clinicDescription: symptomsCheckerViewModel.clinicDetailsList.first.category,
@ -395,6 +395,7 @@ class PossibleConditionsPage extends StatelessWidget {
}
}
}
bookAppointmentsViewModel.addListener(listener);
bookAppointmentsViewModel.getRegionMappedProjectList();
}

@ -131,19 +131,19 @@ class _RiskFactorsScreenState extends State<RiskFactorsScreen> {
TextSpan(
text: LocaleKeys.aboveYouSeeCommonRiskFactors.tr(context: context),
),
TextSpan(
text: LocaleKeys.readMore.tr(context: context),
style: TextStyle(
color: AppColors.primaryRedColor,
fontWeight: FontWeight.w600,
),
recognizer: TapGestureRecognizer()
..onTap = () {
// handle tap - navigate or show bottom sheet
debugPrint('Read more tapped');
// Example: Navigator.push(context, MaterialPageRoute(builder: (_) => RiskFactorsDetailScreen()));
},
),
// TextSpan(
// text: LocaleKeys.readMore.tr(context: context),
// style: TextStyle(
// color: AppColors.primaryRedColor,
// fontWeight: FontWeight.w600,
// ),
// recognizer: TapGestureRecognizer()
// ..onTap = () {
// // // handle tap - navigate or show bottom sheet
// // debugPrint('Read more tapped');
// // Navigator.push(context, MaterialPageRoute(builder: (_) => RiskFactorsDetailScreen()));
// },
// ),
],
),
),
@ -223,7 +223,7 @@ class _RiskFactorsScreenState extends State<RiskFactorsScreen> {
children: [
Expanded(
child: CollapsingListView(
title: LocaleKeys.riskFactors.tr(context: context),
title: LocaleKeys.riskFactorPageTitle.tr(context: context),
leadingCallback: () => context.pop(),
child: viewModel.isRiskFactorsLoading
? _buildLoadingShimmer()

@ -199,7 +199,7 @@ class _SuggestionsScreenState extends State<SuggestionsScreen> {
children: [
Expanded(
child: CollapsingListView(
title: LocaleKeys.suggestions.tr() ,
title: LocaleKeys.symptomsCheckSuggestions.tr() ,
leadingCallback: () => context.pop(),
child: viewModel.isSuggestionsLoading
? _buildLoadingShimmer()

@ -466,16 +466,20 @@ class _TriagePageState extends State<TriagePage> {
children: [
RichText(
text: TextSpan(
text: LocaleKeys.possibleSymptom.tr(context: context),
text: "${LocaleKeys.possibleSymptom.tr(context: context)} ",
style: TextStyle(
color: AppColors.greyTextColor, fontWeight: FontWeight.w600, fontSize: 14.f, fontFamily: isArabic ? 'CairoArabic' : 'Poppins'),
children: [
TextSpan(
text: suggestedCondition,
style: TextStyle(
color: AppColors.textColor,
fontWeight: FontWeight.w600,
fontSize: 14.f, fontFamily: isArabic ? 'CairoArabic' : 'Poppins'),
),
],
),

Loading…
Cancel
Save