diff --git a/assets/langs/ar-SA.json b/assets/langs/ar-SA.json index f350b9b9..5043bb9f 100644 --- a/assets/langs/ar-SA.json +++ b/assets/langs/ar-SA.json @@ -1443,7 +1443,7 @@ "pleaseSelectAtLeastOneOptionBeforeProceeding": "يرجى اختيار خيار واحد على الأقل قبل المتابعة", "suggestions": "التوصيات", "pleaseGoBackAndSelectOrgansFirst": "يرجى العودة واختيار الأعضاء أولاً", - "symptomsSelector": "محدد الأعراض", + "symptomsSelector": "محدد الأعراض", "possibleSymptomsRelatedTo": "الأعراض المحتملة المتعلقة بأعضاء محددة", "suggestionAIListDescription": "هذه قائمة بالأعراض المقترحة من قبل الذكاء الاصطناعي، بناءً على المعلومات التي تم جمعها حتى الآن خلال المقابلة", "whyAmIBeingAskedThis": "لماذا يُطرح علي هذا السؤال؟", @@ -1926,6 +1926,10 @@ "refundReason6": "تم إلغاء الإجراء السريري أو تغييره من قِبل الطبيب المحيل", "refundReason7": "تم إلغاء إجراء وحدة الخدمة / المختبر / الأشعة أو تغييره من قِبل الطبيب المحيل", "selectProcedures": "اختر العمليات", + "beforeUsingSymptomsChecker": "قبل استخدام فاحص الأعراض، يرجى قراءة شروط الخدمة وتذكر:", + "symptomsCheckerNotDiagnosis": "• فاحص الأعراض ليس تشخيصًا. إنه للمعلومات الخاصة بك فقط وليس رأيًا طبيًا مؤهلاً.", + "symptomsCheckerNotEmergency": "• فاحص الأعراض ليس للطوارئ. اتصل برقم الطوارئ المحلي فورًا عند وجود حالة طوارئ صحية.", + "yourDataIsSafe": "• بياناتك آمنة. تضمن تدابير الخصوصية حماية المعلومات التي تشاركها.", "submitEReferral": "تقديم الطلب", "redeem": "استبدال", "points": "نقاط", diff --git a/assets/langs/en-US.json b/assets/langs/en-US.json index 83e93b3f..1ba17723 100644 --- a/assets/langs/en-US.json +++ b/assets/langs/en-US.json @@ -1918,6 +1918,10 @@ "refundReason6": "Clinical procedure cancelled or changed by requesting doctor", "refundReason7": "Service unit/lab/radiology procedure cancelled or changed by requesting doctor", "selectProcedures": "Select Procedures", + "beforeUsingSymptomsChecker": "Before using the Symptoms Checker, please read the Terms of Service and remember:", + "symptomsCheckerNotDiagnosis": "• Symptoms Checker isn't a diagnosis. It's only for your information and not a qualified medical opinion.", + "symptomsCheckerNotEmergency": "• Symptoms Checker isn't for emergencies. Call your local emergency number right away when there's a health emergency.", + "yourDataIsSafe": "• Your data is safe. Privacy measures ensure the information you share is protected.", "redeem": "Redeem", "points": "Points", "transactions": "Transactions", diff --git a/lib/generated/locale_keys.g.dart b/lib/generated/locale_keys.g.dart index 0e6de0af..b3bd8d1f 100644 --- a/lib/generated/locale_keys.g.dart +++ b/lib/generated/locale_keys.g.dart @@ -1899,6 +1899,10 @@ abstract class LocaleKeys { static const noProceduresAvailableForRefund = 'noProceduresAvailableForRefund'; static const selectAll = 'selectAll'; static const selectRefundMethod = 'selectRefundMethod'; + static const beforeUsingSymptomsChecker = 'beforeUsingSymptomsChecker'; + static const symptomsCheckerNotDiagnosis = 'symptomsCheckerNotDiagnosis'; + static const symptomsCheckerNotEmergency = 'symptomsCheckerNotEmergency'; + static const yourDataIsSafe = 'yourDataIsSafe'; static const hmgWallet = 'hmgWallet'; static const bankTransfer = 'bankTransfer'; static const selectRefundReason = 'selectRefundReason'; diff --git a/lib/presentation/symptoms_checker/user_consent_screen.dart b/lib/presentation/symptoms_checker/user_consent_screen.dart index 8d153de7..3e046af5 100644 --- a/lib/presentation/symptoms_checker/user_consent_screen.dart +++ b/lib/presentation/symptoms_checker/user_consent_screen.dart @@ -16,11 +16,6 @@ import 'package:hmg_patient_app_new/widgets/buttons/custom_button.dart'; import 'package:hmg_patient_app_new/widgets/loader/bottomsheet_loader.dart'; import 'package:provider/provider.dart'; -// Before using the checkup, please read the Terms of Service and remember: -// -// Checkup isn't a diagnosis. It's only for your information and not a qualified medical opinion. -// Checkup isn't for emergencies. Call your local emergency number right away when there's a health emergency. -// Your data is safe. Privacy measures ensure the information you share is protected. class UserConsentScreen extends StatefulWidget { const UserConsentScreen({super.key}); @@ -87,14 +82,14 @@ class _UserConsentScreenState extends State { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - "Before using the checkup, please read the Terms of Service and remember:".toText14(), - SizedBox(height: 44.h), - "• Checkup isn't a diagnosis. It's only for your information and not a qualified medical opinion.".toText14(), + LocaleKeys.beforeUsingSymptomsChecker.tr(context: context).toText14(), + SizedBox(height: 30.h), + LocaleKeys.symptomsCheckerNotDiagnosis.tr(context: context).toText14(), SizedBox(height: 12.h), - "• Checkup isn't for emergencies. Call your local emergency number right away when there's a health emergency.".toText14(), + LocaleKeys.symptomsCheckerNotEmergency.tr(context: context).toText14(), SizedBox(height: 12.h), - "• Your data is safe. Privacy measures ensure the information you share is protected.".toText14(), - SizedBox(height: 24.h), + LocaleKeys.yourDataIsSafe.tr(context: context).toText14(), + SizedBox(height: 30.h), GestureDetector( onTap: _onTermsAndConditionsAgreed, child: Container( @@ -142,7 +137,7 @@ class _UserConsentScreenState extends State { style: TextStyle( fontSize: 16.f, fontFamily: getIt.get().isArabic() ? 'CairoArabic' : 'Poppins', - fontWeight: FontWeight.w500, + fontWeight: FontWeight.w600, color: AppColors.primaryRedColor, decoration: TextDecoration.underline, decorationColor: AppColors.primaryRedColor, @@ -208,8 +203,9 @@ class _UserConsentScreenState extends State { style: TextStyle( fontSize: 16.f, fontFamily: getIt.get().isArabic() ? 'CairoArabic' : 'Poppins', - fontWeight: FontWeight.w500, + fontWeight: FontWeight.w600, color: AppColors.primaryRedColor, + decoration: TextDecoration.underline, decorationColor: AppColors.primaryRedColor, ), ),