From 91f38203f2e6281247f1029874af2147d7ebf3c6 Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Sun, 19 Apr 2026 20:59:28 +0300 Subject: [PATCH] Updates --- assets/langs/ar-SA.json | 11 ++++++----- assets/langs/en-US.json | 7 ++++--- lib/core/api_consts.dart | 2 +- lib/generated/locale_keys.g.dart | 12 ++++++++++++ .../prescription_ai_analysis_detailed_page.dart | 3 ++- .../prescriptions/prescription_detail_page.dart | 2 +- 6 files changed, 26 insertions(+), 11 deletions(-) diff --git a/assets/langs/ar-SA.json b/assets/langs/ar-SA.json index d079001a..33e7f2f6 100644 --- a/assets/langs/ar-SA.json +++ b/assets/langs/ar-SA.json @@ -1152,7 +1152,7 @@ "areYouSureYouWantToCallAmbulance": "هل تود تأكيد طلب سيارة الإسعاف؟", "getDetailsOfNearestBranch": "الحصول على تفاصيل أقرب مركز طوارئ والاتجاهات إليه", "areYouSureYouWantToCallRRT": "هل تريد استدعاء فريق الاستجابة السريعة؟", - "priorERCheckInToSkipLine": "سجّل وصولك قبل الحضور إلى قسم الطوارئ لتخطي الانتظار وتسهيل إجراءات الدفع.", + "priorERCheckInToSkipLine": "سجّل وصولك قبل الحضور إلى قسم الطوارئ لتفادي الانتظار وتسهيل إجراءات الدفع.", "areYouSureYouWantToMakeERCheckIn": "هل تريد إجراء تسجيل وصول الطوارئ؟", "checkingYourERAppointmentStatus": "يرجى الانتظار…", "transportOptions": "خيارات النقل", @@ -1682,8 +1682,8 @@ "liveChatServiceDescription": "هل تحتاج إلى مساعدة؟ تتيح لك خدمة الدردشة المباشرة لدينا التواصل مع فريق دعم الخبراء للإجابة على أي أسئلة لديك حول الميزات أو الإعدادات أو استكشاف الأخطاء وإصلاحها.", "emergencyServiceHeader": "تسجيل الوصول إلى قسم الطوارئ، أسرع من أي وقت مضى. اتصل بالإسعاف / فريق الاستجابة السريعة على الفور", "emergencyServiceDescription": "هل تواجه حالة طبية طارئة؟ سيارات الإسعاف وفرق الاستجابة السريعة لدينا جاهزة على مدار الساعة. بالإضافة إلى ذلك، يمكنك تسجيل دخولك إلى قسم الطوارئ بسرعة لتلقي رعاية أسرع.", - "homeHealthCareServiceHeader": "صحتك، في أبهى صورها. رعاية فائقة الجودة، تصلك إلى عتبة دارك.", - "homeHealthCareServiceDescription": "نقدم لكم رعاية صحية عالية الجودة تصلكم إلى عتبة منزلكم. ممرضات ذوات خبرةممرضات ذوات خبرة يقدمون لكم الرعاية اللازمة.", + "homeHealthCareServiceHeader": "صحتك أولويتنا… رعاية طبية متكاملة تصلك إلى منزلك.", + "homeHealthCareServiceDescription": "فريق مؤهل يقدّم لك خدمة بجودة عالية.", "profileOnlyText": "الملف الشخصي", "information": "معلومات الطبيب", "noFavouriteDoctors": "ليس لديك أي قائمة مفضلة حتى الآن", @@ -1826,7 +1826,7 @@ "selectFamilyFile": "اختيار ", "ancillaryOrdersListNew": "طلبات غير مكتملة", "medicalReportNew": "التقارير الطبية", - "livecarePendingReuqestNew": "انتظار الطبيب" + "livecarePendingReuqestNew": "انتظار الطبيب", "medicinesAnalysis": "تحليل الأدوية", "importantWarnings": "تحذيرات مهمة", "medicineInteractions": "تفاعلات الأدوية", @@ -1837,5 +1837,6 @@ "storage": "التخزين", "aiDisclaimerPrescription": "سيتم مشاركة بيانات نتائج الوصفات الطبية الخاصة بك بشكل آمن مع محلل الذكاء الاصطناعي لدينا لتحليلها. يساعد هذا في توفير رؤى صحية مخصصة. هل ترغب في المتابعة؟", "generateAiAnalysisPrescription": "تحليل الذكاء الاصطناعي", - "loadingAIAnalysisPrescription": "ٍتحليل الوصفات الطبية بواسطة الذكاء الاصطناعي، يرجى الانتظار..." + "loadingAIAnalysisPrescription": "ٍتحليل الوصفات الطبية بواسطة الذكاء الاصطناعي، يرجى الانتظار...", + "thisAboveInfoPrescription": "تم تحليل الوصفة الطبية هذه بواسطة الذكاء الاصطناعي، وهي لا تُعدّ نصيحة طبية. استشر طبيبك المختص للتشخيص والعلاج." } diff --git a/assets/langs/en-US.json b/assets/langs/en-US.json index 4eb3df8e..06cec111 100644 --- a/assets/langs/en-US.json +++ b/assets/langs/en-US.json @@ -1816,7 +1816,7 @@ "selectFamilyFile": "Select", "ancillaryOrdersListNew": "Ancillary Orders List", "medicalReportNew": "Medical Report", - "livecarePendingReuqestNew": "Live Care Pending Request" + "livecarePendingReuqestNew": "Live Care Pending Request", "medicinesAnalysis": "Medicines Analysis", "importantWarnings": "Important Warnings", "medicineInteractions": "Medicine Interactions", @@ -1826,8 +1826,9 @@ "seriousWarnings": "Serious Warnings", "storage": "Storage", "aiDisclaimerPrescription": "Your prescription data will be securely shared with our AI Analyzer for analysis. This helps provide personalized health insights. Do you want to proceed?", - "generateAiAnalysisPrescription": "Generate AI analysis for this prescription", - "loadingAIAnalysisPrescription": "Analysing your prescription, let the AI do the magic, This might take some time." + "generateAiAnalysisPrescription": "Generate AI analysis", + "loadingAIAnalysisPrescription": "Analysing your prescription, let the AI do the magic, This might take some time.", + "thisAboveInfoPrescription": "This prescription was analyzed by AI, and it is not medical advice. Consult your healthcare provider for diagnosis and treatment." } diff --git a/lib/core/api_consts.dart b/lib/core/api_consts.dart index b8213492..29c690e1 100644 --- a/lib/core/api_consts.dart +++ b/lib/core/api_consts.dart @@ -4,7 +4,7 @@ import 'package:hmg_patient_app_new/core/enums.dart'; class ApiConsts { static const maxSmallScreen = 660; - static AppEnvironmentTypeEnum appEnvironmentType = AppEnvironmentTypeEnum.uat; + static AppEnvironmentTypeEnum appEnvironmentType = AppEnvironmentTypeEnum.prod; // static String baseUrl = 'https://uat.hmgwebservices.com/'; // HIS API URL UAT diff --git a/lib/generated/locale_keys.g.dart b/lib/generated/locale_keys.g.dart index 05b0bd20..9d7d99fd 100644 --- a/lib/generated/locale_keys.g.dart +++ b/lib/generated/locale_keys.g.dart @@ -1819,5 +1819,17 @@ abstract class LocaleKeys { static const ancillaryOrdersListNew = 'ancillaryOrdersListNew'; static const medicalReportNew = 'medicalReportNew'; static const livecarePendingReuqestNew = 'livecarePendingReuqestNew'; + static const medicinesAnalysis = 'medicinesAnalysis'; + static const importantWarnings = 'importantWarnings'; + static const medicineInteractions = 'medicineInteractions'; + static const followUpNeeded = 'followUpNeeded'; + static const benefit = 'benefit'; + static const commonSideEffects = 'commonSideEffects'; + static const seriousWarnings = 'seriousWarnings'; + static const storage = 'storage'; + static const aiDisclaimerPrescription = 'aiDisclaimerPrescription'; + static const generateAiAnalysisPrescription = 'generateAiAnalysisPrescription'; + static const loadingAIAnalysisPrescription = 'loadingAIAnalysisPrescription'; + static const thisAboveInfoPrescription = 'thisAboveInfoPrescription'; } diff --git a/lib/presentation/prescriptions/prescription_ai_analysis_detailed_page.dart b/lib/presentation/prescriptions/prescription_ai_analysis_detailed_page.dart index 08ab0e27..4556e300 100644 --- a/lib/presentation/prescriptions/prescription_ai_analysis_detailed_page.dart +++ b/lib/presentation/prescriptions/prescription_ai_analysis_detailed_page.dart @@ -212,7 +212,7 @@ class _PrescriptionAiAnalysisDetailedPageState extends State { prescriptionsViewModel.getPrescriptionAiAnalysis( prescriptions: prescriptionsViewModel.prescriptionDetailsList, langId: getIt.get().getLanguageID(), - loadingText: LocaleKeys.loadingAIAnalysis.tr(context: context), + loadingText: LocaleKeys.loadingAIAnalysisPrescription.tr(context: context), onNavigate: (data) { // Navigate to prescription AI analysis detailed page Navigator.push( -- 2.30.2