{
    "ar": {
        "app_title": "المنصة الطبية العراقية المدمجة",
        "page_title_dashboard": "لوحة التحكم الرئيسية - المنصة الطبية العراقية المدمجة",
        "cancel": "إلغاء",
        "demo_no_data": "لا توجد بيانات",
        "confirm_delete": "هل أنت متأكد من حذف هذا العنصر؟",
        "no_connection": "الخادم غير متاح. يرجى المحاولة لاحقاً. · Server unavailable. Please try again later.",
        "server_unavailable": "الخادم غير متاح · Server unavailable",
        "notifications_title": "الإشعارات",
        "profile_menu": "الملف الشخصي",
        "notif_drug_pending": "📋 طلب دواء جديد بانتظار المصادقة",
        "notif_facility_registered": "🏥 منشأة جديدة مسجلة",
        "notif_payment_matched": "💳 دفعة جديدة متطابقة",
        "inactive": "غير نشط",
        "pending": "قيد الانتظار",
        "hospitals": "مستشفيات",
        "verifying": "جاري التحقق...",
        "busy_executing": "جاري التنفيذ…",
        "busy_executing_sub": "يرجى الانتظار حتى انتهاء العملية",
        "nav_dashboard": "نظرة عامة",
        "nav_desktop": "سطح المكتب",
        "nav_group_platform": "إدارة المنصة",
        "nav_group_finance": "المالية والفواتير",
        "nav_group_support": "الدعم والتذاكر",
        "nav_group_settings": "المنصة والإعدادات",
        "nav_tenants": "الزبائن",
        "nav_drugs": "قائمة الأدوية الموحدة",
        "drugs_tab_list": "القائمة",
        "drugs_list_main": "القائمة الرئيسية",
        "drugs_list_waiting": "قائمة الانتظار",
        "drugs_list_toggle_hint": "الرئيسية: الأدوية المعتمدة. الانتظار: بانتظار المراجعة أو مرفوضة.",
        "nav_patients": "سجل المرضى الموحد",
        "nav_diseases": "قائمة الأمراض الموحدة",
        "diseases_page_desc": "قاعدة مشتركة للأمراض حسب التخصص — تُستخدم في cabinets médicaux",
        "disease_icd_code": "رمز CIM",
        "disease_name_ar": "اسم المرض (ع)",
        "disease_name_en": "اسم المرض (en)",
        "disease_specialty": "التخصص",
        "disease_synonyms_ar": "مرادفات (ع)",
        "disease_synonyms_en": "مرادفات (en)",
        "disease_add": "إضافة مرض",
        "disease_edit": "تعديل مرض",
        "diseases_all_specialties": "كل التخصصات",
        "diseases_import": "استيراد CSV / Excel",
        "diseases_export": "تصدير CSV / Excel",
        "diseases_import_title": "استيراد قائمة الأمراض",
        "diseases_import_hint": "ارفع ملف CSV أو Excel ثم اربط كل عمود في القاعدة بعمود الملف.",
        "diseases_import_upload": "اسحب الملف هنا أو انقر للاختيار (.csv / .xlsx / .xls)",
        "diseases_import_file_types": "صيغة غير مدعومة. استخدم CSV أو Excel (.xlsx / .xls).",
        "diseases_import_map_title": "مطابقة الأعمدة",
        "diseases_import_map_hint": "لكل حقل في القاعدة اختر عمود الملف المقابل. الحقول بعلامة * إلزامية.",
        "diseases_import_db_col": "عمود القاعدة",
        "diseases_import_file_col": "عمود الملف",
        "diseases_import_sample": "عيّنة",
        "diseases_import_skip": "— تجاهل —",
        "diseases_import_col_id": "المعرّف",
        "diseases_import_col_sort": "الترتيب",
        "diseases_import_on_duplicate": "عند وجود المرض مسبقاً",
        "diseases_import_dup_update": "تحديث السجل الحالي (رمز CIM أو الاسم + التخصص)",
        "diseases_import_dup_skip": "تخطي الصفوف الموجودة",
        "diseases_import_preview": "معاينة بدون حفظ",
        "diseases_import_submit": "استيراد",
        "diseases_import_need_map": "اربط على الأقل اسم المرض (ع) والتخصص.",
        "diseases_import_rows_ready": "{{count}} صف جاهز للمطابقة",
        "diseases_import_preview_summary": "معاينة: {{created}} جديد، {{updated}} تحديث، {{skipped}} تخطي، {{errors}} خطأ — من {{total}} صف.",
        "diseases_import_success": "تم الاستيراد: {{created}} جديد، {{updated}} تحديث، {{skipped}} تخطي، {{errors}} خطأ — من {{total}} صف.",
        "diseases_import_errors_title": "أخطاء الصفوف",
        "diseases_import_error_col": "الرسالة",
        "diseases_export_hint": "تصدير كل الأمراض مع أعمدة القاعدة (لإعادة الاستيراد لاحقاً).",
        "diseases_export_csv": "تنزيل CSV",
        "diseases_export_xlsx": "تنزيل Excel",
        "column_map_required": "يجب مطابقة اسم المرض والتخصص.",
        "xls_legacy_not_supported": "تعذر قراءة ملف Excel القديم. أعد حفظه بصيغة .xlsx.",
        "too_many_rows": "عدد الصفوف أكبر من الحد المسموح.",
        "nav_registration_intents": "طلبات التسجيل",
        "nav_onboarding": "تطبيقاتي",
        "nav_subscriptions": "الاشتراكات والدفع",
        "nav_plans": "الباقات والأسعار",
        "nav_payments": "المدفوعات",
        "nav_accounting": "المحاسبة والمالية",
        "nav_support": "الدعم الفني والمهام",
        "nav_ads": "الاعلانات والاشعارات",
        "nav_client_support": "الدعم المباشر",
        "platform_users_title": "المستخدمون والأدوار",
        "nav_email_templates": "قوالب البريد الإلكتروني",
        "nav_user_guide": "دليل الاستخدام",
        "nav_settings": "إعدادات المنصة",
        "nav_audit": "سجل التدقيق",
        "nav_translations": "إدارة الترجمات",
        "nav_press": "المراقبة",
        "logout": "تسجيل الخروج",
        "back_to_top": "العودة إلى الأعلى",
        "login_page_title": "تسجيل الدخول - المنصة الطبية العراقية المدمجة",
        "login_subtitle": "لوحة التحكم الرئيسية (MIP Main)",
        "username_label": "اسم المستخدم",
        "password_label": "كلمة المرور",
        "username_placeholder": "أدخل اسم المستخدم",
        "password_placeholder": "أدخل كلمة المرور",
        "username_required": "الرجاء إدخال اسم المستخدم",
        "password_required": "الرجاء إدخال كلمة المرور",
        "error_login_invalid": "اسم المستخدم أو كلمة المرور غير صحيحة",
        "error_login_connection": "خطأ في الاتصال بالخادم. تحقق من api_base_url في config.json",
        "error_server_config": "خطأ في إعدادات الخادم.",
        "env_check_ok": "الاتصال بالخادم سليم ✓",
        "env_check_loading": "جاري التحقق من الاتصال بالخادم...",
        "env_check_failed": "فشل التحقق من الاتصال",
        "env_check_title": "⚠️ مشكلة في البيئة",
        "error_login_required": "اسم المستخدم وكلمة المرور مطلوبان",
        "remember_me": "تذكرني",
        "forgot_password": "نسيت كلمة المرور؟",
        "forgot_password_msg": "أدخل بريدك الإلكتروني لإرسال رابط إعادة التعيين.",
        "login_btn": "تسجيل الدخول",
        "register_link": "تسجيل منشأة جديدة",
        "login_or": "أو",
        "login_2fa_intro": "أدخل رمز التحقق المرسل إلى حسابك لإكمال تسجيل الدخول.",
        "login_2fa_code_label": "رمز التحقق",
        "login_2fa_verify": "تحقق",
        "login_2fa_resend": "إعادة إرسال الرمز",
        "login_2fa_code_required": "أدخل الرمز المكوّن من 6 أرقام.",
        "login_2fa_invalid": "رمز التحقق غير صحيح.",
        "login_2fa_expired": "انتهت صلاحية الرمز. سجّل الدخول مجدداً.",
        "login_2fa_locked": "تم تجاوز عدد المحاولات. سجّل الدخول مجدداً.",
        "login_2fa_no_contact": "لا يوجد بريد أو هاتف لإرسال رمز التحقق. حدّث بيانات المستخدم.",
        "login_2fa_no_phone": "لا يوجد رقم هاتف لإرسال الرمز عبر SMS.",
        "login_2fa_send_failed": "تعذر إرسال رمز التحقق. تحقق من إعدادات البريد أو SMS.",
        "login_2fa_sms_not_configured": "بوابة SMS غير مهيأة. أضف رابط الإرسال في الإعدادات.",
        "login_2fa_resend_wait": "انتظر قليلاً قبل إعادة الإرسال.",
        "login_2fa_resend_limit": "تم بلوغ حد إعادة الإرسال. سجّل الدخول مجدداً.",
        "login_2fa_dev_code": "رمز التطوير:",
        "user_phone_2fa_hint": "يُستخدم لإرسال رمز الدخول عبر SMS عند تفعيل المصادقة الثنائية.",
        "settings_2fa_title": "المصادقة الثنائية (تسجيل الدخول)",
        "settings_2fa_desc": "بعد كلمة المرور يُرسل رمز إلى البريد أو SMS. عطّل الخيار للدخول المباشر.",
        "settings_2fa_enable": "تفعيل المصادقة الثنائية",
        "settings_2fa_channel": "قناة الإرسال",
        "settings_2fa_channel_email": "البريد الإلكتروني",
        "settings_2fa_channel_sms": "رسالة SMS",
        "settings_2fa_channel_both": "البريد و SMS",
        "settings_sms_url": "رابط بوابة SMS",
        "settings_sms_key": "مفتاح API (SMS)",
        "settings_sms_sender": "اسم المرسل",
        "settings_sms_test": "اختبار SMS",
        "settings_sms_test_phone": "رقم الاختبار",
        "settings_sms_phone_required": "أدخل رقم الهاتف للاختبار.",
        "settings_sms_url_required": "أدخل رابط بوابة SMS.",
        "settings_sms_test_ok": "تم إرسال رسالة الاختبار.",
        "sms_send_failed": "فشل إرسال SMS.",
        "sms_phone_required": "رقم الهاتف مطلوب.",
        "login_footer": "© 2026 المنصة الطبية العراقية المدمجة. جميع الحقوق محفوظة.",
        "loading_data": "جاري تحميل البيانات...",
        "error_loading": "خطأ في تحميل البيانات. تحقق من الاتصال.",
        "license_number_required": "رقم الإجازة / الترخيص إلزامي.",
        "topbar_welcome_title": "مرحباً بك في المنصة الطبية العراقية المدمجة",
        "topbar_welcome_sub": "نظرة عامة على أداء المنصة اليوم",
        "search_placeholder": "بحث سريع عن (منشأة، دواء، مريض)...",
        "admin_name": "مدير النظام",
        "admin_role": "مسؤول عام",
        "desktop_title": "سطح المكتب",
        "desktop_search_placeholder": "ابحث عن تطبيق...",
        "desktop_add_app": "إضافة تطبيق",
        "desktop_manage": "إدارة التطبيقات",
        "footer_tagline": "معاً نحو قطاع صحي ذكي ومتطور في العراق",
        "active": "نشط",
        "approved": "معتمد",
        "needs_review": "تحتاج مراجعة",
        "status_open": "مفتوح",
        "status_closed": "مغلق",
        "in_progress": "قيد المعالجة",
        "payment_status_paid": "مدفوع",
        "dash_kpi_pharmacies": "إجمالي الصيدليات",
        "dash_kpi_facilities": "إجمالي المنشآت المسجلة",
        "dash_kpi_drugs": "إجمالي الأدوية",
        "dash_kpi_open_tickets": "التذاكر المفتوحة",
        "dash_kpi_revenue": "إجمالي الإيرادات",
        "dash_trend_from_last_month": "من الشهر الماضي",
        "dash_currency_iqd": "د.ع",
        "dash_overview_title": "نظرة عامة شاملة",
        "dash_last_7_days": "7 أيام",
        "dash_last_30_days": "30 يوم",
        "dash_last_90_days": "90 يوم",
        "dash_chart_tooltip_day": "اليوم",
        "dash_legend_new_pharmacies": "الصيدليات الجديدة",
        "dash_legend_new_facilities": "منشآت جديدة",
        "dash_legend_new_drugs": "الأدوية الجديدة",
        "dash_legend_tickets": "التذاكر",
        "dash_chart_aria": "مخطط أداء المنصة",
        "dash_system_status": "حالة النظام",
        "dash_active_facilities": "الصيدليات النشطة",
        "dash_active_subscriptions": "الاشتراكات النشطة",
        "dash_total_drugs": "إجمالي الأدوية",
        "dash_open_tickets": "التذاكر المفتوحة",
        "dash_response_rate": "معدل الاستجابة",
        "dash_all_systems_ok": "جميع الأنظمة تعمل بشكل ممتاز",
        "dash_last_updated": "آخر تحديث منذ 5 دقائق",
        "dash_entities_title": "توزيع الجهات المسجلة",
        "dash_widgets_section": "ودجات مخصصة",
        "dash_add_widget": "إضافة ويدجت",
        "dash_add_widget_desc": "أضف مخططاً أو دائرة نسب لمعرفة المنصة",
        "dash_add_widget_aria": "إضافة ويدجت جديد",
        "dash_widget_modal_title": "إضافة ويدجت",
        "dash_widget_type": "النوع",
        "dash_widget_type_line": "مخطط خطي",
        "dash_widget_type_pie": "دائرة نسب",
        "dash_widget_title": "العنوان",
        "dash_widget_source": "مصدر البيانات",
        "dash_widget_period": "الفترة",
        "dash_widget_remove": "حذف الودجت",
        "dash_widget_added": "تمت إضافة الودجت",
        "dash_widget_source_entities": "توزيع الجهات",
        "dash_widget_source_drug_status": "حالة طلبات الأدوية",
        "dash_widget_source_ticket_status": "حالة التذاكر",
        "dash_widget_source_subscriptions": "حالة الاشتراكات",
        "dash_widget_source_facilities_daily": "منشآت جديدة (يومي)",
        "dash_widget_source_drugs_daily": "أدوية جديدة (يومي)",
        "dash_widget_source_tickets_daily": "تذاكر (يومي)",
        "dash_widget_source_payments_daily": "مدفوعات (يومي)",
        "dash_widget_type_bar": "أعمدة",
        "dash_widget_type_kpi": "مؤشر",
        "dash_widget_modal_lead": "اختر مصدر البيانات وخصّص الودجت",
        "dash_widget_title_optional": "عنوان مخصص (اختياري)",
        "dash_widget_title_ph": "اتركه فارغاً للعنوان الافتراضي",
        "dash_widget_other": "أخرى",
        "dash_widget_cancelled": "ملغى",
        "dash_widget_failed": "فاشل",
        "dash_widget_inactive": "غير نشط",
        "dash_widget_suspended": "موقوف",
        "dash_widget_source_subscriptions_daily": "اشتراكات جديدة (يومي)",
        "dash_widget_source_tenants_daily": "مستأجرون جدد (يومي)",
        "dash_widget_source_patients_daily": "مرضى جدد (يومي)",
        "dash_widget_source_payments_count": "عدد المدفوعات (يومي)",
        "dash_widget_source_payment_status": "حالة المدفوعات",
        "dash_widget_source_facility_status": "حالة المنشآت",
        "dash_widget_source_entities_bar": "الجهات (أعمدة)",
        "dash_widget_source_drug_status_bar": "حالة الأدوية (أعمدة)",
        "dash_widget_source_ticket_status_bar": "حالة التذاكر (أعمدة)",
        "dash_widget_source_subscriptions_bar": "حالة الاشتراكات (أعمدة)",
        "dash_widget_source_payment_status_bar": "حالة المدفوعات (أعمدة)",
        "dash_widget_source_facilities_bar": "منشآت جديدة (أعمدة)",
        "dash_widget_source_drugs_bar": "أدوية جديدة (أعمدة)",
        "dash_widget_source_tickets_bar": "تذاكر (أعمدة)",
        "dash_widget_desc_facilities_daily": "تسجيلات المنشآت يومياً",
        "dash_widget_desc_drugs_daily": "طلبات الأدوية يومياً",
        "dash_widget_desc_tickets_daily": "تذاكر الدعم يومياً",
        "dash_widget_desc_subscriptions_daily": "اشتراكات جديدة يومياً",
        "dash_widget_desc_tenants_daily": "مستأجرون مسجلون يومياً",
        "dash_widget_desc_patients_daily": "مرضى مسجلون يومياً",
        "dash_widget_desc_payments_count": "عدد عمليات الدفع",
        "dash_widget_desc_payments_daily": "مبالغ المدفوعات بالدينار",
        "dash_widget_desc_entities": "توزيع الصيدليات والعيادات والمختبرات…",
        "dash_widget_desc_drug_status": "موافق / قيد المراجعة / مرفوض",
        "dash_widget_desc_ticket_status": "مفتوحة / مغلقة",
        "dash_widget_desc_subscriptions": "نشطة / منتهية / معلقة",
        "dash_widget_desc_payment_status": "مدفوعة / معلقة / فاشلة",
        "dash_widget_desc_facility_status": "نشطة / غير نشطة",
        "dash_widget_desc_entities_bar": "عدد كل نوع جهة",
        "dash_widget_desc_kpi_facilities": "إجمالي الجهات المسجلة",
        "dash_widget_desc_kpi_active": "المنشآت النشطة حالياً",
        "dash_widget_desc_kpi_drugs": "إجمالي الأدوية في المنصة",
        "dash_widget_desc_kpi_pending_drugs": "طلبات بانتظار المراجعة",
        "dash_widget_desc_kpi_tickets": "تذاكر الدعم المفتوحة",
        "dash_widget_desc_kpi_revenue": "إجمالي الإيرادات المدفوعة",
        "dash_widget_desc_kpi_subs": "اشتراكات نشطة",
        "dash_widget_desc_kpi_patients": "عدد المرضى المسجلين",
        "dash_widget_desc_kpi_payments": "إجمالي عمليات الدفع",
        "dash_widget_desc_kpi_tenants": "عدد المستأجرين",
        "dash_entity_pharmacies": "صيدليات",
        "dash_entity_stores": "مذاخر وموردون",
        "dash_entity_clinics": "عيادات ومراكز طبية",
        "dash_entity_labs": "مختبرات",
        "dash_entity_imaging": "مراكز أشعة وتصوير",
        "dash_active_pharmacies": "صيدليات نشطة",
        "dash_active_stores": "مذاخر نشطة",
        "dash_active_clinics": "عيادات نشطة",
        "dash_active_labs": "مختبرات نشطة",
        "dash_active_imaging": "مراكز تصوير نشطة",
        "dash_support_recent": "الدعم الفني والتذاكر الحديثة",
        "dash_view_all": "عرض الكل",
        "dash_col_ticket": "التذكرة",
        "dash_col_facility": "الجهة",
        "dash_col_time": "الوقت",
        "dash_col_status": "الحالة",
        "dash_view_all_tickets": "عرض كل التذاكر",
        "dash_drugs_pending": "طلبات الأدوية قيد المراجعة",
        "dash_col_drug": "الدواء",
        "dash_col_company": "الشركة",
        "dash_col_request_date": "تاريخ الطلب",
        "dash_view_all_drug_requests": "عرض جميع الطلبات",
        "dash_expiring_alert": "اشتراك يقترب من الانتهاء خلال 7 أيام",
        "dash_expiring_alert_plural": "اشتراكات تقترب من الانتهاء خلال 7 أيام",
        "dash_view_details": "عرض التفاصيل",
        "facility_type_pharmacies": "صيدليات",
        "facility_type_stores": "مذاخر وموردون",
        "facility_type_clinics": "عيادات",
        "facility_type_labs": "مختبرات",
        "facility_type_imaging": "مراكز أشعة",
        "facility_type_default": "منشآت",
        "desktop_no_apps": "لا توجد تطبيقات متاحة لدورك الحالي.",
        "desktop_sub_home": "الرئيسية",
        "desktop_sub_tenants": "المنشآت",
        "desktop_sub_drugs": "الأدوية",
        "desktop_sub_patients": "المرضى",
        "desktop_sub_registration": "طلبات التسجيل",
        "desktop_sub_onboarding": "الانضمام",
        "desktop_sub_subscriptions": "الاشتراكات",
        "desktop_sub_plans": "الباقات",
        "desktop_sub_payments": "المدفوعات",
        "desktop_sub_accounting": "المحاسبة",
        "desktop_sub_support": "الدعم",
        "desktop_sub_ads": "الإعلانات",
        "desktop_sub_messages": "دعم مباشر",
        "desktop_sub_users": "المستخدمون",
        "desktop_sub_email": "البريد",
        "desktop_sub_user_guide": "دليل الاستخدام",
        "desktop_sub_settings": "الإعدادات",
        "desktop_sub_audit": "التدقيق",
        "desktop_sub_translations": "الترجمات",
        "desktop_sub_press": "الصحافة",
        "app_subtitle": "لوحة التحكم الرئيسية",
        "search_aria_global": "بحث في المنشآت والأدوية والمرضى",
        "quicksearch_tenants": "الزبائن / المواقع",
        "quicksearch_drugs": "الأدوية الموحدة",
        "quicksearch_patients": "المرضى (السجل الموحد)",
        "quicksearch_empty": "لا توجد نتائج. جرّب اسماً أو معرّفاً آخر.",
        "quicksearch_error": "تعذّر البحث",
        "view_all": "عرض الكل",
        "this_month": "هذا الشهر",
        "add": "إضافة",
        "expired": "منتهي",
        "now": "الآن",
        "yesterday": "أمس",
        "details": "التفاصيل",
        "items_per_page": "عناصر في الصفحة",
        "total_items": "عنصر",
        "page": "صفحة",
        "of": "من",
        "prev": "السابق",
        "next": "التالي",
        "edit": "تعديل",
        "delete": "حذف",
        "preview": "معاينة",
        "ok": "موافق",
        "mip_alert_ok": "حسنا",
        "mip_alert_error": "حدث خطأ",
        "mip_alert_warning": "تنبيه",
        "mip_alert_success": "تم بنجاح",
        "mip_alert_info": "تنبيه",
        "confirm": "تأكيد",
        "notice": "إشعار",
        "nav_facilities": "إدارة المنشآت الطبية",
        "page_back": "العودة إلى القائمة",
        "pill_featured": "مميز",
        "pill_seasons": "مواسم / قائمة الانتظار",
        "pill_catalog_hint": "مميز: أدوية معتمدة. المواسم: بقية الحالات (مراجعة، معلق، إلخ).",
        "subscriptions_page_intro": "سجلات الاشتراكات والإيصالات المسجّلة في المنصة (المشترك، الباقة، المبلغ، الحالة). هذا ليس نفس صفحة المدفوعات التشغيلية.",
        "payments_page_intro": "المدفوعات التشغيلية المسجّلة لكل عميل (المبلغ بالدينار، الطريقة، الحالة). تكمّل ملف العميل وتختلف عن إيصالات الاشتراك.",
        "tenant_trial_ends_at": "نهاية التجربة",
        "tenant_trial_ends_hint": "يُملأ تلقائياً من أيام التجربة في الباقة؛ يمكن تعديله.",
        "tenant_expires_at": "انتهاء الاشتراك",
        "tenant_expires_hint": "تاريخ انتهاء صلاحية الاشتراك الحالي (يُقترح حسب دورة الفوترة).",
        "add_subscription": "إضافة اشتراك",
        "subscription_modal_title": "اشتراك جديد",
        "subscription_package_label": "الباقة",
        "subscription_package_placeholder": "مثال: برو، 12 شهرًا",
        "subscription_kpi_active": "نشط",
        "subscription_kpi_pending": "قيد الدفع",
        "subscription_kpi_expired": "منتهٍ",
        "subscription_status_pending_payment": "في انتظار الدفع",
        "subscription_status_active_opt": "نشط",
        "subscription_status_expired_opt": "منتهي",
        "subscription_link_tenant": "العميل (ربط)",
        "subscription_link_tenant_hint": "إلزامي — يربط هذا السجل بعميل في المنصة.",
        "subscription_no_tenant": "— بدون ربط —",
        "subscription_notes": "ملاحظات",
        "subscription_notes_ph": "تفاصيل داخلية، مرجع فاتورة…",
        "subscription_edit_title": "تعديل الاشتراك / الإيصال",
        "press_subtitle": "الحالة التقنية للمواقع وقواعد البيانات والخوادم",
        "press_health_ok": "سليم",
        "press_health_down": "معطل",
        "press_sites_total": "المواقع",
        "press_sites_ok": "يعمل",
        "press_sites_down": "معطل",
        "press_db_platform": "قاعدة المنصة",
        "press_db_tenants": "قواعد الزبائن",
        "press_sites_list": "قائمة المواقع",
        "press_health": "الصحة",
        "press_db_size": "حجم القاعدة",
        "press_servers": "الخوادم",
        "press_clusters": "المجموعات",
        "press_db_default": "قاعدة البيانات الافتراضية",
        "press_db_default_badge": "افتراضي المنصة",
        "refresh": "تحديث",
        "site": "الموقع",
        "my_applications": "تطبيقاتي",
        "add_tenant": "زبون جديد",
        "expires": "ينتهي في",
        "onboarding_title": "تسجيل منشأة جديدة",
        "onboarding_desc": "تسجيل منشأة جديدة على المنصة",
        "templates_preview": "القوالب المتاحة",
        "templates_preview_desc": "انقر للاطلاع على التطبيق. بيانات الدخول التجريبية: demo / demo",
        "templates_section_other": "تطبيقات أخرى",
        "templates_section_cabinet_medicaux": "العيادات الطبية",
        "templates_section_featured": "التطبيقات المميزة",
        "template_status_active": "مفعل",
        "template_coming_soon": "قريباً",
        "template_desc_hospital": "إدارة متكاملة: طوارئ، تنويم، أطباء، صيدلية ومختبر.",
        "template_desc_imaging": "دعم DICOM وPACS، ربط الأجهزة وأرشفة الصور الطبية.",
        "template_desc_lab": "ربط أجهزة HL7، استقبال الإحالات والأرشفة التلقائية.",
        "template_desc_kindi": "إدارة الجملة بالباركود، تتبع المخزون والطلبات الرقمية.",
        "template_desc_razi": "نقطة بيع ذكية، مخزون دقيق وربط فوري بالمذاخر.",
        "onboarding_kpi_total": "إجمالي التطبيقات",
        "onboarding_kpi_active": "التطبيقات المفعلة",
        "onboarding_kpi_categories": "الفئات الرئيسية",
        "onboarding_kpi_last_update": "آخر تحديث",
        "onboarding_just_now": "منذ دقيقة",
        "onboarding_kpi_unit_app": "تطبيق",
        "onboarding_kpi_unit_cat": "فئات",
        "onb_more_options": "المزيد",
        "template_preview": "معاينة",
        "onboarding_install_demo": "تثبيت بيانات التجربة",
        "onboarding_install_demo_confirm": "سيتم إنشاء أو تحديث بيانات التجربة لهذا التطبيق. تسجيل الدخول: demo / demo",
        "onboarding_install_demo_busy": "جاري التثبيت...",
        "onboarding_install_demo_ok": "تم تثبيت بيانات التجربة. تسجيل الدخول: demo / demo",
        "template_razi": "برنامج إدارة الصيدليات–Razi System",
        "template_kindi": "برنامج إدارة المذاخر–Kindi System",
        "template_zahawi": "برنامج إدارة المختبرات الطبية–Zahawi",
        "template_ibn_al_haytham": "برنامج إدارة مراكز التصوير الطبي–Ibn Al Haytham",
        "template_hospital": "برنامج إدارة المستشفيات — MIP Hospital",
        "register_hospital_page_title": "تسجيل مستشفى",
        "register_hospital_title": "انضم كمستشفى",
        "register_hospital_subtitle": "إدارة متكاملة: طوارئ، تنويم، أطباء، صيدلية ومختبر",
        "register_hospital_btn": "إنشاء حساب مستشفى",
        "hospital_plan": "باقة المستشفى",
        "nav_group_hospital": "المستشفى",
        "nav_hospital_dashboard": "لوحة المستشفى",
        "nav_hospital_er": "الطوارئ والفرز",
        "nav_hospital_admissions": "القبول والتنويم",
        "nav_hospital_wards": "الأجنحة والأسرة",
        "nav_hospital_departments": "الأقسام",
        "nav_hospital_pharmacy": "صيدلية المستشفى",
        "template_ibn_sina_1": "برنامج إدارة العيادات الطبية – عيادة الأسنان (Ibn Sina 1)",
        "template_ibn_sina_2": "برنامج إدارة العيادات الطبية – عيادة القلب والأوعية الدموية (Ibn Sina 2)",
        "template_ibn_sina_3": "برنامج إدارة العيادات الطبية – عيادة النسائية والأطفال (Ibn Sina 3)",
        "template_ibn_sina_4": "برنامج إدارة العيادات الطبية – عيادة المسالك البولية والكلى (Ibn Sina 4)",
        "template_ibn_sina_5": "برنامج إدارة العيادات الطبية – عيادة الجهاز الهضمي / الباطنية (Ibn Sina 5)",
        "template_ibn_sina_6": "برنامج إدارة العيادات الطبية – عيادة أمراض الدم (Ibn Sina 6)",
        "template_ibn_sina_7": "برنامج إدارة العيادات الطبية – عيادة العيون (Ibn Sina 7)",
        "template_ibn_sina_8": "برنامج إدارة العيادات الطبية – عيادة الأعصاب (Ibn Sina 8)",
        "template_ibn_sina_9": "برنامج إدارة العيادات الطبية – عيادة الكسور والعظام والمفاصل (Ibn Sina 9)",
        "template_ibn_sina_10": "برنامج إدارة العيادات الطبية – عيادة النفسية (Ibn Sina 10)",
        "template_ibn_sina_11": "برنامج إدارة العيادات الطبية – عيادة الجلدية (Ibn Sina 11)",
        "template_ibn_sina_12": "برنامج إدارة العيادات الطبية – عيادة الطب النفسي (Ibn Sina 12)",
        "facility_info": "معلومات المنشأة",
        "admin_account": "حساب المسؤول",
        "register": "التسجيل",
        "onboarding_success": "تم التسجيل بنجاح",
        "registration_public": "التسجيل العام",
        "registration_public_desc": "تفعيل أو إيقاف نموذج التسجيل على صفحات /register. يتم الإنشاء من Tenants.",
        "registration_enabled": "مفعّل",
        "registration_disabled": "معطّل",
        "registration_coming_soon": "سنعود قريباً",
        "registration_closed": "التسجيل مغلق",
        "registration_contact_support": "التسجيل مغلق مؤقتاً. تواصل مع الدعم.",
        "enable": "تفعيل",
        "disable": "إيقاف",
        "create_tenant": "إنشاء عميل",
        "subscription_plans": "باقات الاشتراك",
        "add_plan": "إضافة باقة",
        "plan_name": "اسم الباقة",
        "plan_template": "قالب التطبيق",
        "plan_free": "مجاني",
        "billing_period": "فترة الفوترة",
        "trial_days": "أيام التجربة",
        "payment_settings": "إعدادات الدفع",
        "payment_settings_desc": "تفعيل الدفع، رابط صفحة الدفع، فترة التجربة الافتراضية، والباقة المجانية المستخدمة عند الاشتراك.",
        "plans_save_settings": "حفظ إعدادات المنصة",
        "plans_save_settings_hint": "قواعد عامة: رابط صفحة الدفع للعميل، مدة التجربة الافتراضية، والباقة المجانية.",
        "plans_save_checkout": "حفظ إعدادات الدفع عند التسجيل",
        "plans_save_checkout_hint": "للتسجيل فقط: APS وتحويل بنكي. لا يغيّر القواعد أعلاه.",
        "plans_tab_plans": "الباقات",
        "plans_tab_settings": "إعدادات المنصة",
        "plans_tab_checkout": "إعداد APS",
        "plans_tab_methods": "وسائل الدفع",
        "plans_modal_subtitle": "حدّد الاسم بالعربية والإنجليزية، التسعير، ووسائل الدفع المقبولة.",
        "plans_section_billing": "التسعير والفوترة",
        "plan_name_ar_ph": "مثال: باقة المستشفى",
        "plan_name_en_ph": "e.g. Hospital Package",
        "plans_no_payment_methods": "لا توجد وسائل دفع — أضفها من تبويب وسائل الدفع.",
        "bank_transfer_instructions_block": "نصوص تظهر للعميل (التحويل)",
        "bank_transfer_instructions_hint": "عامودان (عربي / إنجليزي) في شاشة التسجيل. ارتفاع معتدل يوازن العمودين.",
        "bank_transfer_instructions_aria": "نصوص تعليمات التحويل",
        "keep_secret_unchanged": "اترك الحقل فارغاً للاحتفاظ بالقيمة المحفوظة",
        "keep_token_unchanged": "اترك الحقل فارغاً للاحتفاظ بالرمز المحفوظ",
        "email_already_used": "هذا البريد مستخدم بالفعل لعميل على المنصة. استخدم بريداً آخر.",
        "email_pending_registration": "تسجيل قيد الانتظار لنفس البريد. راجع بريدك أو انتظر انتهاء الطلب، أو جرّب بريداً آخر.",
        "phone_already_used": "رقم الهاتف مستخدم بالفعل لعميل على المنصة. استخدم رقماً آخر.",
        "phone_pending_registration": "تسجيل قيد الانتظار لنفس رقم الهاتف. انتظر انتهاء الطلب أو استخدم رقماً آخر.",
        "license_already_used": "رقم الإجازة / الترخيص مستخدم بالفعل لعميل على المنصة.",
        "license_pending_registration": "تسجيل قيد الانتظار لنفس رقم الإجازة. انتظر انتهاء الطلب أو راجع الطلب السابق.",
        "name_already_used_in_governorate": "اسم المنشأة مستخدم بالفعل في هذه المحافظة. يمكن استخدام نفس الاسم في محافظة أخرى.",
        "name_pending_registration": "تسجيل قيد الانتظار لنفس اسم المنشأة في هذه المحافظة.",
        "payment_enabled": "الدفع مفعّل",
        "payment_url": "رابط صفحة الدفع",
        "trial_days_default": "أيام التجربة الافتراضية",
        "free_plan_id": "الباقة المجانية",
        "payment_methods": "وسائل الدفع",
        "plans_methods_register_hint": "التسجيل العام: الرمز card (يتطلب APS) أو bank_transfer (يتطلب IBAN في تبويب الدفع). الرمز cash للصيدلية فقط.",
        "add_payment_method": "إضافة وسيلة دفع",
        "monthly": "شهري",
        "yearly": "سنوي",
        "trial": "تجربة",
        "audit_logs": "سجل التدقيق",
        "audit_platform": "المنصة",
        "add_user": "إضافة مستخدم",
        "welcome_title": "مرحباً بك في لوحة تحكم MIP",
        "welcome_desc": "مراقبة لحظية لجميع المنشآت الطبية، الصيدليات، والمذاخر المرتبطة بالمنصة.",
        "dash_link_clinics": "إدارة العيادات",
        "dash_link_imaging": "مراكز التصوير",
        "dash_link_labs": "المختبرات",
        "dash_info_chips_aria": "نطاق المنصة والإحصائيات",
        "intro_dashboard_title": "نظرة عامة على المنصة",
        "intro_dashboard_p1": "من هذه اللوحة تتابع نشاط الزبائن والاشتراكات والأدوية والدعم في مكان واحد.",
        "intro_dashboard_p2": "استخدم المؤشرات والاختصارات السريعة للوصول إلى الأقسام المهمة.",
        "intro_dashboard_aria": "لوحة المعلومات",
        "intro_tenants_title": "إدارة عملاء SaaS",
        "intro_tenants_p1": "تسجيل الزبائن، ربطها بالباقات، ومواعيد التجربة والانتهاء.",
        "intro_tenants_p2": "كل عميل مرتبط بمنشأة ومعرّفات للاستخدام في الصيدليات والفروع.",
        "intro_tenants_aria": "عملاء المنصة",
        "tenants_demo_kpi_hint": "{{count}} حساب(ات) تجريبية مستثناة من الإجمالي (تطوير).",
        "tenants_filter_show_demo": "إظهار الحسابات التجريبية (تطوير)",
        "tenants_demo_badge": "تجريبي",
        "tenants_demo_badge_hint": "حساب تجريبي — للتطوير فقط",
        "intro_subscriptions_title": "سجلات الاشتراكات والإيصالات",
        "intro_subscriptions_p1": "تتبع المشتركين والمبالغ والربط مع عملاء المنصة.",
        "intro_subscriptions_p2": "يُنصح بإكمال الحقول لضمان تتبّع مالي واضح.",
        "intro_subscriptions_aria": "اشتراكات",
        "intro_payments_title": "المدفوعات والتحصيل",
        "intro_payments_p1": "تسجيل الدفعات بالعملة والمرجع وحالة التحصيل وتاريخه.",
        "intro_payments_p2": "عند إنشاء دفعة جديدة يجب تعبئة جميع الحقول لربطها بالعميل والتاريخ.",
        "intro_payments_aria": "مدفوعات",
        "intro_drugs_title": "الدواء الموحد والمراجعة",
        "intro_drugs_p1": "إدارة طلبات الأدوية والاستيراد والتصدير والمراجعات.",
        "intro_drugs_p2": "استخدم التبويبات للتنقل بين الأدوية والمصنعين.",
        "intro_drugs_aria": "أدوية",
        "intro_facilities_title": "المنشآت والمواقع",
        "intro_facilities_p1": "الصيدليات والعيادات والمستشفيات المرتبطة بالمنصة.",
        "intro_facilities_p2": "تحديث الحالة والنوع يساعد التقارير والامتثال.",
        "intro_facilities_aria": "منشآت",
        "intro_settings_title": "إعدادات المنصة",
        "intro_settings_p1": "اللغة والبريد والاتصال بالخادم؛ تحقق قبل الحفظ في الإنتاج.",
        "intro_settings_p2": "احتفظ بنسخة احتياطية من الإعدادات قبل تعديلات كبيرة.",
        "intro_settings_aria": "إعدادات",
        "settings_tab_general": "عام",
        "settings_tab_email": "البريد",
        "settings_tab_database": "قاعدة البيانات",
        "settings_tab_users": "المستخدمون",
        "settings_tab_system": "النظام",
        "settings_tab_integration": "تكامل التصوير",
        "settings_integration_title": "تكامل التصوير (HL7 / DICOM)",
        "settings_integration_desc": "الإعدادات الافتراضية لمراكز التصوير. يمكن لكل عميل تجاوزها من العملاء → تكامل.",
        "settings_integration_hl7_enable": "تفعيل HL7 على المنصة",
        "settings_integration_hl7_version": "إصدار HL7",
        "settings_integration_dicom_url": "رابط خادم DICOM / PACS",
        "settings_integration_dicom_ae": "AE Title لـ MIP",
        "settings_integration_dicom_port": "منفذ DICOM",
        "settings_integration_dicom_tls": "DICOM عبر TLS",
        "settings_integration_hl7_inbound": "نقطة استقبال HL7",
        "settings_integration_hl7_inbound_hint": "استبدل {slug} بمعرّف موقع المركز.",
        "settings_integration_hl7_key": "مفتاح استقبال HL7",
        "settings_integration_hl7_key_ph": "سر الشريك (HIS)",
        "settings_integration_hl7_outbound": "رابط إرسال HL7 (ORU)",
        "settings_integration_hl7_outbound_key": "مفتاح الإرسال HL7",
        "settings_integration_j2k_title": "معاينات JPEG 2000 (J2K)",
        "settings_integration_j2k_desc": "إنشاء معاينات ويب خفيفة من صور DICOM (الأصل يبقى في PACS).",
        "settings_integration_j2k_enable": "تفعيل معاينات J2K",
        "settings_integration_j2k_mode": "وضع الضغط",
        "settings_integration_j2k_lossless": "بدون فقدان (موصى به)",
        "settings_integration_j2k_lossy": "مع فقدان (أخف)",
        "settings_integration_j2k_quality": "الجودة (وضع مع فقدان)",
        "settings_integration_j2k_max_dim": "أقصى حجم للمعاينة (بكسل)",
        "settings_integration_j2k_generate": "إنشاء المعاينات تلقائياً عند الاستلام",
        "integration_config": "HL7 / DICOM",
        "integration_config_hint": "تجاوز لهذا المركز. فارغ = إعدادات المنصة (الإعدادات → التكامل).",
        "integration_reset": "إعادة التعيين",
        "integration_reset_confirm": "إعادة التعيين إلى إعدادات المنصة؟",
        "settings_tab_iraq": "المحافظات والمدن",
        "settings_nid_bridge_title": "برنامج قراءة البطاقة الوطنية",
        "settings_nid_bridge_desc": "يُثبَّت على حاسوب الاستقبال الموصول بالقارئ USB (ليس على الخادم). يعمل مع MIP في أي متصفح.",
        "settings_nid_bridge_steps": "1) حمّل ZIP  2) ثبّت Python 3  3) فك الضغط  4) شغّل install.bat",
        "settings_nid_bridge_download_btn": "تحميل برنامج القراءة (ZIP)",
        "intro_plans_title": "الباقات ووسائل الدفع",
        "intro_plans_p1": "تعريف الأسعار وفترات الفوترة والتجربة للعملاء الجدد.",
        "intro_plans_p2": "اربط الباقات بوسائل الدفع، واضبط APS الحقيقي من تبويب «إعداد APS».",
        "intro_plans_aria": "باقات",
        "intro_ads_title": "الإعلانات والتوجيهات",
        "intro_ads_p1": "إدارة الإعلانات الممولة وتوجيهات وزارة الصحة.",
        "intro_ads_p2": "راجع الحالة والمعاينة قبل النشر.",
        "intro_ads_aria": "إعلانات",
        "intro_users_title": "المستخدمون والأدوار",
        "intro_users_p1": "تعريف الصلاحيات لكل كيان وإدارة حسابات المشرفين.",
        "intro_users_p2": "الأدوار تحدد من يمكنه العرض والتعديل والحذف في كل قسم.",
        "intro_users_aria": "مستخدمون",
        "intro_support_title": "الدعم والتذاكر",
        "intro_support_p1": "اختيار العميل (tenant) من قائمة رسمية، وصف تفصيلي للمشكلة، ومرفق صورة أو فيديو، ومتابعة التذكرة حتى الإغلاق.",
        "intro_support_p2": "تتبع الحالة من الإنشاء إلى الإغلاق.",
        "intro_support_aria": "دعم",
        "intro_email_templates_title": "قوالب البريد",
        "intro_email_templates_p1": "تحرير الرسائل بالعربية والإنجليزية مع أسماء آلات ثابتة.",
        "intro_email_templates_p2": "احفظ واختبر قبل الاستخدام في الإنتاج.",
        "intro_email_templates_aria": "قوالب بريد",
        "intro_audit_title": "سجل التدقيق",
        "intro_audit_p1": "سجل واضح لكل إضافة وتعديل وحذف على المنصة و الزبائن.",
        "audit_message": "الحدث",
        "audit_unknown_user": "مستخدم",
        "audit_item": "عنصر",
        "audit_action_create": "أضاف",
        "audit_action_update": "عدّل",
        "audit_action_delete": "حذف",
        "audit_action_login": "تسجيل دخول",
        "audit_action_login_failed": "فشل الدخول",
        "audit_action_error": "خطأ",
        "audit_msg_login": "المستخدم {user} سجّل الدخول إلى المنصة",
        "audit_msg_login_failed": "فشل تسجيل الدخول للمستخدم {user}",
        "audit_msg_error": "خطأ في {resource}",
        "audit_msg_action": "المستخدم {user} {action} {resource} {target}",
        "audit_severity": "الحالة",
        "audit_sev_ok": "غير حرج",
        "audit_sev_info": "معلومة",
        "audit_sev_attention": "انتباه",
        "audit_sev_danger": "خطر",
        "intro_audit_p2": "استخدم الفلاتر للعثور على أحداث محددة.",
        "intro_audit_aria": "تدقيق",
        "intro_translations_title": "الترجمات",
        "intro_translations_p1": "تعديل مفاتيح الواجهة بالعربية والإنجليزية مع الحفظ على الخادم.",
        "intro_translations_p2": "احتفظ بمفاتيح ثابتة لتجنب كسر التطبيق.",
        "intro_translations_aria": "ترجمات",
        "intro_onboarding_title": "القوالب والتسجيل العام",
        "intro_onboarding_p1": "تعرض هذه الصفحة قوالب التطبيقات مع معاينة وخيار تفعيل التسجيل العام للزوار.",
        "intro_onboarding_p2": "اختر قالباً، راجع المعاينة، ثم أنشئ عميلاً جديداً من اختصار الزبائن عند الحاجة.",
        "intro_onboarding_aria": "تطبيقات وقوالب",
        "kpi_facilities": "إجمالي المنشآت",
        "kpi_subs": "الاشتراكات الفعالة",
        "kpi_drugs": "أدوية تنتظر المصادقة",
        "kpi_patients": "المرضى المسجلين",
        "sub_platform_status": "حالة المنصات الفرعية",
        "live_status": "مباشر",
        "pharmacies": "صيدليات",
        "stores": "مذاخر",
        "clinics": "عيادات",
        "labs": "مختبرات",
        "recent_drug_requests": "طلبات إضافة الأدوية الأخيرة",
        "nav_drug_requests": "قائمة طلبات إضافة الأدوية",
        "drug_name": "اسم الدواء",
        "requester": "الجهة الطالبة",
        "date": "التاريخ",
        "action": "الإجراء",
        "approve_btn": "مصادقة",
        "reject_btn": "رفض",
        "drug_request_examine": "مراجعة الطلب",
        "drug_second_review": "مراجعة ثانية",
        "drug_review_round": "الجولة",
        "drug_previous_rejection": "سبب الرفض السابق",
        "rejection_reason": "سبب الرفض",
        "rejection_reason_required": "يرجى توضيح سبب الرفض.",
        "drug_request_decision_ok": "تم حفظ القرار. سيتم إرسال بريد للمنشأة إذا كان عنوانها مسجّلاً.",
        "drug_approval_pick_category_title": "تأكيد فئة الدواء",
        "drug_approval_pick_category_hint": "اختر الفئة الصحيحة للكتالوج قبل المصادقة. يمكنك تغييرها لاحقاً من تعديل الدواء.",
        "drug_approval_complete_title": "إكمال بيانات الدواء قبل المصادقة",
        "drug_approval_complete_hint": "صحّح جميع الحقول المطلوبة. تُعرض كل الأخطاء دفعة واحدة (الباركود، الأسماء، المخزون، إلخ).",
        "drug_approval_use_next_barcode": "باركود تالي (EAN-13)",
        "drug_approval_stock_integers": "الحدّان الأدنى والأقصى للمخزون يجب أن يكونا أعداداً صحيحة.",
        "drug_approval_stock_nonneg": "حدود المخزون يجب أن تكون ≥ 0.",
        "pharmacy_shifa": "صيدلية الشفاء",
        "store_razi": "مذخر الرازي",
        "clinic_ahmed": "عيادة د. أحمد",
        "add_facility": "+ تسجيل منشأة جديدة",
        "facility_uid": "الرقم التعريفي UID",
        "facility_type": "نوع الزبون",
        "facility_name": "اسم الزبون",
        "management": "الإدارة",
        "management_ph": "مثال: د. حسن علي",
        "admin_name_ph": "اسم عرض حساب الدخول",
        "tenant_establishment_name": "اسم المنشأة",
        "tenant_owner_director": "اسم المالك أو المدير",
        "tenant_owner_director_ph": "مثال: د. حسن علي",
        "sub_status": "حالة الاشتراك",
        "options": "خيارات",
        "activate": "تفعيل",
        "tenant_activated": "تم تفعيل العميل",
        "tenant_created_success": "تم إنشاء العميل « {{name}} » بنجاح.",
        "tenant_created_email_sent": "تم إرسال بريد التفعيل إلى العميل.",
        "tenant_created_email_failed": "تعذّر إرسال بريد التفعيل (تحقق من SMTP).",
        "tenant_updated_success": "تم تحديث بيانات العميل « {{name}} » بنجاح.",
        "tenant_not_found": "العميل غير موجود أو تم حذفه.",
        "tenant_expires_before_trial": "تاريخ انتهاء الاشتراك يجب أن يكون بعد تاريخ نهاية التجربة.",
        "password_updated": "تم تحديث كلمة المرور",
        "user_activated": "تم تفعيل المستخدم",
        "tenant_create_full_hint": "ينشئ موقعاً كاملاً (عميل + قاعدة + مسؤول) كما في التسجيل العام",
        "tenant_form_steps": "خطوات النموذج",
        "tenant_step_facility": "المنشأة",
        "tenant_step_admin": "المسؤول",
        "pharmacy_shifa_fast": "صيدلية الشفاء السريع",
        "store_haya": "مذخر الحياة الطبية",
        "clinic_amal": "عيادة الأمل للأطفال",
        "dr_hassan": "د. حسن علي",
        "ahmed_jasim": "أحمد جاسم",
        "dr_samir": "د. سمير صادق",
        "search_drug": "بحث بالاسم العلمي أو التجاري...",
        "add_drug_request": "+ طلب إضافة دواء",
        "seq": "ت.",
        "barcode": "الباركود",
        "trade_name": "الاسم التجاري",
        "scientific_name": "الاسم العلمي",
        "drug_image": "صورة الدواء",
        "pharmaceutical_form": "الشكل الصيدلاني",
        "choose": "-- اختر --",
        "pills": "حبوب (Pills)",
        "syrup": "شراب (Syrup)",
        "injection": "حقن (Injection)",
        "cream": "مرهم/كريم (Cream)",
        "local_manufacturing": "التصنيع الداخلي",
        "imported": "المستوردة",
        "manufacturer": "الشركة المصنعة",
        "inventory_management": "إدارة المخزن",
        "retail_sale": "بيع المنتج بالتجزئة",
        "inventory_alert": "تنبيه المخزن",
        "storage_unit": "وحدة التخزين",
        "retail_unit": "وحدة البيع بالتجزئة",
        "quantity": "الكمية",
        "generate_barcode": "توليد الباركود",
        "add_barcode": "إضافة باركود",
        "drug_barcode_main_placeholder": "EAN-13",
        "drug_barcode_extra_placeholder": "EAN-13 إضافي (13 رقماً)",
        "drug_seq": "تسلسل الدواء",
        "general_info": "معلومات عامة",
        "product_info": "معلومات المنتج",
        "calc_max_from_min": "Max = Min × 10",
        "max_must_be_gte_min": "الكمية Max يجب أن تكون ≥ Min",
        "drug_ean13_invalid": "باركود EAN-13 غير صالح (13 رقماً مع رقم التحقق)",
        "drug_barcode_invalid": "باركود غير صالح (EAN-13، EAN-8، Code 128، Code 39، QR أو DataMatrix)",
        "duplicate_barcodes_in_form": "لا يمكن تكرار نفس الباركود في النموذج",
        "barcode_already_in_use": "هذا الباركود مستخدم مسبقاً لدواء آخر",
        "drug_trade_both_required": "الاسم التجاري بالعربية والإنجليزية مطلوبان",
        "scientific_name_duplicate": "الاسم العلمي مسجّل مسبقاً",
        "manufacturer_origin_label": "منشأ التصنيع",
        "drug_notice": "الـنشرة الدوائية",
        "import_csv": "استيراد CSV",
        "import_local_file": "استيراد من ملف محلي",
        "import_local_file_hint": "ارفع ملف Excel (.xlsx) أو CSV، أو اختر ملفاً موجوداً في مجلد drugs/ على الخادم. المكررات (باركود / المعرف) تُحدَّث تلقائياً.",
        "import_local_file_upload": "رفع ملف (.xlsx / .csv)",
        "import_local_file_or_select": "— أو اختر ملفاً موجوداً —",
        "import_local_file_uploading": "جاري الرفع…",
        "import_local_file_upload_ok": "تم رفع الملف. يمكنك المعاينة أو الاستيراد.",
        "empty_file": "الملف فارغ.",
        "file_too_large": "الملف كبير جداً (الحد الأقصى 50 م.ب.).",
        "import_progress_title": "جاري استيراد الأدوية…",
        "import_progress_preview_title": "جاري معاينة الملف…",
        "import_progress_waiting": "يرجى الانتظار…",
        "import_progress_rows": "السطر {{current}} من {{total}}",
        "import_phase_starting": "بدء العملية…",
        "import_phase_parsing": "قراءة الملف…",
        "import_phase_importing": "استيراد قيد التنفيذ…",
        "import_phase_preview": "معاينة قيد التنفيذ…",
        "import_phase_done": "اكتمل",
        "import_phase_failed": "فشل الاستيراد",
        "import_stat_created": "مُنشأ",
        "import_stat_updated": "مُحدَّث",
        "import_stat_skipped": "متجاهل",
        "import_stat_errors": "أخطاء",
        "import_report_title": "تقرير الاستيراد",
        "import_report_preview_title": "تقرير المعاينة",
        "import_report_summary": "{{total}} سطر · {{created}} مُنشأ · {{updated}} مُحدَّث · {{skipped}} متجاهل · {{errors}} خطأ — {{file}}",
        "import_report_preview_summary": "معاينة: {{total}} سطر · {{created}} جديد · {{updated}} تحديث · {{skipped}} متجاهل · {{errors}} خطأ",
        "import_report_errors_title": "تفاصيل الأخطاء (أول 100)",
        "import_error_col_row": "السطر",
        "import_error_col_name": "الدواء",
        "import_error_col_barcode": "الباركود",
        "import_error_col_message": "الخطأ",
        "import_history_title": "سجل الاستيراد",
        "import_history_hint": "كل عملية استيراد تُسجَّل مع المستخدم والتاريخ والنتيجة. انقر على سطر لعرض التقرير.",
        "import_history_empty": "لا يوجد استيراد سابق.",
        "import_status_running": "قيد التنفيذ",
        "import_status_completed": "مكتمل",
        "import_status_failed": "فشل",
        "import_local_file_select_placeholder": "— اختر ملفاً —",
        "import_local_file_empty": "لا توجد ملفات في مجلد drugs/. أضف drugs1.xlsx أو ملف CSV ثم أعد تحميل الصفحة.",
        "import_local_file_preview_btn": "معاينة",
        "import_local_file_submit_btn": "استيراد من الملف المحلي",
        "file_not_found": "الملف غير موجود في مجلد drugs/.",
        "invalid_filename": "اسم ملف غير صالح.",
        "invalid_file_type": "نوع الملف غير مدعوم (xlsx أو csv فقط).",
        "filename_required": "اختر ملفاً للاستيراد.",
        "xlsx_no_data_rows": "ملف Excel بدون صفوف بيانات.",
        "openpyxl_required": "مكتبة openpyxl مطلوبة لقراءة Excel.",
        "import_google_sheet": "استيراد Google Sheet",
        "import_google_sheet_hint": "الرابط الافتراضي من الإعدادات. يجب أن تكون الورقة متاحة للقراءة (أي شخص لديه الرابط)، أو صدّر CSV يدوياً واستخدم قسم CSV أدناه.",
        "import_google_sheet_url_placeholder": "https://docs.google.com/spreadsheets/d/...",
        "import_google_sheet_preview_btn": "معاينة",
        "import_google_sheet_submit_btn": "استيراد من Google Sheet",
        "import_update_duplicates": "تحديث المكررات (باركود / المعرف)",
        "import_sheet_page_title": "استيراد الأدوية",
        "import_sheet_page_subtitle": "Google Sheet أو ملف CSV",
        "import_csv_hint": "CSV: barcode, trade_name_ar, trade_name_en, scientific_name, manufacturer, notice, status",
        "import_sheet_loading": "جاري التحميل…",
        "import_sheet_preview_summary": "معاينة: +{{created}} · ~{{updated}} · ={{skipped}}{{errors}}",
        "import_sheet_success_summary": "{{created}} مُنشأ · {{updated}} مُحدَّث · {{skipped}} متجاهل",
        "import_sheet_errors_suffix": " · {{count}} خطأ",
        "google_sheet_private": "الورقة خاصة. اجعلها متاحة للقراءة (أي شخص لديه الرابط) أو صدّر CSV.",
        "import_google_sheet_private": "الورقة خاصة. اجعلها متاحة للقراءة (أي شخص لديه الرابط) أو صدّر CSV.",
        "google_sheet_unreachable": "تعذّر الوصول إلى Google Sheets. تحقق من الاتصال.",
        "google_sheet_empty": "الورقة فارغة أو غير متاحة.",
        "google_sheet_no_data_rows": "لا توجد صفوف بيانات في الورقة.",
        "csv_no_data_rows": "لا توجد صفوف بيانات في ملف CSV.",
        "sheet_url_required": "رابط Google Sheet مطلوب.",
        "invalid_google_sheet_url": "رابط Google Sheet غير صالح.",
        "google_sheet_fetch_failed": "فشل تحميل الورقة (تحقق من الصلاحيات).",
        "export_csv": "تصدير CSV",
        "status": "الحالة",
        "category": "الفئة",
        "category_antibiotics": "مضادات حيوية",
        "category_analgesics": "مسكنات ألم",
        "category_vitamins": "فيتامينات ومكملات",
        "category_chronic": "أدوية مزمنة",
        "drug_categories": "فئات الأدوية",
        "add_category": "إضافة فئة",
        "category_names_required": "الاسم بالعربية والاسم بالإنجليزية مطلوبان.",
        "category_id_required": "معرّف الفئة مطلوب (مثل antibiotics).",
        "add_manufacturer": "إضافة مصنّع",
        "manufacturers": "المصنّعون",
        "name_ar": "الاسم (عربي)",
        "name_en": "الاسم (إنجليزي)",
        "capsules": "كبسولات",
        "english_only": "إنجليزي فقط",
        "search_patient_desc": "البحث عن طريق رقم البطاقة الوطنية الموحدة (أو الباركود).",
        "search_nid": "أدخل أو امسح رقم البطاقة الوطنية (مثال: 198012345678)",
        "patient_prompt_title": "يرجى إدخال رقم البطاقة الوطنية للبحث عن ملف المريض",
        "patient_prompt_desc": "تتم مزامنة البيانات لحظياً بين كافة المنشآت الطبية المرتبطة.",
        "available_packages": "الباقات المتاحة",
        "pkg_store": "مذخر: ٥٠,٠٠٠ د.ع",
        "pkg_pharmacy": "صيدلية: ٢٠,٠٠٠ د.ع",
        "pkg_clinic": "عيادة: ٢٥,٠٠٠ د.ع",
        "pkg_lab": "مختبر: ٢٠,٠٠٠ د.ع",
        "pkg_imaging": "مركز تصوير: ٢٥,٠٠٠ د.ع",
        "revenue_this_month": "عائدات هذا الشهر",
        "revenue_val": "٢٢,٥٠٠,٠٠٠ د.ع",
        "electronic_payment_matched": "دفع إلكتروني متطابق",
        "receipt_no": "رقم الوصل",
        "subscriber": "المشترك",
        "amount": "المبلغ",
        "pay_date": "تاريخ الدفع",
        "success_visa": "ناجح (Visa)",
        "success_zain": "ناجح (ZainCash)",
        "rejected": "مرفوض",
        "new_broadcast": "+ رسالة تعميم جديدة",
        "manage_broadcasts": "إدارة الإعلانات الممولة وتوجيهات وزارة الصحة",
        "ad_form_subtitle": "اختر النوع والعنوان والوصف والحالة.",
        "ad_field_type": "النوع",
        "ad_field_title": "العنوان",
        "ad_field_title_ph": "مثال: عنوان الإعلان",
        "ad_field_desc": "الوصف",
        "ad_field_desc_ph": "النص الكامل المعروض للمنشآت",
        "ad_desc_html_toggle": "تحرير بتنسيق HTML (التصفية الآمنة على الخادم)",
        "ad_desc_html_hint": "نص غني، روابط، قوائم. المحتوى الخطير يُزال عند الحفظ.",
        "ad_html_ul": "قائمة نقطية",
        "ad_html_ol": "قائمة مرقمة",
        "ad_html_link": "رابط",
        "ad_desc_link_prompt": "عنوان الرابط (https://)",
        "pager_prev": "السابق",
        "pager_next": "التالي",
        "ad_field_status": "الحالة",
        "ad_sponsored_section_title": "إعلان ممول — الدفع والفترة",
        "ad_hint_public_visibility": "يُربط الإعلان الممول بعميل (tenant) يدفع مقابله. يُعرض على مواقع الزبائن فقط إذا كان الدفع «مدفوع» أو «معفى»، والحالة «نشط»، والتاريخ ضمن فترة البداية/النهاية.",
        "ad_field_payment_status": "حالة الدفع",
        "ad_field_amount_iqd": "المبلغ (د.ع)",
        "ad_field_amount_ph": "مثال: 50000",
        "ad_field_payment_method": "طريقة الدفع",
        "ad_payment_method_empty": "—",
        "ad_field_payment_reference": "مرجع / ملاحظة دفع",
        "ad_field_payment_reference_ph": "رقم وصل، تحويل…",
        "ad_field_paid_at": "تاريخ استلام الدفع",
        "ad_field_starts_at": "بداية العرض",
        "ad_field_ends_at": "نهاية العرض",
        "ad_error_end_before_start": "تاريخ النهاية يجب أن يكون بعد تاريخ البداية.",
        "ad_list_payment_status": "الدفع",
        "ad_list_amount_iqd": "المبلغ",
        "ad_list_period": "الفترة",
        "ad_kpi_pending_payment": "إعلانات ممولة بانتظار الدفع",
        "ad_ps_pending": "في انتظار الدفع",
        "ad_ps_paid": "مدفوع",
        "ad_ps_waived": "معفى / ترويجي",
        "ad_period_from": "من",
        "ad_period_until": "حتى",
        "ad_required_if_paid": "(إلزامي عند «مدفوع»)",
        "ad_validation_payment_status_invalid": "حالة الدفع غير صالحة.",
        "ad_validation_amount_required": "المبلغ (د.ع) إلزامي للإعلان الممول.",
        "ad_validation_amount_invalid": "المبلغ غير صالح.",
        "ad_validation_amount_negative": "المبلغ لا يمكن أن يكون سالباً.",
        "ad_validation_amount_positive_when_paid": "عند اختيار «مدفوع»، يجب أن يكون المبلغ أكبر من صفر.",
        "ad_validation_starts_required": "تاريخ بداية العرض إلزامي.",
        "ad_validation_ends_required": "تاريخ نهاية العرض إلزامي.",
        "ad_validation_method_required_when_paid": "طريقة الدفع إلزامية عندما تكون الحالة «مدفوع».",
        "ad_validation_paid_at_required_when_paid": "تاريخ استلام الدفع إلزامي عندما تكون الحالة «مدفوع».",
        "ad_field_payer_tenant": "العميل (tenant) الدافع",
        "ad_payer_tenant_placeholder": "اختر العميل",
        "ad_list_payer_tenant": "العميل الدافع",
        "ad_validation_payer_tenant_required": "يجب اختيار العميل (tenant) الذي يدفع مقابل الإعلان.",
        "ad_validation_payer_tenant_invalid": "لا يمكن اختيار حساب المنصة كعميل دافع.",
        "ad_validation_payer_tenant_unknown": "العميل (tenant) المحدد غير موجود في المنصة.",
        "sponsored_ads": "إعلانات ممولة (على الشاشات الفرعية)",
        "target_pharmacies": "المنشآت المستهدفة: الصيدليات فقط",
        "ad_campaign_1": "إعلان: عرض شتاء 2026 - GSK",
        "paid_amount_1": "تم الدفع: ٥٠,٠٠٠ د.ع (ينتهي غداً)",
        "moh_directives": "توجيهات وزارة الصحة",
        "mandatory_broadcasts": "تعاميم إجبارية تصل كإشعارات لجميع المشتركين",
        "urgent_recall": "سحب دواء من السوق (عاجل)",
        "recall_desc": "بخصوص التشغيلة رقم A509 من شراب السعال",
        "sent": "تم الإرسال",
        "save_changes": "حفظ التغييرات",
        "default_lang": "اللغة الافتراضية",
        "lang_ar": "العربية (Arabic)",
        "lang_en": "الإنجليزية (English)",
        "api_url_label": "رابط API",
        "api_url_desc": "رابط الخادم API (مثال: https://api.mip-iraq.com). فارغ = نفس النطاق.",
        "main_domain_label": "النطاق الرئيسي",
        "main_domain_desc": "عنوان المنصة العام (مثال: https://main.mip-iraq.com). يستبدل 127.0.0.1 وlocalhost في الرسائل وروابط الدخول وAPS.",
        "main_domain_loopback": "لا تستخدم localhost أو 127.0.0.1 كنطاق رئيسي. أدخل النطاق العمومي (https://main.mip-iraq.com).",
        "platform_users_desc": "مدراء النظام (Super Admins) ومن يملكون حق مصادقة الأدوية",
        "username": "اسم المستخدم",
        "password": "كلمة المرور",
        "role": "الصلاحية",
        "logins_count": "مرات الدخول",
        "role_admin": "Admin (Full)",
        "role_reviewer": "مدقق أدوية",
        "role_support_l1": "دعم العراق (المستوى 1)",
        "role_support_l2": "دعم تونس (المستوى 2)",
        "intro_client_support_title": "الدعم المباشر (العراق)",
        "intro_client_support_p1": "استقبال طلبات الزبائن مباشرة من تطبيقاتهم. الدعم المستوى 1 في العراق يرى بيانات المنشأة والمستخدم ثم يرد أو يحيل التذكرة إلى دعم تونس.",
        "intro_client_support_p2": "تُحدَّث القائمة تلقائياً. افتح المحادثة لعرض الملف الكامل ثم خصّصها للدعم المحلي أو انقلها إلى تونس.",
        "intro_client_support_aria": "الدعم المباشر",
        "tenant_id_label": "معرّف الزبون",
        "support_reply_label": "رد المنصة",
        "client_support_col_slug": "المسار",
        "client_support_col_subject": "الموضوع",
        "client_support_col_updated": "آخر تحديث",
        "client_support_send_reply": "إرسال الرد",
        "desk_live_title": "الدعم المباشر",
        "desk_live_badge": "مباشر",
        "desk_queue_waiting": "بانتظار الرد",
        "desk_queue_iraq": "دعم العراق (L1)",
        "desk_queue_tunis": "دعم تونس (L2)",
        "desk_queue_mine": "تذاكري",
        "desk_queue_all": "الكل",
        "desk_assign_me": "تخصيص لي",
        "desk_assign_to": "تخصيص للدعم المحلي",
        "desk_transfer_tunis": "نقل إلى تونس",
        "desk_reply_forbidden": "لا يمكنك الرد على هذا الخيط — خط دعم آخر.",
        "desk_transfer_confirm": "نقل هذه التذكرة إلى دعم تونس (المستوى 2)؟",
        "desk_return_iraq": "إعادة إلى العراق",
        "desk_line_iraq": "العراق L1",
        "desk_line_tunis": "تونس L2",
        "desk_card_tenant": "المنشأة",
        "desk_card_user": "المستخدم",
        "desk_unassigned": "غير مخصص",
        "desk_assigned_to": "مخصص إلى",
        "desk_select_agent": "اختر الموظف",
        "desk_empty": "لا توجد محادثات في هذه القائمة",
        "desk_thread_empty": "لا توجد رسائل بعد — ابدأ بالرد أدناه",
        "desk_governorate": "المحافظة / المدينة",
        "desk_city": "المدينة",
        "desk_license": "رقم الإجازة",
        "desk_plan": "الخطة",
        "desk_expires": "الانتهاء",
        "desk_contact": "جهة الاتصال",
        "desk_requester": "طالب الدعم",
        "desk_type": "النوع",
        "desk_status": "الحالة",
        "desk_phone": "الهاتف",
        "desk_whatsapp": "واتساب",
        "desk_email": "البريد",
        "desk_pharmacist": "اسم الصيدلي",
        "desk_address": "العنوان",
        "desk_user_status": "حالة الحساب",
        "desk_last_login": "آخر دخول",
        "desk_agent_platform": "دعم المنصة",
        "desk_help_l1": "أنت على خط دعم العراق (L1). استقبل الطلبات، خصّصها، ثم انقل التذاكر المعقدة إلى تونس.",
        "desk_help_l2": "أنت على خط دعم تونس (L2). تظهر هنا التذاكر المحولة من العراق فقط — افتح تبويب «دعم تونس» أو «بانتظار الرد».",
        "desk_help_admin": "مدير: يمكنك رؤية كل الخطوط. لإتاحة تونس: المستخدمون → دور «دعم تونس (L2)» → تسجيل الدخول → الدعم المباشر.",
        "desk_tunis_access_title": "كيف يصل فريق تونس؟",
        "desk_tunis_access_steps": "١) المستخدمون → إنشاء أو تعديل مستخدم\n٢) تعيين دور «دعم تونس (المستوى 2)»\n٣) تسجيل الدخول إلى لوحة المنصة\n٤) الدعم المباشر → تبويب «دعم تونس (L2)»",
        "desk_stat_waiting": "بانتظار الرد",
        "desk_stat_iraq": "خط العراق",
        "desk_stat_tunis": "خط تونس",
        "desk_stat_mine": "تذاكري",
        "desk_open_tenant": "فتح المنشأة",
        "desk_reply_placeholder": "اكتب ردك للزبون…",
        "desk_reply_hint": "Ctrl+Enter للإرسال",
        "desk_back_inbox": "العودة إلى القائمة",
        "desk_profile_l1": "دعم العراق L1",
        "desk_profile_l2": "دعم تونس L2",
        "desk_profile_admin": "مدير الدعم",
        "desk_cat_all": "كل التصنيفات",
        "desk_load_more": "تحميل المزيد",
        "desk_total": "الإجمالي",
        "support_category": "التصنيف",
        "support_cat_technical": "تقني",
        "support_cat_billing": "فوترة / اشتراك",
        "support_cat_account": "حساب / مستخدمون",
        "support_cat_training": "تدريب",
        "support_cat_bug": "خطأ / عطل",
        "support_cat_feature": "طلب ميزة",
        "support_cat_other": "أخرى",
        "support_categories_manage_title": "تصنيفات دعم العملاء",
        "support_categories_manage_hint": "تُحمَّل هذه التصنيفات في تطبيقات المستأجرين عند إنشاء تذكرة دعم.",
        "support_cat_id_label": "المعرّف",
        "support_cat_label_ar": "العربية",
        "support_cat_label_en": "English",
        "support_cat_label_fr": "Français",
        "support_cat_sort_order": "الترتيب",
        "support_cat_add_btn": "إضافة تصنيف",
        "support_cat_disable_btn": "تعطيل",
        "support_cat_enable_btn": "تفعيل",
        "notif_inbox_empty": "لا توجد طلبات دعم بانتظار الرد",
        "notif_inbox_unavailable": "تعذر تحميل الإشعارات (صلاحيات أو اتصال)",
        "notif_inbox_new_support": "طلب دعم جديد من العميل: {detail}",
        "notif_inbox_new_support_fallback": "عميل",
        "support_title": "الدعم الفني المباشر (العراق - تونس)",
        "new_ticket_btn": "+ تذكرة دعم جديدة",
        "task_manager": "مدير المهام (Task Manager)",
        "lvl1_support": "الدعم الفني المباشر (بغداد)",
        "lvl2_support": "خط الدعم الثاني (تونس)",
        "ticket_no": "رقم التذكرة",
        "ticket_issue_type": "تصنيف المشكلة",
        "facility": "المنشأة",
        "issue": "المشكلة",
        "issue_login": "مشكلة في تسجيل الدخول",
        "issue_sync": "خطأ في مزامنة الأدوية",
        "issue_printer": "توقف طابعة الفواتير",
        "support_customer_label": "العميل (المنشأة)",
        "support_customer_search": "ابحث عن المنشأة أو الزبون...",
        "support_customer_hint": "اختر من القائمة بعد البحث — لا يمكن الإدخال اليدوي لتفادي الأخطاء",
        "support_select_customer_placeholder": "— اختر العميل —",
        "support_form_subtitle": "عميل، تصنيف، وصف كامل، مرفق اختياري",
        "support_description_detailed_hint": "الحد الأدنى للطول يضمن وصفاً كافياً (الخطوات، رسائل الخطأ، المتصفح/التطبيق، الوقت…).",
        "support_desc_counter": "{n} حرف — الحد الأدنى {min}",
        "support_description_too_short": "الوصف قصير جداً. يلزم على الأقل {min} حرفاً لوصف المشكلة بدقة.",
        "support_submit_ticket": "إرسال التذكرة",
        "support_ticket_detail_title": "تفاصيل التذكرة",
        "support_col_tenant": "Tenant",
        "support_col_creator": "أنشأها",
        "support_row_click_hint": "انقر لعرض الوصف الكامل والمرفق",
        "support_customer_required": "الرجاء اختيار الزبون من القائمة",
        "support_description_label": "شرح مفصل عن المشكلة",
        "support_description_placeholder": "صف المشكلة بالتفصيل (الخطوات، رسائل الخطأ، الوقت…)",
        "support_attachment_label": "إرفاق صورة أو فيديو (اختياري)",
        "support_attachment_hint": "JPG أو PNG أو WEBP أو GIF، أو فيديو MP4 أو WEBM — بحد أقصى 20 ميجابايت",
        "support_table_description": "الشرح",
        "support_table_attachment": "مرفق",
        "support_open_attachment": "فتح",
        "support_att_type_image": "صورة",
        "support_att_type_video": "فيديو",
        "support_att_type_file": "ملف",
        "support_att_open": "فتح",
        "support_ticket_thread_title": "تذكرة",
        "support_thread_opening": "الطلب الأول",
        "support_thread_replies": "المحادثة",
        "support_no_replies_yet": "لا توجد ردود بعد.",
        "support_reply_title": "ردك",
        "support_reply_placeholder": "اكتب رسالة أو أرفق ملفاً فقط…",
        "support_reply_submit": "إرسال الرد",
        "support_reply_empty": "يرجى إدخال نص أو إرفاق ملف.",
        "support_attachment_only": "(مرفق فقط)",
        "support_thread_replies_count": "الردود: {n}",
        "support_thread_meta_created": "أُنشئ",
        "support_thread_meta_creator": "المنشئ",
        "support_thread_meta_activity": "آخر نشاط",
        "support_thread_jump_latest": "آخر رسالة",
        "support_reply_shortcut": "Ctrl+Enter للإرسال",
        "support_ticket_status_heading": "تذكرة الدعم",
        "support_ticket_change_status": "حالة التذكرة",
        "support_ticket_state_resolved": "مُسوى / مغلق",
        "support_thread_accordion_aria": "محادثة التذكرة",
        "support_intervention_label": "فريق المنصة",
        "support_intervention_short": "تدخل",
        "support_reply_platform_hint": "تُسجّل ردودك كمستخدم للمنصة الرئيسية.",
        "accounting_page_title": "المحاسبة",
        "accounting_banner_sub": "إطار عمل مالي متكامل — دينار عراقي، ضريبة، وقواعد محلية",
        "accounting_intro_title": "محاسبة المنصة",
        "accounting_intro_p1": "يضم هذا القسم الأدوات والمراجع لإدارة السجلات المالية، الامتثال الضريبي في العراق، والتقارير للإدارة والجهات الرقابية.",
        "accounting_intro_p2": "العملة المرجعية: الدينار العراقي (IQD) مع دعم العملات الأجنبية للعمليات؛ يُنصح بمواءمة سياساتكم مع مستشار ضريبي معتمد في العراق.",
        "accounting_intro_aria": "مقدمة وحدة المحاسبة",
        "accounting_subnav_aria": "أقسام المحاسبة",
        "accounting_section_subtitle": "عرض مرجعي — ربط مع البيانات والأتمتة لاحقاً",
        "accounting_module_roadmap": "الربط مع قاعدة البيانات والتدفقات (اشتراكات، مدفوعات، مستأجرين) سيُفعّل في إصدارات لاحقة.",
        "accounting_disclaimer": "معلومات عامة وليست استشارة قانونية أو ضريبية. التزامكم بالقوانين والأنظمة العراقية السارية يبقى على عاتقكم.",
        "accounting_nav_overview": "نظرة عامة",
        "accounting_nav_chart": "دليل الحسابات",
        "accounting_nav_journal": "اليومية",
        "accounting_nav_ledger": "دفتر الأستاذ",
        "accounting_nav_trial_balance": "ميزان المراجعة",
        "accounting_nav_sales": "مبيعات وعملاء",
        "accounting_nav_purchases": "مشتريات وموردون",
        "accounting_nav_vat": "ضريبة ومستقطعات",
        "accounting_nav_bank": "بنوك وخزينة",
        "accounting_nav_fixed_assets": "أصول ثابتة",
        "accounting_nav_closing": "إقفال ومخصصات",
        "accounting_nav_reports": "تقارير وتصدير",
        "accounting_nav_iraq": "مرجعيات العراق",
        "accounting_kpi_currency": "عملة أساسية",
        "accounting_kpi_vat": "إقرارات ضريبية",
        "accounting_kpi_standards": "معايير العرض",
        "accounting_card_chart_title": "دليل الحسابات",
        "accounting_card_chart_desc": "هيكل الحسابات، مراكز التكلفة، ربط المنشآت والأصناف.",
        "accounting_card_journal_title": "قيود اليومية",
        "accounting_card_journal_desc": "إثبات العمليات، تواريخ العمل، مرفقات واعتمادات.",
        "accounting_card_sales_title": "المبيعات والذمم",
        "accounting_card_sales_desc": "فواتير الزبائن، أرصدة مدينة، مطابقة مع الاشتراكات.",
        "accounting_card_vat_title": "الضريبة والاستقطاع",
        "accounting_card_vat_desc": "ضريبة المبيعات/الخدمات، استقطاعات، تقارير GCT حيث ينطبق.",
        "accounting_card_bank_title": "البنوك والسيولة",
        "accounting_card_bank_desc": "كشوف مطابقة، تحويلات، عملات (IQD/USD/EUR).",
        "accounting_card_reports_title": "التقارير",
        "accounting_card_reports_desc": "قائمة الدخل، الميزانية، تدفقات نقدية، تصدير.",
        "accounting_sec_chart_title": "دليل الحسابات",
        "accounting_sec_chart_intro": "تصنيف الحسابات حسب الأصناف (أصول، خصوم، إيرادات، مصروفات) مع إمكانية تخصيص لقطاع الصيدلة والخدمات.",
        "accounting_sec_chart_bullets": "تسلسل رقمي للحسابات | مراكز تكلفة وربط بالمنشآت | دعم عملات متعددة مع تحويل إلى IQD",
        "accounting_sec_journal_title": "دفتر اليومية العام",
        "accounting_sec_journal_intro": "تسجيل القيود المزدوجة، ترقيم تسلسلي، وإرفاق مستندات لكل عملية.",
        "accounting_sec_journal_bullets": "قيد تلقائي من الفواتير والمدفوعات لاحقاً | سجل تدقيق للتعديلات | فترات محاسبية شهرية/سنوية",
        "accounting_sec_ledger_title": "دفتر الأستاذ العام",
        "accounting_sec_ledger_intro": "حركة كل حساب مع أرصدة جارية وافتتاحية وختامية.",
        "accounting_sec_ledger_bullets": "استعلام حسب الحساب والفترة | ترحيل من اليومية | مطابقة مع ميزان المراجعة",
        "accounting_sec_trial_title": "ميزان المراجعة",
        "accounting_sec_trial_intro": "تحقق من توازن المدين والدائن قبل إعداد القوائم المالية.",
        "accounting_sec_trial_bullets": "أرصدة حسب الفترة | كشف اختلافات | جاهزية للإقفال",
        "accounting_sec_sales_title": "المبيعات والزبائن",
        "accounting_sec_sales_intro": "فواتير البيع، أذون التحصيل، ومتابعة الذمم المدينة للعملاء (صيدليات، عيادات، إلخ).",
        "accounting_sec_sales_bullets": "ربط مع اشتراكات المنصة | شروط دفع وتذكيرات | تقادم الذمم",
        "accounting_sec_purchases_title": "المشتريات والموردون",
        "accounting_sec_purchases_intro": "فواتير الموردين، أذون الدفع، ومطابقة مع المخزون حيث يُفعّل.",
        "accounting_sec_purchases_bullets": "حسابات الموردين | استحقاقات | استرداد وخصومات",
        "accounting_sec_vat_title": "الضريبة والاستقطاع (العراق)",
        "accounting_sec_vat_intro": "إطار عام للامتثال: ضريبة المبيعات/الخدمات، الاستقطاع عند المصدر حيث ينطبق، والتنسيق مع هيئة الضرائب العراقية (GCT).",
        "accounting_sec_vat_bullets": "سجلات ضريبية قابلة للتدقيق | فترات إقرار | تمييز معفى وخاضع | يتطلب مراجعة مستشار معتمد",
        "accounting_sec_bank_title": "البنوك والخزينة",
        "accounting_sec_bank_intro": "إدارة الحسابات البنكية بالدينار والعملات، تسوية الكشوف، وسيولة الخزينة.",
        "accounting_sec_bank_bullets": "مطابقة يومية | تحويلات SWIFT/محلي | حدود تنبيه",
        "accounting_sec_assets_title": "الأصول الثابتة",
        "accounting_sec_assets_intro": "تسجيل الأصول، جداول الإهلاك، والتخفيضات عند التقادم أو البيع.",
        "accounting_sec_assets_bullets": "سياسات إهلاك | جرد أصول | ربط بالمشتريات",
        "accounting_sec_closing_title": "الإقفال والمخصصات",
        "accounting_sec_closing_intro": "إقفال السنة أو الشهر، مخصصات المخزون والديون المشكوك فيها، وترحيل الأرصدة.",
        "accounting_sec_closing_bullets": "قيود إقفال | ترحيل للسنة الجديدة | احتياطيات",
        "accounting_sec_reports_title": "التقارير والتصدير",
        "accounting_sec_reports_intro": "قوائم مالية وفق معايير عرض متوافقة مع الممارسات الشائعة (مع إمكانية مواءمة IFRS حيث يلزم).",
        "accounting_sec_reports_bullets": "PDF/Excel | لوحات للإدارة | جداول للجهات الرقابية",
        "accounting_sec_iraq_title": "مرجعيات العراق",
        "accounting_sec_iraq_intro": "سياق عام: العملة الرسمية IQD؛ البنك المركزي العراقي (CBI) للسياسة النقدية؛ الضرائب والرسوم وفق التشريعات المحدّثة.",
        "accounting_sec_iraq_bullets": "الامتثال للجهات العراقية | تحديثات تشريعية يجب متابعتها مع مستشار | توثيق بالعربية والإنجليزية حسب الحاجة",
        "accounting_fiscal_block_title": "إعدادات السنة المالية",
        "accounting_fiscal_month_label": "شهر بداية السنة المالية (1–12)",
        "accounting_fiscal_day_label": "يوم بداية السنة المالية (1–31)",
        "accounting_fiscal_currency_label": "العملة المرجعية",
        "accounting_fiscal_label_ar": "تسمية السنة (عربي)",
        "accounting_fiscal_label_en": "تسمية السنة (إنجليزي)",
        "accounting_fiscal_notes": "ملاحظات داخلية",
        "accounting_fiscal_save": "حفظ إعدادات السنة",
        "accounting_chart_block_title": "دليل الحسابات (شجرة)",
        "accounting_chart_add_title": "إضافة حساب",
        "accounting_chart_parent": "الحساب الأب",
        "accounting_chart_parent_root": "— جذر —",
        "accounting_chart_code": "رمز الحساب",
        "accounting_chart_name_ar": "الاسم (عربي)",
        "accounting_chart_name_en": "الاسم (إنجليزي)",
        "accounting_chart_type": "النوع",
        "accounting_chart_type_asset": "أصول",
        "accounting_chart_type_liability": "خصوم",
        "accounting_chart_type_equity": "حقوق ملكية",
        "accounting_chart_type_revenue": "إيرادات",
        "accounting_chart_type_expense": "مصروفات",
        "accounting_chart_add_btn": "إضافة",
        "accounting_chart_delete": "حذف",
        "accounting_chart_load_error": "تعذر تحميل البيانات",
        "accounting_chart_saved": "تم الحفظ",
        "accounting_api_missing": "لم يُضبط عنوان API لهذا الموقع.",
        "acct_m5_loading": "جاري تحميل ملخص المحاسبة…",
        "acct_m5_err_load": "تعذر تحميل بيانات لوحة المحاسبة. تحقّق من الاتصال والصلاحيات.",
        "acct_m5_no_rows": "لا توجد بيانات لعرضها في هذا القسم.",
        "acct_m5_disclaimer": "الأرقام المعروضة تقديرات تشغيلية من بيانات البرنامج (مبيعات مكتملة، مشتريات معتمدة، مصاريف تشغيلية، مرتجعات). لا تغني عن دفتر يومية معتمد أو إقرار ضريبي؛ راجع حسابكم مع محاسب معتمد في العراق.",
        "acct_m5_notes_title": "ارتباط تلقائي بالدليل المحاسبي (أمثلة)",
        "acct_m5_tbl_suppliers": "الموردون وحصص المشتريات والائتمان من المرتجعات",
        "acct_m5_tbl_customers": "الزبائن والذمم المدينة",
        "acct_m5_tbl_expense_cat": "مصاريف تشغيلية حسب الفئة",
        "acct_m5_col_supplier": "المورد",
        "acct_m5_col_customer": "الزبون",
        "acct_m5_col_purchases": "مشتريات (د.ع)",
        "acct_m5_col_credit_ret": "ائتمان مرتجع (د.ع)",
        "acct_m5_col_receivable": "ذمة مدينة (د.ع)",
        "acct_m5_col_category": "البند",
        "acct_m5_col_amount": "المبلغ (د.ع)",
        "acct_m5_kpi_revenue": "إيرادات تقديرية (مبيعات معتمدة)",
        "acct_m5_kpi_purchases": "مشتريات معتمدة",
        "acct_m5_kpi_returns_purchase": "مرتجع مشتريات",
        "acct_m5_kpi_returns_sales": "مرتجع مبيعات",
        "acct_m5_kpi_inventory_writeoffs": "خسارات المخزن (خروج استثنائي)",
        "acct_m5_kpi_operating_expenses": "مصاريف تشغيلية",
        "acct_m5_kpi_customer_ar": "مجموع ذمم العملاء (مدين)",
        "acct_m5_kpi_supplier_credit": "مجموع ائتمانات الموردين (من المرتجعات)",
        "acct_m5_kpi_est_margin": "هامش إجمالي تقديري",
        "acct_m5_kpi_est_net_after_opex": "صافي تقديري بعد المصاريف التشغيلية",
        "accounting_nav_accounts": "إدارة الحسابات",
        "accounting_nav_vouchers": "سندات قبض ودفع",
        "accounting_nav_expenses_acct": "المصاريف",
        "accounting_nav_profit_loss": "الأرباح والمصاريف",
        "accounting_nav_balances": "أرصدة الحسابات",
        "accounting_nav_statement": "كشف حساب",
        "accounting_nav_aging": "عمر الدين",
        "accounting_nav_principles": "مبادئ المحاسبة",
        "acct_accounts_intro": "كل عملية تجارية تتحول إلى حركة مالية: زبائن، مجهزون، صندوق، بنك، مصاريف، رأس المال.",
        "acct_accounts_li_customer": "حسابات الزبائن — ذمم مدينة (واصل / باقي)",
        "acct_accounts_li_cash": "حساب الصندوق — نقد المبيعات والقبض",
        "acct_accounts_li_supplier": "حسابات المجهزين — ذمم دائنة",
        "acct_accounts_li_expense": "حسابات المصاريف — إيجار، رواتب، كهرباء…",
        "acct_accounts_li_bank": "حسابات البنك / بطاقة الدفع",
        "acct_accounts_li_capital": "رأس المال — سند قبض على حساب رأس المال",
        "acct_sales_intro": "تقرير المبيعات: إجمالي الفاتورة = الواصل + الباقي، مع الربح التقديري حسب تكلفة المخزون.",
        "acct_purchases_intro": "فواتير الشراء المعتمدة: مدفوع نقداً أو دين على المجهز.",
        "acct_vouchers_intro": "سندات القبض (مدفوعات العملاء) وسندات الدفع (مصاريف تشغيلية).",
        "acct_expenses_intro": "دمج المصاريف لمعرفة صافي الربح الحقيقي.",
        "acct_pl_intro": "الإيرادات − تكلفة البضاعة − المصاريف = صافي الربح.",
        "acct_balances_intro": "رصيد كل حساب: زبون، مجهز، صندوق، مخزون.",
        "acct_statement_intro": "كشف حركات حساب زبون أو مجهز (فواتير، قبض، إرجاع).",
        "acct_aging_intro": "تقسيم الديون حسب العمر — الديون الأقدم من شهرين.",
        "acct_reports_intro": "أرباح يومية: مبيعات، تكلفة، هامش وصافي للتاريخ المحدد.",
        "acct_filter_from": "من",
        "acct_filter_to": "إلى",
        "acct_filter_apply": "تطبيق",
        "acct_col_invoice": "الفاتورة",
        "acct_col_date": "التاريخ",
        "acct_col_total": "الإجمالي",
        "acct_col_paid": "الواصل",
        "acct_col_remaining": "الباقي",
        "acct_col_profit": "الربح",
        "acct_col_pay_method": "طريقة الدفع",
        "acct_col_name": "الاسم",
        "acct_col_balance": "الرصيد",
        "acct_col_debit": "مدين",
        "acct_col_credit": "دائن",
        "acct_col_type": "النوع",
        "acct_col_desc": "الوصف",
        "acct_pl_revenue": "الإيرادات",
        "acct_pl_cogs": "تكلفة البضاعة",
        "acct_pl_gross": "مجمل الربح",
        "acct_pl_expenses": "المصاريف",
        "acct_pl_net": "صافي الربح",
        "acct_bal_type_customer": "زبائن",
        "acct_bal_type_supplier": "موردون",
        "acct_bal_type_cashbox": "صندوق",
        "acct_bal_type_bank": "بنك / بطاقة",
        "acct_bal_type_inventory": "مخزون",
        "acct_vouchers_receipts": "سندات قبض",
        "acct_vouchers_payments": "سندات دفع",
        "acct_aging_days": "أيام التأخير",
        "acct_aging_old_debt": "ديون قديمة (تقدير)",
        "acct_statement_type": "نوع الحساب",
        "acct_statement_id": "معرّف الحساب",
        "acct_statement_pick": "أدخل معرّف الزبون أو المجهز ثم طبّق.",
        "acct_daily_intro": "أرباح اليوم",
        "acct_pr_intro": "كل عملية لها أثر مالي ومخزني — كما في أنظمة المبيعات التجارية.",
        "acct_pr_col_op": "العملية",
        "acct_pr_col_fin": "الأثر المالي",
        "acct_pr_col_stock": "الأثر المخزني",
        "acct_pr_op_sale_cash": "بيع نقدي",
        "acct_pr_ef_sale_cash": "زيادة الصندوق + إيرادات",
        "acct_pr_st_sale_cash": "نقص المخزون",
        "acct_pr_op_sale_credit": "بيع آجل",
        "acct_pr_ef_sale_credit": "زيادة دين الزبون",
        "acct_pr_st_sale_credit": "نقص المخزون",
        "acct_pr_op_receipt": "سند قبض",
        "acct_pr_ef_receipt": "زيادة الصندوق − دين الزبون",
        "acct_pr_st_receipt": "—",
        "acct_pr_op_purchase_cash": "شراء نقدي",
        "acct_pr_ef_purchase_cash": "نقص الصندوق",
        "acct_pr_st_purchase_cash": "زيادة المخزون",
        "acct_pr_op_purchase_credit": "شراء آجل",
        "acct_pr_ef_purchase_credit": "دين للمجهز",
        "acct_pr_st_purchase_credit": "زيادة المخزون",
        "acct_pr_op_payment": "سند دفع",
        "acct_pr_ef_payment": "نقص الصندوق − دين المجهز",
        "acct_pr_st_payment": "—",
        "acct_pr_op_expense": "مصروف",
        "acct_pr_ef_expense": "نقص الصندوق + مصروف",
        "acct_pr_st_expense": "—",
        "acct_pr_op_sale_ret": "إرجاع بيع",
        "acct_pr_ef_sale_ret": "عكس البيع",
        "acct_pr_st_sale_ret": "رجوع للمخزون",
        "acct_pr_op_purchase_ret": "إرجاع شراء",
        "acct_pr_ef_purchase_ret": "عكس الشراء",
        "acct_pr_st_purchase_ret": "خروج من المخزون",
        "acct_pr_formula": "المعادلة: إجمالي الفاتورة = الواصل + الباقي | مجمل الربح = المبيعات − التكلفة | صافي الربح = مجمل الربح − المصاريف",
        "acct_pr_cycle": "الدورة: بيع/شراء → مخزون → واصل/باقي → رصيد حساب → تقارير.",
        "acct_doc_sales_invoice": "فاتورة بيع",
        "acct_doc_receipt": "قبض",
        "acct_doc_sales_return": "مرتجع بيع",
        "acct_doc_purchase_invoice": "فاتورة شراء",
        "acct_doc_payment": "دفع",
        "acct_commercial_subtitle": "محاسبة تجارية مرتبطة ببيانات الصيدلية — واصل، باقي، أرباح، ذمم",
        "acct_export_csv": "تصدير CSV",
        "acct_print_pdf": "طباعة PDF",
        "acct_aging_bucket_0_30": "0–30 يوم",
        "acct_aging_bucket_31_60": "31–60 يوم",
        "acct_aging_bucket_61_90": "61–90 يوم",
        "acct_aging_bucket_90": "+90 يوم",
        "acct_sim_btn": "محاكاة",
        "acct_sim_btn_off": "إيقاف المحاكاة",
        "acct_sim_banner": "بيانات تجريبية للمعاينة فقط — لا تُحفظ في الحساب.",
        "support_clear_customer": "إلغاء الاختيار",
        "status_escalated": "مُصعد (تونس)",
        "send_whatsapp": "تواصل عبر واتساب",
        "translations_title": "إدارة الترجمات",
        "translations_desc": "تعديل النصوص المعروضة في المنصة حسب اللغة (العربية أو الإنجليزية).",
        "translation_key": "مفتاح الترجمة",
        "value_ar": "النص بالعربية",
        "value_en": "النص بالإنجليزية",
        "add_key": "+ إضافة مفتاح جديد",
        "saved_success": "تم حفظ الترجمات بنجاح",
        "env_check_config_error": "خطأ في تحميل الإعدادات",
        "env_check_api_error": "استجابة غير صحيحة من الخادم",
        "env_check_403": "403 ممنوع — تحقق من إعدادات nginx (proxy_pass لـ /api/)",
        "env_check_404": "404 غير موجود — المسار /api/ غير مُعرّف",
        "env_check_5xx": "خطأ داخلي في الخادم",
        "env_check_connection_failed": "فشل الاتصال",
        "env_check_verify_server": "تحقق من تشغيل الخادم Python وإعداد proxy nginx",
        "platform_mode": "وضع المنصة",
        "platform_settings_desc": "إعدادات المنصة والاتصال بالـ API",
        "db_config": "إعدادات القاعدة",
        "db_config_hint": "تكوين خادم قاعدة بيانات خاص بهذا العميل. فارغ = استخدام إعدادات المنصة الافتراضية.",
        "db_type": "النوع",
        "db_default": "افتراضي المنصة",
        "db_host": "المضيف",
        "db_port": "المنفذ",
        "db_user": "المستخدم",
        "db_password": "كلمة المرور",
        "db_name": "اسم القاعدة",
        "db_path": "المسار",
        "db_config_title": "قاعدة البيانات",
        "db_config_desc": "اختر نوع القاعدة وبيانات الاتصال. سيُطلب إعادة تشغيل الخادم بعد التطبيق.",
        "db_config_active": "المحرك المستخدم حالياً",
        "db_config_type": "نوع القاعدة",
        "db_config_host": "IP / المضيف",
        "db_config_port": "المنفذ",
        "db_config_dbname": "اسم القاعدة",
        "db_config_user": "المستخدم",
        "db_config_password": "كلمة المرور",
        "db_config_password_placeholder": "••••••••",
        "db_config_password_hint": "اتركه فارغاً للاحتفاظ بالقيمة الحالية",
        "db_config_test": "اختبار الاتصال",
        "db_config_test_ok": "الاتصال ناجح ✓",
        "db_config_test_fail": "فشل",
        "db_err_password_required": "كلمة المرور مطلوبة. أدخل كلمة مرور حساب قاعدة البيانات ثم أعد المحاولة.",
        "db_err_user_required": "اسم المستخدم مطلوب. أدخل مستخدم قاعدة البيانات ثم أعد المحاولة.",
        "db_err_user_unknown": "حساب قاعدة البيانات غير موجود. تحقق من اسم المستخدم.",
        "db_err_host_required": "عنوان الخادم مطلوب. أدخل عنوان IP أو اسم المضيف.",
        "db_err_port_required": "رقم المنفذ مطلوب.",
        "db_err_port_invalid": "المنفذ يجب أن يكون رقماً بين 1 و 65535.",
        "db_err_dbname_required": "اسم قاعدة البيانات مطلوب.",
        "db_err_invalid_type": "نوع قاعدة البيانات غير معروف.",
        "db_err_write_env": "تعذر حفظ ملف .env (صلاحيات الكتابة). يجب أن يتمكن حساب خدمة MIP (غالباً www-data) من تعديل هذا الملف.",
        "db_err_write_env_after_bootstrap": "قد تكون قواعد MariaDB أُنشئت، لكن ملف .env لم يُحفظ: المنصة ما زالت على SQLite. صحّح صلاحيات .env ثم أعد التطبيق.",
        "db_err_bad_credentials": "اسم المستخدم أو كلمة المرور غير صحيحة. تحقق ثم أعد المحاولة.",
        "db_err_unreachable": "تعذر الوصول إلى خادم قاعدة البيانات. تحقق من تشغيل الخدمة ومن صحة العنوان والمنفذ.",
        "db_err_unknown_db": "قاعدة البيانات غير موجودة بعد. صحّح الاسم أو اضغط «تطبيق» ليُنشئها MIP.",
        "db_err_auth_plugin": "هذا الحساب غير متوافق مع MIP. استخدم حساباً بكلمة مرور عادية (وليس جلسة ويندوز).",
        "db_err_generic": "تعذر الاتصال بقاعدة البيانات. تحقق من العنوان والمنفذ واسم المستخدم وكلمة المرور.",
        "db_ok_sqlite": "SQLite يستخدم ملفاً محلياً. لا حاجة لاتصال شبكي.",
        "db_ok_connected": "تم الاتصال بنجاح. القاعدة جاهزة.",
        "db_ok_applied": "التطبيق يعمل الآن على محرك قاعدة البيانات المحدد.",
        "db_ok_applied_tenants": "التطبيق يعمل الآن على هذا المحرك. تم إعداد قاعدة المنصة وقواعد الزبائن.",
        "db_ok_reload_failed": "تم حفظ الإعدادات. أعد تشغيل الخادم لتطبيق التغيير.",
        "error_requires_superadmin": "هذا الإجراء مخصص لمدير النظام فقط.",
        "db_config_apply": "تطبيق وإعداد",
        "db_config_apply_confirm": "تطبيق هذه الإعدادات؟ سيُطلب إعادة تشغيل الخادم.",
        "db_config_preparing": "جاري إعداد المنصة...",
        "db_config_preparing_desc": "تكوين قاعدة البيانات قيد التنفيذ",
        "db_config_success": "تم حفظ الإعدادات",
        "db_config_restricted": "هذه الإعدادات مخصصة لمدير النظام (superadmin) فقط.",
        "settings_tenant_ads_position": "موضع إعلانات المنصة (تطبيقات الزبائن)",
        "settings_tenant_ads_position_below": "أسفل رسالة الترحيب في لوحة التحكم",
        "settings_tenant_ads_position_aside": "عمود جانبي مقابل القائمة الرئيسية",
        "settings_tenant_ads_position_hint": "يحدد مكان عرض توجيهات وزارة الصحة والإعلانات الممولة في تطبيقات الزبائن (/s/…). على الشاشات الصغيرة العمود الجانبي يصبح أسفل المحتوى.",
        "settings_app_mode_title": "وضع المنصة",
        "settings_app_mode_desc": "وضع التطوير: تفعيل التصحيح (debug) وزر « Dev » على كل نموذج لملء بيانات تجريبية. وضع الإنتاج: كل ذلك مخفي.",
        "settings_app_mode_label": "البيئة",
        "settings_app_mode_production": "إنتاج (Production)",
        "settings_app_mode_development": "تطوير (Development)",
        "settings_hero_title": "إعدادات المنصة",
        "settings_hero_desc": "إدارة البريد، المستخدمين، البيئة وخيارات الصيانة والنظام.",
        "maintenance_status_on": "صيانة",
        "maintenance_status_off": "متاحة",
        "maintenance_settings_title": "وضع الصيانة",
        "maintenance_settings_desc": "يغلق التطبيق الرئيسي لجميع المستخدمين ويبطل جميع الجلسات المفتوحة. يبقى الوصول ممكنًا برمز سري (24 ساعة) أو عبر مواقع الزبائن /s/.",
        "maintenance_settings_enable": "تفعيل وضع الصيانة",
        "maintenance_secret_label": "رمز الصيانة السري",
        "maintenance_secret_hint": "6 أحرف على الأقل. اتركه فارغًا للإبقاء على الرمز الحالي.",
        "maintenance_secret_confirm": "تأكيد الرمز",
        "maintenance_enable_btn": "تفعيل الصيانة",
        "maintenance_disable_btn": "إيقاف الصيانة",
        "maintenance_secret_required": "يرجى تعيين رمز صيانة قبل التفعيل.",
        "maintenance_secret_mismatch": "رمزا الصيانة غير متطابقين.",
        "maintenance_secret_too_short": "رمز الصيانة قصير جدًا (6 أحرف على الأقل).",
        "maintenance_enable_confirm": "تفعيل الصيانة؟ سيتم قطع جميع الجلسات المفتوحة فورًا.",
        "maintenance_disable_confirm": "إيقاف وضع الصيانة وإعادة فتح المنصة للجميع؟",
        "maintenance_enabled_success": "تم تفعيل وضع الصيانة. تم إبطال جميع الجلسات.",
        "maintenance_disabled_success": "تم إيقاف وضع الصيانة.",
        "maintenance_page_title": "المنصة قيد الصيانة",
        "maintenance_page_lead": "نقوم بتحديثات تقنية. الوصول مؤقتًا مقتصر على الفريق المخوّل بإدخال رمز الصيانة.",
        "maintenance_unlock": "متابعة",
        "maintenance_secret_invalid": "رمز غير صحيح",
        "maintenance_login_banner": "المنصة في وضع الصيانة. أدخل رمز الصيانة للوصول.",
        "maintenance_login_link": "رمز الصيانة",
        "maintenance_login_top": "وضع الصيانة مفعّل",
        "maintenance_mode_active": "المنصة في وضع الصيانة.",
        "error_session_revoked": "انتهت جلستك بسبب تغيير إعدادات الأمان. يرجى تسجيل الدخول مجددًا.",
        "pwa_offline_title": "PWA خارج الخط",
        "pwa_offline_desc": "تفعيل وضع العمل دون اتصال لتطبيقات العملاء (صيدلية، عيادة، مورد). تُحفظ البيانات محلياً وتُزامن عند عودة الاتصال.",
        "pwa_offline_enable": "تفعيل PWA Offline",
        "pwa_offline_guide": "دليل التكامل",
        "pwa_offline_guide_content": "1. التحقق: fetch('/api/pwa-offline/config')2. SW: navigator.serviceWorker.register('/pwa-offline/service-worker.js')3. Manifest: <link rel=\"manifest\" href=\"/pwa-offline/manifest.json\">4. Sync: MIPOfflineSync.init({apiBase,tenantId,token}).wrapFetch(fetch)5. التفاصيل: pwa-offline/README.md",
        "token_status": "حالة الرمز",
        "saved": "تم الحفظ ✓",
        "drug_form_desc": "يرجى تعبئة تفاصيل المنتج بعناية قبل الحفظ.",
        "click_drag_image": "انقر أو اسحب الصورة هنا",
        "storage_unit_box": "صندوق",
        "storage_unit_pallet": "منصة",
        "error_saving_ticket": "خطأ في حفظ التذكرة",
        "error_saving": "خطأ في الحفظ",
        "delete_failed": "فشل الحذف",
        "approve_failed": "فشلت المصادقة",
        "lvl1_support_desc": "فريق الدعم المباشر للعملاء والمنشآت",
        "lvl2_support_desc": "فريق التطوير والصيانة المتقدمة (Task Manager)",
        "support_online": "متصل",
        "error_saving_facility": "خطأ في حفظ المنشأة",
        "error_saving_drug": "خطأ في حفظ طلب الدواء",
        "error_saving_translations": "خطأ في حفظ الترجمات",
        "error_adding_key": "خطأ في إضافة المفتاح",
        "patient_nid": "رقم البطاقة",
        "patient_name": "الاسم",
        "patient_first_name": "الاسم",
        "patient_father_name": "اسم الأب",
        "patient_grandfather_name": "اسم الجد",
        "patient_family_name": "اللقب",
        "patient_mother_name": "الأم",
        "patient_maternal_grandfather_name": "الجد (للأم)",
        "patient_gender": "الجنس",
        "patient_gender_male": "ذكر",
        "patient_gender_female": "أنثى",
        "patient_gender_placeholder": "— اختر الجنس —",
        "patient_form_section_id": "بيانات البطاقة الوطنية",
        "patient_name_full_card": "الاسم الكامل (كما على البطاقة)",
        "patient_age": "العمر",
        "patient_birth_date": "تاريخ الولادة",
        "patient_blood_type_placeholder": "— اختر فصيلة الدم —",
        "patient_age_auto_hint": "يُحدَّث تلقائياً عند اختيار تاريخ الميلاد",
        "patients_reader_banner_title": "التعرّف على المريض بالبطاقة الوطنية والقارئ",
        "patients_reader_banner_p1": "يُنصح بإدخال بيانات المريض بقراءة بطاقة التعريف الوطنية عبر قارئ يعمل كنمط لوحة مفاتيح (USB wedge) أو ما يعادله.",
        "patients_reader_banner_p2": "من البطاقة أو من رمز QR المطبوع عليها يُستخرَج عادةً: رقم البطاقة، الاسم الكامل، فصيلة الدم، وتاريخ الولادة — وتحسب المنصّة العمر من تاريخ الميلاد.",
        "patients_reader_banner_p3": "ضع مؤشر الكتابة في خانة رقم البطاقة ثم مرّر البطاقة في القارئ أو امسح رمز QR إن وُجد.",
        "patients_reader_form_hint": "قراءة البطاقة: ثبّت Iraqi_ID_Reader.exe على هذا الجهاز ووصّل قارئ ACR1552U، أو ركّز حقل الرقم الوطني وامسح البطاقة (وضع لوحة المفاتيح).",
        "patients_scan_focus_nid": "ركّز هذا الحقل قبل قراءة البطاقة أو QR",
        "id_reader_scan_btn": "مسح البطاقة الوطنية",
        "id_reader_reading": "جاري قراءة البطاقة…",
        "id_reader_read_ok": "تمت قراءة البطاقة بنجاح",
        "id_reader_agent_offline": "قارئ البطاقة غير متصل — ثبّت Iraqi_ID_Reader.exe على هذا الجهاز",
        "id_reader_no_device": "لم يُعثر على قارئ ACR1552U",
        "id_reader_place_card": "ضع البطاقة على القارئ ثم اضغط مسح",
        "id_reader_card_ready": "البطاقة على القارئ — جاهز للمسح",
        "id_reader_needs_mrz": "مطلوب فتح أولي بمفاتيح ظهر البطاقة (MRZ) عبر تطبيق القارئ",
        "id_reader_no_nid": "لم يُستخرج رقم وطني من البطاقة",
        "id_reader_download_agent": "تثبيت قارئ البطاقة",
        "id_reader_https_required": "يجب فتح الموقع عبر HTTPS للسماح بالقارئ المحلي",
        "patients_reader_svg_alt": "رسم توضيحي: بطاقة تعريف وقارئ ورمز QR",
        "patients_id_read_btn": "قراءة البطاقة الوطنية",
        "patients_id_reading": "جاري القراءة…",
        "patients_id_no_reader": "لم يُعثر على قارئ. شغّل برنامج MIP NID Bridge على هذا الجهاز (tools/mip_nid_bridge) ووصّل القارئ USB.",
        "patients_id_bridge_ready": "برنامج القراءة المحلي متصل — ضع البطاقة على القارئ ثم اضغط «قراءة البطاقة».",
        "patients_id_bridge_offline": "برنامج القراءة غير مشغّل على هذا الجهاز (نفس الحاسوب الموصول بالقارئ USB).",
        "patients_id_bridge_download": "تحميل برنامج MIP NID Bridge (ZIP) — ثم شغّل install.bat",
        "patients_id_serial_denied": "تم إلغاء اختيار منفذ القارئ. وصّل القارئ وشغّل برنامج القراءة المحلي، أو اختر المنفذ من النافذة.",
        "patients_id_serial_gesture": "أعد الضغط على «قراءة البطاقة» واختر القارئ من النافذة فوراً.",
        "patients_id_read_ok": "تم تعبئة الحقول من بيانات البطاقة.",
        "patients_id_preview_ready": "تمت قراءة البطاقة — راجع البيانات أعلاه ثم اضغط «تعبئة النموذج».",
        "patients_id_card_preview_title": "بيانات مقروءة من البطاقة",
        "patients_id_fill_form_btn": "تعبئة النموذج",
        "patients_id_bridge_health_ok": "Bridge متصل — 127.0.0.1:9176/health",
        "patients_id_bridge_health_off": "Bridge غير متصل — شغّل MIP NID Bridge",
        "patients_id_bridge_health_checking": "جاري التحقق من Bridge…",
        "patients_id_bridge_connect_btn": "تحقق من الاتصال",
        "patients_id_locked_hint": "البيانات المقروءة من البطاقة غير قابلة للتعديل.",
        "patients_id_read_failed": "تعذرت قراءة البطاقة. أعد المحاولة أو أدخل البيانات يدوياً.",
        "patients_context_tenant": "المنشأة (قاعدة بيانات المرضى)",
        "patients_no_tenant_context": "لا يوجد مستأجر (منشأة) محدد لحفظ المرضى. أضف منشأة من «العملاء والمنشآت» أو اختر المنشأة من القائمة إن وُجدت.",
        "btn_patient_dossier": "الملف الطبي",
        "patient_dossier_title": "الملف الطبي",
        "patient_dossier_intro": "البيانات الطبية محفوظة في السجل المركزي للمنصة وتُشارك بين جميع المنشآت.",
        "patient_platform_id": "معرّف المنصة",
        "emr_tab_allergies": "الحساسية",
        "emr_tab_history": "السوابق",
        "emr_tab_consultations": "الاستشارات",
        "emr_tab_exams": "الفحوص",
        "emr_tab_contacts": "جهات الطوارئ",
        "emr_tab_documents": "المستندات",
        "emr_tab_timeline": "الخط الزمني",
        "btn_add_allergy": "+ حساسية",
        "btn_add_history": "+ سابق",
        "btn_add_contact": "+ جهة اتصال",
        "btn_add_document": "+ مستند",
        "emr_no_allergies": "لا توجد حساسيات مسجّلة",
        "emr_no_history": "لا توجد سوابق",
        "emr_no_consultations": "لا توجد استشارات",
        "emr_no_exams": "لا توجد فحوص",
        "emr_no_contacts": "لا توجد جهات طوارئ",
        "emr_no_documents": "لا توجد مستندات",
        "emr_no_timeline": "لا توجد أحداث في الخط الزمني",
        "modal_emr_allergy": "إضافة حساسية",
        "modal_emr_history": "إضافة سابق مرضي",
        "modal_emr_contact": "إضافة جهة طوارئ",
        "modal_emr_document": "إضافة مستند",
        "emr_field_substance": "المادة المسبّبة",
        "emr_field_severity": "الشدة",
        "emr_severity_unspecified": "— غير محدد —",
        "emr_allergy_severity_mild": "خفيفة",
        "emr_allergy_severity_moderate": "متوسطة",
        "emr_allergy_severity_severe": "شديدة",
        "emr_field_reaction": "رد الفعل",
        "emr_field_notes": "ملاحظات",
        "emr_field_category": "التصنيف",
        "emr_history_cat_medical": "مرضي",
        "emr_history_cat_surgical": "جراحي",
        "emr_history_cat_family": "عائلي",
        "emr_history_cat_other": "أخرى",
        "emr_field_title": "العنوان",
        "emr_field_onset_date": "تاريخ البداية",
        "emr_field_description": "الوصف",
        "emr_field_name": "الاسم",
        "emr_field_relation": "صلة القرابة",
        "emr_field_primary_contact": "جهة طوارئ رئيسية",
        "emr_field_doc_type": "نوع المستند",
        "emr_doc_type_lab": "تقرير مختبر",
        "emr_doc_type_imaging": "تصوير",
        "emr_doc_type_prescription": "وصفة",
        "emr_doc_type_report": "تقرير طبي",
        "emr_doc_type_other": "أخرى",
        "emr_field_file_url_optional": "رابط الملف (اختياري)",
        "emr_timeline_consultation": "استشارة",
        "val_allergy_substance_required": "المادة المسبّبة مطلوبة",
        "val_history_title_required": "العنوان مطلوب",
        "val_contact_name_required": "الاسم مطلوب",
        "val_document_title_required": "عنوان المستند مطلوب",
        "msg_saved_success": "تم الحفظ بنجاح",
        "blood_type": "فصيلة الدم",
        "last_visit": "آخر زيارة",
        "package": "الباقة",
        "items_imported": "عناصر مستوردة",
        "tab_roles": "الأدوار",
        "tab_users": "المستخدمون",
        "tab_page_permissions": "صلاحيات الصفحات",
        "add_role": "إضافة دور",
        "role_id_hint": "معرّف لاتيني صغير (a-z، أرقام، _)",
        "roles_manage_desc": "أنشئ أدواراً مخصصة وحدّد صلاحيات الصفحات في تبويب «صلاحيات الصفحات».",
        "page_permissions_desc": "حدد صفحات التطبيق الرئيسي التي يمكن لكل دور الوصول إليها.",
        "role_pages_readonly_hint": "عمود المدير العام للعرض فقط — وصول كامل.",
        "role_full_access": "وصول كامل",
        "confirm_delete_role": "حذف هذا الدور؟",
        "error_role_protected": "هذا الدور محمي ولا يمكن حذفه.",
        "role_superadmin": "مشرف النظام (Super Admin)",
        "roles": "الأدوار",
        "roles_multiple_hint": "يمكن تعيين عدة أدوار. يمتلك superadmin جميع الصلاحيات.",
        "roles_required": "اختر دوراً واحداً على الأقل",
        "error_permission_denied": "ليس لديك صلاحية لهذا الإجراء",
        "error_super_role_assign_forbidden": "لا يمكن تعيين دور superadmin",
        "error_super_user_modify_forbidden": "لا يمكن تعديل مستخدم superadmin",
        "error_last_superadmin": "يجب الإبقاء على مشرف نظام واحد على الأقل",
        "error_cannot_delete_self": "لا يمكن حذف حسابك",
        "password_keep_blank": "اتركه فارغاً للإبقاء على كلمة المرور الحالية",
        "error_super_role_permissions_locked": "صلاحيات مشرف النظام غير قابلة للتعديل.",
        "add_patient": "إضافة مريض",
        "years": "سنة",
        "suspended": "موقوف",
        "registration_intents": "طلبات التسجيل بانتظار الدفع",
        "intent_pending": "مسودة",
        "intent_awaiting_card": "بانتظار دفع البطاقة",
        "intent_awaiting_transfer": "بانتظار التحويل البنكي",
        "intent_paid": "مدفوع",
        "intent_rejected": "مرفوض",
        "intent_failed": "خطأ في الإنشاء",
        "intent_validated": "تم تفعيل الحساب",
        "intent_rejected_done": "تم رفض الطلب",
        "confirm_delete_intent": "حذف طلب التسجيل هذا؟ لن يُحذف حساب المنشأة إن كان قد أُنشئ.",
        "intent_deleted": "تم حذف طلب التسجيل.",
        "intent_delete_superadmin_only": "حذف الطلبات متاح للمشرف العام فقط.",
        "confirm_validate_transfer": "تأكيد التحويل البنكي",
        "enter_bank_reference": "مرجع التحويل البنكي المُستلم (اختياري):",
        "intent_email_verified_title": "التحقق من البريد",
        "intent_email_verified_hint": "بعد تأكيد التحويل يدوياً يمكن تفعيل الحساب دون رابط التحقق. التحقق بالبريد مطلوب فقط للدفع بالبطاقة.",
        "intent_activate_skip_email": "تفعيل دون التحقق من البريد",
        "intent_send_verify_email": "إرسال رابط التحقق",
        "intent_tenant_created": "الحساب المنشأ",
        "email": "البريد",
        "plan": "الخطة",
        "type": "النوع",
        "method": "الطريقة",
        "reference": "المرجع",
        "created_at": "تاريخ الإنشاء",
        "retry_provision": "إعادة إنشاء الحساب",
        "confirm_reject": "هل تريد رفض هذا الطلب؟",
        "enter_reject_reason": "سبب الرفض (سيُرسل للمستخدم):",
        "reject_reason_placeholder": "لم يتم استلام التحويل / معلومات ناقصة...",
        "filter_by_status": "الحالة",
        "filter_support_line": "خط الدعم",
        "all": "الكل",
        "approve": "موافقة",
        "reject": "رفض",
        "choose_payment_method": "اختر طريقة الدفع",
        "amount_to_pay": "المبلغ المستحق",
        "pay_by_card_aps": "بطاقة بنكية (APS.iq)",
        "pay_by_bank_transfer": "تحويل بنكي",
        "no_payment_method_available": "لا توجد طريقة دفع متاحة. تواصل مع الدعم.",
        "no_payment_method_configured": "لا توجد طريقة دفع مُعدّة للتسجيل. فعّل البطاقة (APS) أو التحويل البنكي من إعدادات الفواتير.",
        "redirecting_to_aps": "جاري التحويل إلى بوابة الدفع...",
        "bank_transfer_instructions": "تعليمات التحويل البنكي",
        "please_transfer_amount": "يرجى تحويل المبلغ التالي:",
        "account_holder": "صاحب الحساب",
        "bank_name": "اسم المصرف",
        "account_number": "رقم الحساب",
        "transfer_reference": "المرجع (مهم - يجب ذكره في التحويل)",
        "transfer_pending_review": "سيتم تفعيل حسابك تلقائياً بعد التحقق من الدفع. ستتلقى رسالة بريد إلكتروني للتأكيد.",
        "check_payment_status": "تتبع حالة الدفع",
        "upload_transfer_proof": "إرفاق إيصال التحويل (اختياري — PDF أو صورة)",
        "send_proof": "إرسال الإيصال",
        "select_file": "يرجى اختيار ملف.",
        "sending": "جاري الإرسال…",
        "proof_uploaded": "تم استلام الإيصال، شكراً.",
        "transfer_proof": "الإيصال",
        "transfer_proof_link": "فتح",
        "payment_config_title": "إعدادات الدفع للتسجيل",
        "payment_config_hint": "APS.iq (البطاقة البنكية) والتحويل البنكي للتسجيلات الجديدة. بدون هذه المعلمات، يُستخدم وضع المحاكاة.",
        "aps_section_title": "APS.iq (البطاقة البنكية)",
        "bank_section_title": "التحويل البنكي",
        "aps_enabled": "مفعّل",
        "aps_mode": "الوضع",
        "aps_simulate": "محاكاة محلية",
        "aps_channel": "وضع البطاقة",
        "aps_channel_demo": "تجريبي — بطاقات اختبار MIP",
        "aps_channel_production": "إنتاج — APS.iq الحقيقي",
        "aps_channel_hint": "التجريبي: نموذج بطاقة على المنصة وأرقام اختبار؛ النجاح ينشئ الحساب فوراً. الإنتاج: صفحة APS الحقيقية.",
        "aps_mode_test": "اختبار APS (sandbox)",
        "aps_mode_live": "إنتاج APS المباشر",
        "aps_prod_ready_hint": "أدخل بيانات التاجر وروابط API من بوابة APS. المنصة ترسل إلى /payments/sessions وتنتظر الـ webhook.",
        "aps_demo_cards_title": "أرقام البطاقات التجريبية",
        "aps_demo_cards_hint": "في التسجيل العام يظهر نموذج بطاقة. البطاقات الناجحة تنشئ الحساب فوراً. CVV ‏123 · تاريخ 12/29 أو أي تاريخ لاحق.",
        "aps_demo_cards_tap": "اضغط على بطاقة لتعبئة النموذج",
        "aps_demo_fill_card": "تعبئة هذه البطاقة",
        "aps_demo_test_name": "بطاقة اختبار",
        "aps_demo_result_paid_short": "مقبول",
        "aps_demo_pan": "رقم البطاقة",
        "aps_demo_brand": "النوع",
        "aps_demo_result": "النتيجة",
        "aps_demo_result_paid": "مقبول — يُنشأ الحساب",
        "aps_demo_result_declined": "مرفوض",
        "aps_demo_page_title": "دفع تجريبي بالبطاقة",
        "aps_demo_page_lead": "استخدم رقم بطاقة اختبار. لا يُرسل أي دفع حقيقي إلى APS.",
        "aps_demo_badge": "وضع تجريبي",
        "aps_demo_cardholder": "الاسم على البطاقة",
        "aps_demo_expiry": "الانتهاء (MM/YY)",
        "aps_demo_cvv": "CVV",
        "aps_demo_pay": "ادفع وأنشئ الحساب",
        "aps_demo_cards_cvv_exp": "CVV ‏123 · تاريخ الانتهاء 12/29",
        "aps_demo_pay_failed": "تعذر إتمام الدفع التجريبي",
        "aps_demo_redirect": "الانتقال إلى نموذج البطاقة التجريبية…",
        "demo_disabled": "الوضع التجريبي غير مفعّل",
        "demo_card_invalid": "بطاقة تجريبية غير صالحة (الرقم أو التاريخ أو CVV)",
        "demo_card_declined": "رُفضت البطاقة التجريبية",
        "provisioning_failed": "تعذّر إنشاء الحساب بعد الدفع — يمكنك إعادة المحاولة",
        "card_pay_retry_hint": "يمكنك تصحيح البيانات والمحاولة مرة أخرى دون فقدان جلسة التسجيل.",
        "card_pay_retry": "إعادة محاولة الدفع",
        "invalid_session": "جلسة الدفع غير صالحة",
        "aps_credentials_missing": "بيانات APS ناقصة (Merchant ID / Token / Secret)",
        "aps_disabled": "دفع البطاقة غير مفعّل",
        "aps_currency": "العملة",
        "aps_test_url": "رابط الاختبار",
        "aps_prod_url": "رابط الإنتاج",
        "aps_merchant_id": "معرّف التاجر",
        "aps_app_token": "App Token",
        "aps_app_secret": "App Secret",
        "aps_callback_secret": "Callback Secret (HMAC)",
        "plans_open_aps_config": "إعداد APS",
        "aps_config_real_title": "حالة APS الفعلية",
        "aps_runtime_disabled": "معطّل",
        "aps_runtime_simulation": "محاكاة (ليس APS حقيقي)",
        "aps_runtime_live_test": "APS حقيقي — وضع الاختبار",
        "aps_runtime_live_production": "APS حقيقي — الإنتاج",
        "aps_runtime_misconfigured": "ناقص (URL أو بيانات)",
        "aps_webhook_urls_title": "روابط APS (Webhook / Return)",
        "aps_callback_url": "Callback (Webhook)",
        "aps_return_url": "Return URL (نموذج)",
        "aps_webhook_hint": "انسخ هذه الروابط في لوحة APS. BASE_URL =",
        "aps_live_checklist": "لتفعيل APS الحقيقي: مفعّل = نعم، محاكاة = لا، معرّف التاجر + الرموز، وURL حسب الوضع.",
        "aps_cred_merchant_ok": "Merchant ID ✓",
        "aps_cred_merchant_miss": "Merchant ID مفقود",
        "aps_cred_token_ok": "App Token ✓",
        "aps_cred_token_miss": "App Token مفقود",
        "aps_cred_secret_ok": "App Secret ✓",
        "aps_cred_secret_miss": "App Secret مفقود",
        "aps_cred_callback_ok": "Callback Secret ✓",
        "aps_cred_callback_miss": "Callback Secret مفقود",
        "copy": "نسخ",
        "copied": "تم النسخ",
        "bank_transfer_enabled": "تفعيل التحويل البنكي",
        "bank_instructions_ar": "تعليمات (عربي)",
        "bank_instructions_en": "تعليمات (إنجليزي)",
        "yes": "نعم",
        "no": "لا",
        "intro_registration_intents_title": "طلبات تسجيل بانتظار الدفع",
        "intro_registration_intents_p1": "إدارة طلبات التسجيل: مراجعة التحويلات البنكية وتأكيد الدفع. يتم إنشاء حساب المنشأة تلقائياً بعد التحقق من الدفع.",
        "intro_registration_intents_aria": "مقدمة طلبات التسجيل",
        "admin_name_label": "اسم المسؤول",
        "billing_month": "شهر",
        "role_user": "مستخدم",
        "email_label": "البريد الإلكتروني",
        "phone_label": "الهاتف",
        "address_label": "العنوان",
        "governorate_label": "المحافظة",
        "city_label": "المدينة",
        "governorate_placeholder": "اختر المحافظة",
        "city_placeholder": "اختر المدينة",
        "governorate_required": "المحافظة إلزامية.",
        "city_required": "المدينة إلزامية.",
        "governorate_invalid": "المحافظة غير صالحة.",
        "city_invalid": "المدينة غير صالحة.",
        "iraq_geo_title": "المحافظات والمدن العراقية",
        "iraq_geo_desc": "الأسماء بالعربية فقط. تُستخدم في التسجيل وإنشاء المؤسسات.",
        "iraq_add_governorate": "إضافة محافظة",
        "iraq_add_city": "إضافة مدينة",
        "iraq_geo_name_ar": "الاسم بالعربية",
        "iraq_geo_in_use": "لا يمكن الحذف: العنصر مستخدم من قبل مؤسسة.",
        "iraq_geo_has_cities": "احذف المدن التابعة أولاً.",
        "iraq_geo_id_exists": "المعرّف موجود مسبقاً.",
        "iraq_geo_name_required": "الاسم العربي إلزامي.",
        "iraq_geo_not_found": "العنصر غير موجود.",
        "iraq_geo_invalid_id": "معرّف غير صالح.",
        "iraq_geo_active": "نشط",
        "license_label": "رقم الترخيص / الموافقة",
        "new_payment": "دفعة جديدة",
        "payment_download_invoice": "تحميل الفاتورة",
        "payment_send_invoice": "إرسال الفاتورة",
        "payment_invoice_sent": "تم إرسال الفاتورة إلى بريد العميل",
        "payment_invoice_send_failed": "تعذّر إرسال الفاتورة",
        "payment_invoice_download_failed": "تعذّر تحميل الفاتورة",
        "edit_payment": "تعديل الدفعة",
        "payment_client": "العميل",
        "payment_amount": "المبلغ (د.ع)",
        "payment_method": "طريقة الدفع",
        "payment_reference": "المرجع",
        "payment_status": "الحالة",
        "payment_status_pending": "قيد الانتظار",
        "payment_status_failed": "فشل",
        "payment_currency": "العملة",
        "payment_paid_at": "تاريخ التحصيل",
        "payment_paid_at_hint": "عند الحالة «مدفوع»: يمكن إدخال تاريخ سابق يدوياً.",
        "payment_paid_at_hint_required": "إلزامي — تاريخ ووقت التحصيل.",
        "payment_select_client": "— اختر عميلاً —",
        "create": "إنشاء",
        "amount_collected": "المبلغ المحصل",
        "reset_data_title": "إعادة تعيين كاملة للمنصة",
        "reset_data_desc": "حذف العملاء والمواقع والبيانات التشغيلية وإعادة التهيئة الافتراضية. تُحفظ قائمة الأدوية وإعدادات المنصة (SMTP وغيرها) وإعدادات قاعدة البيانات. سيتم تسجيل الخروج.",
        "reset_data_btn": "إعادة تعيين كاملة",
        "reset_data_confirm": "هل أنت متأكد؟ سيتم حذف العملاء والمواقع والبيانات التشغيلية وإعادة إنشاء الحساب الافتراضي (admin / password123). قائمة الأدوية وإعدادات SMTP/قاعدة البيانات لن تُحذف.",
        "reset_data_success": "تم إعادة تعيين البيانات بنجاح. يرجى تسجيل الدخول مرة أخرى.",
        "settings_demo_seed_title": "تثبيت بيانات تجريبية",
        "settings_demo_seed_desc": "إنشاء عملاء تجريبيين (صيدلية، مختبر، عيادات…) مع مدفوعات، اشتراكات، تذاكر دعم وفواتير نموذجية. لا يمس الإعدادات أو المستخدمين.",
        "settings_demo_seed_btn": "تثبيت بيانات التجربة",
        "settings_demo_seed_confirm": "تثبيت بيانات التجربة؟ سيتم إضافة أو تحديث العملاء التجريبيين والبيانات المرتبطة.",
        "settings_demo_seed_success": "تم تثبيت بيانات التجربة بنجاح.",
        "settings_business_reset_title": "إعادة تعيين البيانات التشغيلية",
        "settings_business_reset_desc": "حذف العملاء، المدفوعات، الاشتراكات، الدعم، الفواتير، المواقع والقيود المحاسبية — مع الإبقاء على المستخدمين والإعدادات والكتالوج وخطة الحسابات.",
        "settings_business_reset_btn": "إعادة تعيين البيانات التشغيلية",
        "settings_business_reset_confirm": "هل أنت متأكد؟ سيتم حذف جميع العملاء والمدفوعات والدعم والفواتير. الإعدادات والمستخدمين يبقون كما هم.",
        "settings_business_reset_success": "تمت إعادة تعيين البيانات التشغيلية. يمكنك تثبيت بيانات التجربة من جديد.",
        "session_expired": "انتهت الجلسة. يرجى تسجيل الدخول مرة أخرى.",
        "register_page_title": "تسجيل صيدلية - المنصة الطبية العراقية المدمجة",
        "back_login": "العودة لتسجيل الدخول",
        "back_register": "العودة للتسجيل",
        "register_hub_title": "التسجيل في المنصة",
        "register_hub_subtitle": "اختر نوع المؤسسة الطبية المناسبة لاحتياجاتك",
        "register_hub_tagline": "إدارة أسهل، رعاية أفضل",
        "register_start_now": "ابدأ الآن",
        "register_card_desc_clinic": "إدارة المواعيد، المرضى، الملفات الطبية والفواتير بسهولة",
        "register_card_desc_ph": "إدارة المخزون، المبيعات، الوصفات والتقارير المالية",
        "register_card_desc_lab": "إدارة التحاليل، النتائج، الأجهزة والمرضى",
        "register_card_desc_imaging": "إدارة الحجوزات، الأشعة، التقارير والمرضى",
        "register_card_desc_store": "إدارة المخزون، الموردين، الطلبات والمنتجات",
        "register_hub_feat_support": "دعم فني 24/7",
        "register_hub_feat_updates": "تحديثات مستمرة",
        "register_hub_feat_security": "بياناتك آمنة",
        "register_hub_feat_ease": "سهولة الاستخدام",
        "register_step_info": "المعلومات",
        "register_step_payment": "الدفع",
        "register_step_access": "الوصول",
        "pharmacist_name_label": "اسم الصيدلي",
        "pay_by_card_aps_hint": "دفع آمن عبر Arab Payment Services (APS) — العراق",
        "pay_by_bank_transfer_hint": "تحويل بنكي مع التحقق من قبل فريقنا",
        "register_status_title": "حالة التسجيل",
        "register_status_loading": "جاري التحميل…",
        "register_status_missing_id": "معرّف الطلب مفقود.",
        "register_status_not_found": "طلب التسجيل غير موجود.",
        "register_status_retry": "خطأ شبكة. إعادة المحاولة…",
        "register_status_intent_id": "معرّف الطلب",
        "register_status_access_account": "الدخول إلى حسابك",
        "register_status_paid": "تم الدفع — تم إنشاء الحساب",
        "register_status_awaiting_transfer": "بانتظار التحويل البنكي",
        "register_status_awaiting_card": "بانتظار الدفع بالبطاقة",
        "register_status_failed": "خطأ عند إنشاء الحساب",
        "register_status_rejected": "تم رفض الطلب",
        "prov_title": "جاري إنشاء حسابك وموقعك",
        "prov_step_payment": "تأكيد الدفع…",
        "prov_step_account": "إنشاء حسابك…",
        "prov_step_site": "تجهيز موقعك…",
        "prov_step_email": "إرسال رسائل الترحيب والفاتورة…",
        "prov_ready_title": "حسابك جاهز",
        "prov_ready_lead": "تم إنشاء حسابك وموقعك. احتفظ بهذه البيانات — أرسلناها أيضاً إلى بريدك.",
        "prov_site": "رابط الموقع",
        "prov_password_hint": "التي أدخلتها عند التسجيل — وهي في بريد الترحيب",
        "prov_emails_sent": "أرسلنا رسالة ترحيب وفاتورة الدفع إلى بريدك.",
        "prov_open_login": "دخول إلى حسابك",
        "prov_fail_title": "تعذّر إكمال إنشاء الحساب",
        "prov_fail_lead": "تم استلام الدفع لكن إنشاء الموقع لم يكتمل. تواصل مع الدعم وسنُكمل الحساب يدوياً.",
        "currency_iqd_short": "د.ع",
        "register_ph_page_title": "تسجيل صيدلية - المنصة الطبية العراقية المدمجة",
        "register_ph_title": "تسجيل صيدلية جديدة",
        "register_ph_subtitle": "أنشئ حسابك وابدأ بإدارة صيدليتك بسهولة",
        "register_ph_btn": "إنشاء حساب الصيدلية والبدء",
        "register_ph_card": "صيدلية",
        "register_store_page_title": "تسجيل مذخر - المنصة الطبية العراقية المدمجة",
        "register_store_title": "تسجيل مذخر جديد",
        "register_store_subtitle": "انضم إلى المنصة لإدارة مذخرك الطبي",
        "register_store_btn": "تسجيل المذخر",
        "register_store_card": "مخزن طبي",
        "store_plan": "باقة المذخر",
        "register_clinic_page_title": "تسجيل عيادة - المنصة الطبية العراقية المدمجة",
        "register_clinic_title": "تسجيل عيادة طبية جديدة",
        "register_clinic_subtitle": "انضم إلى المنصة لإدارة عيادتك الطبية",
        "register_clinic_btn": "تسجيل العيادة",
        "register_clinic_card": "عيادة طبية",
        "register_clinic_type": "نوع العيادة",
        "register_clinic_type_ph": "اختر نوع العيادة (ابن سينا)",
        "clinic_type_required": "يرجى اختيار نوع العيادة",
        "clinic_plan": "باقة العيادة الطبية",
        "register_lab_page_title": "تسجيل مختبر - المنصة الطبية العراقية المدمجة",
        "register_lab_title": "تسجيل مختبر تحليلات جديد",
        "register_lab_subtitle": "انضم إلى المنصة لإدارة مختبرك الطبي",
        "register_lab_btn": "تسجيل المختبر",
        "register_lab_card": "مختبر تحليلات",
        "lab_plan": "باقة المختبر",
        "register_imaging_page_title": "تسجيل مركز تصوير - المنصة الطبية العراقية المدمجة",
        "register_imaging_title": "تسجيل مركز تصوير طبي جديد",
        "register_imaging_subtitle": "انضم إلى المنصة لإدارة مركز التصوير الطبي",
        "register_imaging_btn": "تسجيل مركز التصوير",
        "register_imaging_card": "مركز تصوير طبي",
        "imaging_plan": "باقة مركز التصوير",
        "imaging": "مركز تصوير",
        "register_title": "تسجيل صيدلية جديدة",
        "register_subtitle": "انضم إلى المنصة الطبية العراقية المدمجة لإدارة صيدليتك",
        "pharmacy_plan": "باقة الصيدلية",
        "month": "شهر",
        "billing_months": "عدد الأشهر",
        "billing_months_hint": "المبلغ الإجمالي = سعر الباقة × عدد الأشهر المختارة.",
        "billing_total": "الإجمالي",
        "pharmacy_name_ph": "مثال: صيدلية السلام",
        "register_name_label_ph": "اسم الصيدلية",
        "register_name_label_clinic": "اسم العيادة",
        "register_name_label_lab": "اسم المختبر",
        "register_name_label_imaging": "اسم مركز التصوير",
        "register_name_label_store": "اسم المذخر",
        "register_name_label_hospital": "اسم المستشفى",
        "register_name_ph_clinic": "مثال: عيادة النور",
        "register_name_ph_lab": "مثال: مختبر الرافدين",
        "register_name_ph_imaging": "مثال: مركز الأشعة الحديث",
        "register_name_ph_store": "مثال: مذخر السلام",
        "register_name_ph_hospital": "مثال: مستشفى بغداد",
        "lang_switch_aria": "اللغة",
        "intent_not_found": "طلب التسجيل غير موجود.",
        "plan_not_found": "الباقة غير موجودة.",
        "register_btn": "تسجيل الصيدلية",
        "registering": "جاري التسجيل...",
        "success_msg": "تم التسجيل بنجاح! موقعك متاح على:",
        "error_msg": "حدث خطأ أثناء التسجيل",
        "error_connection": "تعذر الاتصال بالخادم. تحقق من الاتصال وحاول مرة أخرى.",
        "error_server": "خطأ في الخادم. يرجى المحاولة لاحقاً.",
        "field_required": "هذا الحقل مطلوب",
        "field_unknown": "حقل",
        "form_errors_title": "يرجى تصحيح النموذج",
        "form_error_on_field": "خطأ في",
        "form_errors_hint": "راجع الحقول المميزة باللون الأحمر أدناه.",
        "toast_warning_title": "تنبيه",
        "invalid_email": "صيغة البريد الإلكتروني غير صحيحة",
        "email_required": "البريد الإلكتروني مطلوب لإرسال بيانات الدخول",
        "user_access_email_hint": "سيُرسل اسم المستخدم وكلمة المرور ورابط المنصة الرئيسية إلى هذا البريد.",
        "user_access_email_failed": "تم إنشاء الحساب لكن تعذر إرسال بريد بيانات الدخول. تحقق من إعدادات SMTP.",
        "invalid_phone": "رقم الهاتف غير صالح (8–15 رقماً، يمكن + ومسافات و -)",
        "subscription_amount_invalid": "مبلغ غير صالح (رقم موجب مطلوب).",
        "subscription_amount_ph": "مثال: 150000",
        "payment_client_required": "اختر عميلاً.",
        "payment_amount_invalid": "المبلغ غير صالح (عدد صحيح ≥ 0).",
        "payment_paid_at_invalid": "تاريخ أو وقت غير صالح.",
        "payment_reference_ph": "مرجع، رقم عملية، شيك…",
        "drug_trade_one_required": "أدخل الاسم التجاري بالعربية أو الإنجليزية (أحدهما على الأقل)",
        "password_min": "6 أحرف على الأقل",
        "password_rules_hint": "٨ أحرف على الأقل، منها حرف كبير وحرف صغير ورقم ورمز (!@#…)",
        "email_templates_title": "قوالب البريد الإلكتروني",
        "email_templates_desc": "إنشاء قوالب HTML ثنائية اللغة (عربي/إنجليزي). الاسم الآلي يُستخدم من قبل النظام.",
        "email_templates_system_title": "قوالب النظام (تلقائية)",
        "email_templates_system_intro": "يُنصح بعدم تغيير الاسم الآلي لهذه القوالب. يمكن تعديل العناوين والـ HTML. الإشعارات للإدارة تُرسل بالعربية (قالب html_ar) ما لم يُضبط غير ذلك لاحقاً.",
        "email_tpl_row_verification": "verification — تفعيل البريد للمستخدم بعد التسجيل",
        "email_tpl_row_registration_admin": "registration_admin — إشعار إدارة المنصة عند تسجيل منشأة جديدة",
        "email_tpl_row_drug_request": "drug_request_review — طلب إضافة دواء من مستأجر (حالة مراجعة)",
        "email_tpl_row_drug_approved": "drug_request_approved — إشعار المنشأة بعد قبول الدواء",
        "email_tpl_row_drug_rejected": "drug_request_rejected — إشعار المنشأة بعد رفض الدواء (مع السبب)",
        "email_tpl_row_ticket": "ticket_new_admin — تذكرة دعم جديدة",
        "email_tpl_row_ticket_thread": "ticket_thread_notify — إشعار عند كل رد على تذكرة الدعم",
        "email_tpl_row_transfer": "registration_transfer_instructions — تعليمات التحويل البنكي للعميل",
        "email_tpl_row_transfer_admin": "registration_transfer_admin — إشعار الإدارة بطلب تحويل بنكي",
        "email_tpl_row_payment_ok": "registration_payment_confirmed — تأكيد الدفع وتفعيل الحساب",
        "email_tpl_row_payment_ko": "registration_payment_rejected — رفض التسجيل / الدفع",
        "email_tpl_row_tenant_activation": "tenant_activation — حساب منشأة أنشئ من الإدارة (بانتظار التفعيل)",
        "email_tpl_row_tenant_access": "tenant_access — اسم المستخدم وكلمة المرور ورابط الدخول بعد التحقق أو الإنشاء من الإدارة",
        "email_tpl_row_platform_user": "platform_user_access — بيانات دخول مستخدم المنصة الرئيسية (اسم المستخدم، كلمة المرور، رابط MIP Main)",
        "email_tpl_row_welcome": "welcome / welcome_greeting — ترحيب كامل بعد الدفع (شكر، رابط الموقع، اسم المستخدم وكلمة المرور)",
        "email_tpl_row_greeting": "greeting — رسالة الترحيب والشكر بعد إنشاء الحساب (نفس محتوى welcome)",
        "email_tpl_row_invoice": "payment_invoice — فاتورة / إيصال الدفع بعد إنشاء الحساب",
        "email_tpl_row_provision_fail": "registration_provisioning_failed — الدفع نجح لكن إنشاء الموقع تعذّر (للعميل)",
        "email_tpl_row_provision_fail_admin": "registration_provisioning_failed_admin — تنبيه الإدارة عند فشل التجهيز بعد الدفع",
        "email_tpl_row_transfer_proof": "transfer_proof_received — تأكيد استلام إيصال التحويل البنكي للعميل",
        "email_tpl_row_transfer_proof_admin": "transfer_proof_admin — إشعار الإدارة بإيصال تحويل جديد",
        "email_tpl_row_password_reset": "password_reset — رابط إعادة تعيين كلمة المرور",
        "email_tpl_placeholders_hint": "استخدم {{variable}} في العنوان والـ HTML. أمثلة: {{verify_url}}، {{pharmacy_name}}، {{tenant_name}}، {{drug_id}}، {{ticket_id}}…",
        "email_tpl_chrome_title": "الرأس والذيل المشتركان",
        "email_tpl_chrome_intro": "كل رسالة تُبنى من ثلاثة أجزاء: الرأس (شعار المنصة) ثم نص القالب ثم الذيل (حقوق النشر). عدّل الرأس والذيل هنا؛ يسريان على كل الرسائل دون تعديل كل قالب على حدة.",
        "email_tpl_chrome_header_slot": "رأس الرسالة — شعار المنصة",
        "email_tpl_chrome_body_slot": "هنا يظهر نص القالب (العنوان، التفاصيل، زر الإجراء)",
        "email_tpl_chrome_preview": "معاينة الهيكل",
        "email_tpl_edit_header": "تعديل الرأس",
        "email_tpl_edit_footer": "تعديل الذيل",
        "email_tpl_layout_hint": "هذا الجزء يُدرج في كل رسالة. استخدم {{logo_url}}، {{platform_name}}، {{platform_tagline}}، {{copyright_holder}}، {{year}}، {{platform_url}}. لا تضع وسم html/body — النظام يغلّف الرسالة.",
        "email_tpl_layout_machine_hint": "اسم ثابت يستخدمه النظام لتجميع الرأس أو الذيل. لا تغيّره.",
        "email_tpl_layout_no_delete": "لا يمكن حذف رأس أو ذيل الرسالة المشتركين.",
        "email_tpl_send_preview": "إرسال معاينة",
        "email_tpl_send_preview_prompt": "أدخل عنوان البريد لرؤية شكل القالب (بيانات تجريبية).",
        "email_tpl_send_preview_ok": "تم إرسال المعاينة. تحقق من صندوق الوارد (أو الرسائل غير المرغوب فيها).",
        "email_tpl_send_preview_fail": "تعذر إرسال المعاينة",
        "notify_email_env_hint": "توجيه الإشعارات: متغير البيئة MIP_NOTIFY_EMAIL (عناوين مفصولة بفاصلة) أو البريد «المرسل» في SMTP.",
        "support_notify_emails": "بريد إشعارات الدعم",
        "support_notify_emails_hint": "عناوين تستقبل إنشاء التذاكر وكل الردود (فاصلة أو سطر جديد). إن تُركت فارغة يُستخدم MIP_NOTIFY_EMAIL أو بريد المُرسل SMTP.",
        "add_email_template": "إضافة قالب",
        "machine_name": "الاسم الآلي",
        "machine_name_hint": "مثال: verification, welcome, password_reset",
        "subject_ar": "العنوان (عربي)",
        "subject_en": "العنوان (إنجليزي)",
        "html_ar": "HTML (عربي)",
        "html_en": "HTML (إنجليزي)",
        "smtp_settings": "إعدادات SMTP",
        "smtp_settings_desc": "تكوين خادم البريد للإرسال (التحقق، الإشعارات).",
        "smtp_host": "خادم SMTP",
        "smtp_port": "المنفذ",
        "smtp_user": "المستخدم",
        "smtp_pass": "كلمة المرور",
        "smtp_pass_placeholder": "اتركه فارغاً للإبقاء على الحالي",
        "smtp_pass_hint": "اتركه فارغاً للإبقاء على كلمة المرور الحالية",
        "smtp_use_tls": "استخدام TLS",
        "smtp_encryption": "طريقة التشفير",
        "email_from": "البريد المرسل (From)",
        "smtp_from_match_hint": "لدى OVH وGmail يجب أن يطابق المرسل حساب SMTP (أو يكون اسماً مستعاراً لنفس الصندوق).",
        "smtp_test_hint": "بعد إكمال إعدادات SMTP، أدخل عنواناً وأرسل رسالة اختبار.",
        "smtp_test_title": "اختبار الإرسال",
        "smtp_test_to": "عنوان الاختبار",
        "smtp_test_send": "إرسال اختبار",
        "smtp_test_ok": "تم إرسال رسالة الاختبار. تحقق من صندوق الوارد.",
        "smtp_err_incomplete": "أكمل خادم SMTP واسم المستخدم وكلمة المرور قبل الإرسال.",
        "smtp_err_invalid_email": "أدخل عنوان بريد إلكتروني صالح للاختبار.",
        "smtp_err_auth": "اسم المستخدم أو كلمة مرور SMTP غير صحيحة.",
        "smtp_err_unreachable": "تعذر الوصول إلى خادم SMTP. تحقق من العنوان والمنفذ.",
        "smtp_err_tls": "فشل الاتصال الآمن (TLS/SSL). تحقق من المنفذ (587 مع STARTTLS أو 465 مع SSL) وطريقة التشفير.",
        "smtp_err_sender": "عنوان المرسل يجب أن يكون صندوق SMTP (أو اسماً مستعاراً له). لدى OVH/Gmail تُرفض عناوين أخرى مثل noreply إن لم تكن الحساب.",
        "smtp_err_generic": "تعذر إرسال البريد. تحقق من إعدادات SMTP ثم أعد المحاولة.",
        "clear_cache": "مسح الذاكرة المؤقتة",
        "cache_cleared": "تم مسح الذاكرة المؤقتة",
        "apply_updates_tooltip": "تطبيق التحديثات (مزامنة قاعدة البيانات، إعادة التشغيل اختياري)",
        "apply_updates_confirm": "تطبيق تحديثات المنصة؟ سيتم مزامنة الترجمة والجدول، وقد يُشغّل سكربت إعادة التشغيل إن وُجد في الإعدادات.",
        "apply_updates_success": "تم تطبيق التحديثات على الخادم.",
        "apply_updates_failed": "فشل تطبيق التحديثات",
        "apply_updates_external_launched": "تم تشغيل أمر إعادة التشغيل الخارجي (إن وُجد). انتظر قليلاً ثم حدّث الصفحة.",
        "upgrade_available_title": "تحديث متاح",
        "upgrade_available_msg": "تتوفر تحديثات لقاعدة بيانات المنصة. نفّذ ثم أعد تشغيل المنصة.",
        "upgrade_version_line": "إصدار الملفات {{to}} — الإصدار المطبَّق {{from}}",
        "upgrade_execute_restart": "تنفيذ وإعادة التشغيل",
        "upgrade_pending_none": "لا توجد ترقيات مخطط بانتظار التطبيق.",
        "upgrade_applying": "جاري تطبيق التحديثات وإعادة التشغيل. انتظر ثم ستُحدَّث الصفحة.",
        "upgrade_treat_title": "نخلة العراق تنمو مع التحديث",
        "upgrade_treat_hint": "يرجى الانتظار ولا تغلق هذه الصفحة.",
        "upgrade_treat_step_scan": "تهيئة التربة وري الجذور…",
        "upgrade_treat_step_treat": "نمو السعف وثمار التمر…",
        "upgrade_treat_step_heal": "النخلة تثبت في أرض الرافدين…",
        "upgrade_treat_step_done": "اكتمل النمو — الانتقال إلى لوحة التحكم",
        "sort_by": "ترتيب حسب",
        "filter_all": "الكل",
        "filter_by_type": "النوع",
        "sort_date": "التاريخ",
        "sort_name": "الاسم",
        "open_site_login": "فتح الموقع (صفحة تسجيل الدخول)",
        "tenant_site_disabled": "الموقع معطّل — العميل موقوف",
        "deactivate": "تعطيل",
        "confirm_deactivate_tenant": "تعطيل هذا العميل؟ لن يتمكن المستخدمون من تسجيل الدخول. البيانات والموقع محفوظان.",
        "tenant_deactivated": "تم تعطيل العميل. الرابط لم يعد متاحاً.",
        "tenant_access_disabled": "هذا الموقع معطّل. تواصل مع إدارة المنصة.",
        "tenant_delete_disabled": "حذف الزبائن غير مسموح. استخدم التعطيل.",
        "tenant_delete_superadmin_only": "حذف الزبائن متاح للمشرف العام فقط.",
        "demo_tenant_protected": "لا يمكن حذف مواقع التجربة.",
        "platform_tenant_protected": "لا يمكن حذف حساب المنصة.",
        "confirm_delete_tenant": "حذف هذا العميل؟ سيُحذف مجلد الموقع. قاعدة البيانات تبقى محفوظة ولن يظهر في القائمة.",
        "tenant_deleted": "تم حذف العميل.",
        "confirm_delete_site": "حذف الموقع؟ سيتم حذف المجلد sites/. قاعدة البيانات محفوظة.",
        "site_deleted": "تم حذف الموقع. قاعدة البيانات محفوظة.",
        "confirm_revoke_key": "إلغاء هذه المفتاح؟ لن يعمل بعد الآن.",
        "revoke": "إلغاء",
        "confirm_activate_tenant": "تفعيل هذا العميل؟ سيتمكن المستخدمون من تسجيل الدخول.",
        "api_keys": "مفاتيح API",
        "create_key": "إنشاء مفتاح",
        "key_name": "الاسم",
        "key_prefix": "البادئة",
        "no_keys": "لا توجد مفاتيح",
        "key_created_copy": "تم إنشاء المفتاح! انسخه (يُعرض مرة واحدة فقط):",
        "tenant_id_copied": "تم نسخ معرّف العميل: {{id}}",
        "select_tenant": "اختر العميل",
        "tenant": "العميل",
        "name": "الاسم",
        "resource": "المورد",
        "id": "المعرف",
        "pharmacist_info": "المعلومات الصيدلانية",
        "pharmacist_name_ph": "مثال: د. أحمد محمد",
        "register_username_ph": "اختر اسم مستخدم",
        "register_phone_iqd_ph": "7XX XXX XXXX",
        "register_address_ph": "أدخل عنوان المنشأة بالتفصيل",
        "register_license_ph": "أدخل رقم الترخيص أو الموافقة",
        "register_no_long_contract": "بدون عقد طويل الأمد",
        "register_trust_safe": "بياناتك محمية وآمنة",
        "register_trust_edit_later": "يمكنك تعديل معلومات المنشأة لاحقاً من لوحة التحكم",
        "register_legal_agree": "بالتسجيل، أنت توافق على",
        "register_legal_and": "و",
        "register_terms": "شروط الاستخدام",
        "register_privacy": "سياسة الخصوصية",
        "register_step_verify": "التحقق والانتهاء",
        "register_step_review": "المراجعة والدفع",
        "register_wizard_next": "التالي",
        "register_wizard_back": "رجوع",
        "register_review_hint": "تحقق من البيانات ثم أكّد الاشتراك.",
        "register_support_title": "مساعدة التسجيل",
        "register_support_sub": "مشكلة أثناء التسجيل؟ تواصل مع فريق الدعم مباشرة.",
        "register_support_call": "اتصال",
        "register_support_live": "دعم مباشر",
        "settings_register_title": "صفحات التسجيل",
        "settings_register_desc": "مدة العقد المسموحة، أرقام الدعم، وإحصائيات الزيارات.",
        "settings_register_months": "أشهر الاشتراك المسموحة",
        "settings_register_months_hint": "قيم مفصولة بفاصلة، مثال: 1,3,6,12 (حتى 60 شهراً).",
        "settings_register_phone": "هاتف دعم التسجيل",
        "settings_register_whatsapp": "واتساب الدعم",
        "settings_register_support_url": "رابط الدعم المباشر",
        "settings_legal_title": "العنوان والصفحات القانونية",
        "settings_legal_desc": "عنوان الشركة وشروط الاستخدام وسياسة الخصوصية المعروضة في صفحات التسجيل.",
        "settings_company_address_ar": "عنوان الشركة (عربي)",
        "settings_company_address_en": "عنوان الشركة (إنجليزي)",
        "settings_company_address_ph": "الاسم القانوني، العنوان، الهاتف، البريد…",
        "settings_legal_terms": "شروط الاستخدام",
        "settings_legal_privacy": "سياسة الخصوصية",
        "settings_legal_hint": "تُعرض الروابط في نموذج التسجيل. المعاينة: /register/legal.html",
        "legal_page_back": "العودة للتسجيل",
        "legal_page_empty": "لم يتم إعداد هذا المحتوى بعد.",
        "settings_register_stats": "زيارات صفحات التسجيل",
        "settings_register_stats_30d": "30 يوماً",
        "register_password_ph": "8 أحرف على الأقل، تتضمن حرفاً ورقماً",
        "register_hospital_card": "مستشفى",
        "register_card_desc_hospital": "إدارة الأقسام، المرضى، الصيدلية الداخلية والفوترة",
        "pharmacy_info": "معلومات الصيدلية",
        "year": "سنة",
        "login_toggle_password": "إظهار أو إخفاء كلمة المرور",
        "login_forgot_title": "استعادة كلمة المرور",
        "login_forgot_intro": "أدخل البريد الإلكتروني المرتبط بحسابك. إن وُجد حساب، ستصلك تعليمات إعادة التعيين.",
        "login_forgot_email_placeholder": "البريد الإلكتروني",
        "login_forgot_submit": "إرسال الرابط",
        "login_forgot_back": "العودة لتسجيل الدخول",
        "login_forgot_sending": "جاري الإرسال...",
        "login_forgot_success": "إن وُجد حساب مرتبط بهذا البريد، ستصلك رسالة لإعادة تعيين كلمة المرور.",
        "login_forgot_error_email": "يرجى إدخال بريد إلكتروني صالح.",
        "login_forgot_error_network": "تعذّر الاتصال بالخادم. تحقق من الشبكة وحاول مرة أخرى.",
        "login_forgot_error_generic": "تعذّر إرسال الطلب. حاول لاحقاً.",
        "login_reset_title": "تعيين كلمة مرور جديدة",
        "login_reset_intro": "أدخل كلمة مرور جديدة لحسابك.",
        "login_reset_password": "كلمة المرور الجديدة",
        "login_reset_password_confirm": "تأكيد كلمة المرور",
        "login_reset_submit": "حفظ كلمة المرور",
        "login_reset_saving": "جاري الحفظ...",
        "login_reset_success": "تم تحديث كلمة المرور. يمكنك تسجيل الدخول الآن.",
        "reset_token_invalid": "رابط إعادة التعيين غير صالح.",
        "reset_token_expired": "انتهت صلاحية رابط إعادة التعيين. اطلب رابطاً جديداً.",
        "password_mismatch": "كلمتا المرور غير متطابقتين.",
        "register_loading": "جاري التحميل…",
        "pay_by_card_demo": "بطاقة بنكية — وضع تجريبي",
        "pay_by_card_demo_hint": "بطاقات اختبار — بدون خصم حقيقي",
        "bank_transfer_not_configured": "التحويل البنكي غير مُعدّ. تواصل مع الدعم أو اختر الدفع بالبطاقة.",
        "pay_chip_card": "بطاقة",
        "pay_chip_bank": "تحويل بنكي",
        "preparing_card_form": "جاري تجهيز نموذج البطاقة...",
        "card_embed_back": "العودة لطرق الدفع",
        "card_embed_secure": "دفع آمن — لا تُحفظ بيانات البطاقة على الخادم"
    },
    "en": {
        "app_title": "The Iraqi Medical Integrated Platform",
        "page_title_dashboard": "Main Dashboard - The Iraqi Medical Integrated Platform",
        "cancel": "Cancel",
        "demo_no_data": "No data",
        "confirm_delete": "Are you sure you want to delete this item?",
        "no_connection": "Server unavailable. Please try again later. · الخادم غير متاح. يرجى المحاولة لاحقاً.",
        "server_unavailable": "Server unavailable · الخادم غير متاح",
        "notifications_title": "Notifications",
        "profile_menu": "My Profile",
        "notif_drug_pending": "📋 New drug request pending approval",
        "notif_facility_registered": "🏥 New facility registered",
        "notif_payment_matched": "💳 New payment matched",
        "inactive": "Inactive",
        "add": "Add",
        "pending": "Pending",
        "hospitals": "Hospitals",
        "verifying": "Verifying...",
        "busy_executing": "Working…",
        "busy_executing_sub": "Please wait until the operation completes",
        "nav_dashboard": "Overview (Dashboard)",
        "nav_desktop": "Desktop",
        "nav_group_platform": "Platform Management",
        "nav_group_finance": "Finance & Billing",
        "nav_group_support": "Support & Tickets",
        "nav_group_settings": "Platform & Settings",
        "nav_tenants": "Clients & Facilities",
        "nav_drugs": "Unified Drugs List",
        "drugs_tab_list": "Catalog",
        "drugs_list_main": "Main list",
        "drugs_list_waiting": "Waiting list",
        "drugs_list_toggle_hint": "Main list: approved drugs. Waiting list: pending or declined review.",
        "nav_patients": "Unified Patients Registry",
        "nav_diseases": "Unified Diseases List",
        "diseases_page_desc": "Shared disease catalogue by specialty — used by medical clinics",
        "disease_icd_code": "ICD code",
        "disease_name_ar": "Disease name (AR)",
        "disease_name_en": "Disease name (EN)",
        "disease_specialty": "Specialty",
        "disease_synonyms_ar": "Synonyms (AR)",
        "disease_synonyms_en": "Synonyms (EN)",
        "disease_add": "Add disease",
        "disease_edit": "Edit disease",
        "diseases_all_specialties": "All specialties",
        "diseases_import": "Import CSV / Excel",
        "diseases_export": "Export CSV / Excel",
        "diseases_import_title": "Import diseases list",
        "diseases_import_hint": "Upload a CSV or Excel file, then map each database column to a file column.",
        "diseases_import_upload": "Drop a file here or click to choose (.csv / .xlsx / .xls)",
        "diseases_import_file_types": "Unsupported format. Use CSV or Excel (.xlsx / .xls).",
        "diseases_import_map_title": "Column matching",
        "diseases_import_map_hint": "For each database field, pick the matching file column. Fields marked * are required.",
        "diseases_import_db_col": "Database column",
        "diseases_import_file_col": "File column",
        "diseases_import_sample": "Sample",
        "diseases_import_skip": "— Skip —",
        "diseases_import_col_id": "ID",
        "diseases_import_col_sort": "Sort order",
        "diseases_import_on_duplicate": "If the disease already exists",
        "diseases_import_dup_update": "Update the existing row (ICD code or name + specialty)",
        "diseases_import_dup_skip": "Skip existing rows",
        "diseases_import_preview": "Preview without saving",
        "diseases_import_submit": "Import",
        "diseases_import_need_map": "Map at least Arabic name and specialty.",
        "diseases_import_rows_ready": "{{count}} rows ready to match",
        "diseases_import_preview_summary": "Preview: {{created}} new, {{updated}} update, {{skipped}} skip, {{errors}} error — of {{total}} rows.",
        "diseases_import_success": "Imported: {{created}} new, {{updated}} update, {{skipped}} skip, {{errors}} error — of {{total}} rows.",
        "diseases_import_errors_title": "Row errors",
        "diseases_import_error_col": "Message",
        "diseases_export_hint": "Export all diseases with database columns (for a later re-import).",
        "diseases_export_csv": "Download CSV",
        "diseases_export_xlsx": "Download Excel",
        "column_map_required": "Arabic name and specialty must be mapped.",
        "xls_legacy_not_supported": "Could not read this legacy Excel file. Save it as .xlsx.",
        "too_many_rows": "Too many rows in the file.",
        "nav_registration_intents": "Registration intents",
        "nav_onboarding": "My applications",
        "nav_subscriptions": "Subscriptions & Payments",
        "nav_plans": "Plans & Pricing",
        "nav_payments": "Payments",
        "nav_accounting": "Accounting & Finance",
        "nav_support": "Support & Tasks",
        "nav_ads": "Ads & Notifications",
        "nav_client_support": "Live support",
        "platform_users_title": "Central Platform Licenses & Users",
        "nav_email_templates": "Email Templates",
        "nav_user_guide": "User guide",
        "nav_settings": "Platform Settings",
        "nav_audit": "Audit Logs",
        "nav_translations": "Translations Management",
        "nav_press": "Monitoring",
        "logout": "Logout",
        "back_to_top": "Back to top",
        "login_page_title": "Login - The Iraqi Medical Integrated Platform",
        "login_subtitle": "Main Dashboard (MIP Main)",
        "username_label": "Username",
        "password_label": "Password",
        "username_placeholder": "Enter username",
        "password_placeholder": "Enter password",
        "username_required": "Please enter username",
        "password_required": "Please enter password",
        "error_login_invalid": "Invalid username or password",
        "error_login_connection": "Server connection error. Check api_base_url in config.json",
        "error_server_config": "Server configuration error.",
        "env_check_ok": "Server connection OK ✓",
        "env_check_loading": "Verifying server connection...",
        "env_check_failed": "Connection check failed",
        "env_check_title": "⚠️ Environment issue",
        "error_login_required": "Username and password are required",
        "remember_me": "Remember me",
        "forgot_password": "Forgot password?",
        "forgot_password_msg": "Enter your email to receive a reset link.",
        "login_btn": "Log in",
        "register_link": "Register new facility",
        "login_or": "or",
        "login_2fa_intro": "Enter the verification code sent to your account to finish signing in.",
        "login_2fa_code_label": "Verification code",
        "login_2fa_verify": "Verify",
        "login_2fa_resend": "Resend code",
        "login_2fa_code_required": "Enter the 6-digit code.",
        "login_2fa_invalid": "Invalid verification code.",
        "login_2fa_expired": "This code has expired. Sign in again.",
        "login_2fa_locked": "Too many attempts. Sign in again.",
        "login_2fa_no_contact": "No email or phone is set for this user to send a code.",
        "login_2fa_no_phone": "No phone number is set to send an SMS code.",
        "login_2fa_send_failed": "Could not send the verification code. Check email or SMS settings.",
        "login_2fa_sms_not_configured": "SMS gateway is not configured. Add the send URL in settings.",
        "login_2fa_resend_wait": "Please wait before requesting another code.",
        "login_2fa_resend_limit": "Resend limit reached. Sign in again.",
        "login_2fa_dev_code": "Dev code:",
        "user_phone_2fa_hint": "Used to send the login code by SMS when two-factor authentication is on.",
        "settings_2fa_title": "Two-factor authentication (login)",
        "settings_2fa_desc": "After the password, a code is sent by email or SMS. Turn this off for direct login.",
        "settings_2fa_enable": "Enable two-factor authentication",
        "settings_2fa_channel": "Delivery channel",
        "settings_2fa_channel_email": "Email",
        "settings_2fa_channel_sms": "SMS",
        "settings_2fa_channel_both": "Email and SMS",
        "settings_sms_url": "SMS gateway URL",
        "settings_sms_key": "SMS API key",
        "settings_sms_sender": "Sender name",
        "settings_sms_test": "Test SMS",
        "settings_sms_test_phone": "Test number",
        "settings_sms_phone_required": "Enter a phone number to test.",
        "settings_sms_url_required": "Enter the SMS gateway URL.",
        "settings_sms_test_ok": "Test message sent.",
        "sms_send_failed": "SMS send failed.",
        "sms_phone_required": "Phone number is required.",
        "login_footer": "© 2026 The Iraqi Medical Integrated Platform. All rights reserved.",
        "loading_data": "Loading data...",
        "error_loading": "Error loading data. Please check connection.",
        "license_number_required": "License / permit number is required.",
        "topbar_welcome_title": "Welcome to The Iraqi Medical Integrated Platform",
        "topbar_welcome_sub": "Overview of today's platform performance",
        "search_placeholder": "Quick search (facility, drug, patient)...",
        "admin_name": "System Admin",
        "admin_role": "General Manager",
        "desktop_title": "Desktop",
        "desktop_search_placeholder": "Search for an app...",
        "desktop_add_app": "Add App",
        "desktop_manage": "Manage Apps",
        "footer_tagline": "Together towards a smart and advanced health sector in Iraq",
        "active": "Active",
        "approved": "Approved",
        "needs_review": "Needs review",
        "status_open": "Open",
        "status_closed": "Closed",
        "in_progress": "In progress",
        "payment_status_paid": "Paid",
        "dash_kpi_pharmacies": "Total pharmacies",
        "dash_kpi_facilities": "Total registered facilities",
        "dash_kpi_drugs": "Total drugs",
        "dash_kpi_open_tickets": "Open tickets",
        "dash_kpi_revenue": "Total revenue",
        "dash_trend_from_last_month": "from last month",
        "dash_currency_iqd": "IQD",
        "dash_overview_title": "Comprehensive overview",
        "dash_last_7_days": "7 days",
        "dash_last_30_days": "30 days",
        "dash_last_90_days": "90 days",
        "dash_chart_tooltip_day": "Day",
        "dash_legend_new_pharmacies": "New pharmacies",
        "dash_legend_new_facilities": "New facilities",
        "dash_legend_new_drugs": "New drugs",
        "dash_legend_tickets": "Tickets",
        "dash_chart_aria": "Platform performance chart",
        "dash_system_status": "System status",
        "dash_active_facilities": "Active facilities",
        "dash_active_subscriptions": "Active subscriptions",
        "dash_total_drugs": "Total drugs",
        "dash_open_tickets": "Open tickets",
        "dash_response_rate": "Response rate",
        "dash_all_systems_ok": "All systems operating normally",
        "dash_last_updated": "Last updated 5 minutes ago",
        "dash_entities_title": "Registered entities distribution",
        "dash_widgets_section": "Custom widgets",
        "dash_add_widget": "Add widget",
        "dash_add_widget_desc": "Add a line chart or pie widget to your dashboard",
        "dash_add_widget_aria": "Add new widget",
        "dash_widget_modal_title": "Add widget",
        "dash_widget_type": "Type",
        "dash_widget_type_line": "Line chart",
        "dash_widget_type_pie": "Pie chart",
        "dash_widget_title": "Title",
        "dash_widget_source": "Data source",
        "dash_widget_period": "Period",
        "dash_widget_remove": "Remove widget",
        "dash_widget_added": "Widget added",
        "dash_widget_source_entities": "Entities distribution",
        "dash_widget_source_drug_status": "Drug request status",
        "dash_widget_source_ticket_status": "Ticket status",
        "dash_widget_source_subscriptions": "Subscription status",
        "dash_widget_source_facilities_daily": "New facilities (daily)",
        "dash_widget_source_drugs_daily": "New drugs (daily)",
        "dash_widget_source_tickets_daily": "Tickets (daily)",
        "dash_widget_source_payments_daily": "Payments (daily)",
        "dash_widget_type_bar": "Bar chart",
        "dash_widget_type_kpi": "KPI",
        "dash_widget_modal_lead": "Choose a data source and customize your widget",
        "dash_widget_title_optional": "Custom title (optional)",
        "dash_widget_title_ph": "Leave empty for default title",
        "dash_widget_other": "Other",
        "dash_widget_cancelled": "Cancelled",
        "dash_widget_failed": "Failed",
        "dash_widget_inactive": "Inactive",
        "dash_widget_suspended": "Suspended",
        "dash_widget_source_subscriptions_daily": "New subscriptions (daily)",
        "dash_widget_source_tenants_daily": "New tenants (daily)",
        "dash_widget_source_patients_daily": "New patients (daily)",
        "dash_widget_source_payments_count": "Payment count (daily)",
        "dash_widget_source_payment_status": "Payment status",
        "dash_widget_source_facility_status": "Facility status",
        "dash_widget_source_entities_bar": "Entities (bars)",
        "dash_widget_source_drug_status_bar": "Drug status (bars)",
        "dash_widget_source_ticket_status_bar": "Ticket status (bars)",
        "dash_widget_source_subscriptions_bar": "Subscription status (bars)",
        "dash_widget_source_payment_status_bar": "Payment status (bars)",
        "dash_widget_source_facilities_bar": "New facilities (bars)",
        "dash_widget_source_drugs_bar": "New drugs (bars)",
        "dash_widget_source_tickets_bar": "Tickets (bars)",
        "dash_widget_desc_facilities_daily": "Facility registrations per day",
        "dash_widget_desc_drugs_daily": "Drug requests per day",
        "dash_widget_desc_tickets_daily": "Support tickets per day",
        "dash_widget_desc_subscriptions_daily": "New subscriptions per day",
        "dash_widget_desc_tenants_daily": "Tenants registered per day",
        "dash_widget_desc_patients_daily": "Patients registered per day",
        "dash_widget_desc_payments_count": "Number of payment transactions",
        "dash_widget_desc_payments_daily": "Payment amounts in IQD",
        "dash_widget_desc_entities": "Pharmacies, clinics, labs distribution",
        "dash_widget_desc_drug_status": "Approved / review / rejected",
        "dash_widget_desc_ticket_status": "Open / closed tickets",
        "dash_widget_desc_subscriptions": "Active / expired / pending",
        "dash_widget_desc_payment_status": "Paid / pending / failed",
        "dash_widget_desc_facility_status": "Active / inactive facilities",
        "dash_widget_desc_entities_bar": "Count per entity type",
        "dash_widget_desc_kpi_facilities": "Total registered facilities",
        "dash_widget_desc_kpi_active": "Currently active facilities",
        "dash_widget_desc_kpi_drugs": "Total drugs on platform",
        "dash_widget_desc_kpi_pending_drugs": "Requests awaiting review",
        "dash_widget_desc_kpi_tickets": "Open support tickets",
        "dash_widget_desc_kpi_revenue": "Total paid revenue",
        "dash_widget_desc_kpi_subs": "Active subscriptions",
        "dash_widget_desc_kpi_patients": "Registered patients count",
        "dash_widget_desc_kpi_payments": "Total payment transactions",
        "dash_widget_desc_kpi_tenants": "Number of tenants",
        "dash_entity_pharmacies": "Pharmacies",
        "dash_entity_stores": "Suppliers & stores",
        "dash_entity_clinics": "Medical clinics",
        "dash_entity_labs": "Laboratories",
        "dash_entity_imaging": "Imaging centers",
        "dash_active_pharmacies": "Active pharmacies",
        "dash_active_stores": "Active suppliers",
        "dash_active_clinics": "Active clinics",
        "dash_active_labs": "Active labs",
        "dash_active_imaging": "Active imaging centers",
        "dash_support_recent": "Support & recent tickets",
        "dash_view_all": "View all",
        "dash_col_ticket": "Ticket",
        "dash_col_facility": "Facility",
        "dash_col_time": "Time",
        "dash_col_status": "Status",
        "dash_view_all_tickets": "View all tickets",
        "dash_drugs_pending": "Drug requests pending review",
        "dash_col_drug": "Drug",
        "dash_col_company": "Company",
        "dash_col_request_date": "Request date",
        "dash_view_all_drug_requests": "View all requests",
        "dash_expiring_alert": "subscription expiring within 7 days",
        "dash_expiring_alert_plural": "subscriptions expiring within 7 days",
        "dash_view_details": "View details",
        "facility_type_pharmacies": "Pharmacies",
        "facility_type_stores": "Suppliers & stores",
        "facility_type_clinics": "Clinics",
        "facility_type_labs": "Labs",
        "facility_type_imaging": "Imaging centers",
        "facility_type_default": "Facilities",
        "desktop_no_apps": "No apps available for your current role.",
        "desktop_sub_home": "Home",
        "desktop_sub_tenants": "Tenants",
        "desktop_sub_drugs": "Drugs",
        "desktop_sub_patients": "Patients",
        "desktop_sub_registration": "Registration",
        "desktop_sub_onboarding": "Onboarding",
        "desktop_sub_subscriptions": "Subscriptions",
        "desktop_sub_plans": "Plans",
        "desktop_sub_payments": "Payments",
        "desktop_sub_accounting": "Accounting",
        "desktop_sub_support": "Support",
        "desktop_sub_ads": "Ads",
        "desktop_sub_messages": "Live support",
        "desktop_sub_users": "Users",
        "desktop_sub_email": "Email",
        "desktop_sub_user_guide": "User guide",
        "desktop_sub_settings": "Settings",
        "desktop_sub_audit": "Audit",
        "desktop_sub_translations": "Translations",
        "desktop_sub_press": "Press",
        "app_subtitle": "Main Dashboard (MIP Main)",
        "search_aria_global": "Search facilities, drugs, and patients",
        "quicksearch_tenants": "Clients & sites",
        "quicksearch_drugs": "Unified drug list",
        "quicksearch_patients": "Patients (unified registry)",
        "quicksearch_empty": "No matches. Try another name or ID.",
        "quicksearch_error": "Search failed",
        "view_all": "View All",
        "this_month": "This month",
        "expired": "Expired",
        "now": "Now",
        "yesterday": "Yesterday",
        "details": "Details",
        "items_per_page": "Items per page",
        "total_items": "items",
        "page": "Page",
        "of": "of",
        "prev": "Previous",
        "next": "Next",
        "edit": "Edit",
        "delete": "Delete",
        "preview": "Preview",
        "ok": "OK",
        "mip_alert_ok": "OK",
        "mip_alert_error": "An error occurred",
        "mip_alert_warning": "Warning",
        "mip_alert_success": "Successfully completed",
        "mip_alert_info": "Notice",
        "confirm": "Confirm",
        "notice": "Notice",
        "nav_facilities": "Facilities Management",
        "page_back": "Back to list",
        "pill_featured": "Featured",
        "pill_seasons": "Seasons / queue",
        "pill_catalog_hint": "Featured: approved drugs. Seasons: other statuses (review, pending, etc.).",
        "subscriptions_page_intro": "Subscription records and receipts stored on the platform (subscriber, plan, amount, status). This is not the same screen as operational payments.",
        "payments_page_intro": "Operational payments recorded per tenant (amount in IQD, method, status). Complements the client profile; separate from subscription receipts.",
        "tenant_trial_ends_at": "Trial ends",
        "tenant_trial_ends_hint": "Prefilled from the plan’s trial days; you can adjust.",
        "tenant_expires_at": "Subscription expires",
        "tenant_expires_hint": "End date of the current subscription (suggested from the billing period).",
        "add_subscription": "Add subscription",
        "subscription_modal_title": "New subscription",
        "subscription_package_label": "Plan",
        "subscription_package_placeholder": "e.g. Pro, 12 months",
        "subscription_kpi_active": "Active",
        "subscription_kpi_pending": "Pending payment",
        "subscription_kpi_expired": "Expired",
        "subscription_status_pending_payment": "Pending payment",
        "subscription_status_active_opt": "Active",
        "subscription_status_expired_opt": "Expired",
        "subscription_link_tenant": "Linked client",
        "subscription_link_tenant_hint": "Required — links this record to a platform tenant.",
        "subscription_no_tenant": "— None —",
        "subscription_notes": "Notes",
        "subscription_notes_ph": "Internal details, invoice reference…",
        "subscription_edit_title": "Edit subscription / receipt",
        "press_subtitle": "Technical status of sites, databases and servers",
        "press_health_ok": "OK",
        "press_health_down": "Down",
        "press_sites_total": "Sites",
        "press_sites_ok": "Running",
        "press_sites_down": "Down",
        "press_db_platform": "Platform DB",
        "press_db_tenants": "Tenant DBs",
        "press_sites_list": "Sites List",
        "press_health": "Health",
        "press_db_size": "DB Size",
        "press_servers": "Servers",
        "press_clusters": "Clusters",
        "press_db_default": "Default database",
        "press_db_default_badge": "Platform default",
        "refresh": "Refresh",
        "site": "Site",
        "my_applications": "My applications",
        "add_tenant": "New tenant",
        "expires": "Expires",
        "onboarding_title": "Register new facility",
        "onboarding_desc": "Register a new facility on the platform",
        "templates_preview": "Available templates",
        "templates_preview_desc": "Click to preview the application. Demo credentials: demo / demo",
        "templates_section_other": "Other applications",
        "templates_section_cabinet_medicaux": "Medical cabinets",
        "templates_section_featured": "Featured applications",
        "template_status_active": "Activated",
        "template_coming_soon": "Coming soon",
        "template_desc_hospital": "ER, admissions, doctors, pharmacy and lab in one platform.",
        "template_desc_imaging": "DICOM & PACS support, device integration and image archiving.",
        "template_desc_lab": "HL7 device link, referral reception and automatic archiving.",
        "template_desc_kindi": "Barcode wholesale management, inventory tracking and digital orders.",
        "template_desc_razi": "Smart POS, precise inventory and instant depot connection.",
        "onboarding_kpi_total": "Total applications",
        "onboarding_kpi_active": "Activated applications",
        "onboarding_kpi_categories": "Main categories",
        "onboarding_kpi_last_update": "Last update",
        "onboarding_just_now": "a minute ago",
        "onboarding_kpi_unit_app": "App",
        "onboarding_kpi_unit_cat": "Categories",
        "onb_more_options": "More",
        "template_preview": "Preview",
        "onboarding_install_demo": "Install demo data",
        "onboarding_install_demo_confirm": "Demo data will be created or refreshed for this app. Login: demo / demo",
        "onboarding_install_demo_busy": "Installing...",
        "onboarding_install_demo_ok": "Demo data installed. Login: demo / demo",
        "template_razi": "Pharmacy Management–Razi System",
        "template_kindi": "Warehouse Management–Kindi System",
        "template_zahawi": "Medical Lab Management–Zahawi",
        "template_ibn_al_haytham": "Medical Imaging Management–Ibn Al Haytham",
        "template_hospital": "Hospital Management — MIP Hospital",
        "register_hospital_page_title": "Hospital registration",
        "register_hospital_title": "Join as a hospital",
        "register_hospital_subtitle": "ER, admissions, doctors, pharmacy and lab in one platform",
        "register_hospital_btn": "Create hospital account",
        "hospital_plan": "Hospital package",
        "nav_group_hospital": "Hospital",
        "nav_hospital_dashboard": "Hospital dashboard",
        "nav_hospital_er": "Emergency & triage",
        "nav_hospital_admissions": "Admissions",
        "nav_hospital_wards": "Wards & beds",
        "nav_hospital_departments": "Departments",
        "nav_hospital_pharmacy": "Hospital pharmacy",
        "template_ibn_sina_1": "Clinic Management–Dentistry (Ibn Sina 1)",
        "template_ibn_sina_2": "Clinic Management – Cardiology (Ibn Sina 2)",
        "template_ibn_sina_3": "Clinic Management – Gynecology & Pediatrics (Ibn Sina 3)",
        "template_ibn_sina_4": "Clinic Management – Urology & Nephrology (Ibn Sina 4)",
        "template_ibn_sina_5": "Clinic Management – Gastroenterology (Ibn Sina 5)",
        "template_ibn_sina_6": "Clinic Management – Hematology (Ibn Sina 6)",
        "template_ibn_sina_7": "Clinic Management – Ophthalmology (Ibn Sina 7)",
        "template_ibn_sina_8": "Clinic Management – Neurology (Ibn Sina 8)",
        "template_ibn_sina_9": "Clinic Management – Orthopedics (Ibn Sina 9)",
        "template_ibn_sina_10": "Clinic Management – Psychiatry (Ibn Sina 10)",
        "template_ibn_sina_11": "Clinic Management – Dermatology (Ibn Sina 11)",
        "template_ibn_sina_12": "Clinic Management – Psychiatry (Ibn Sina 12)",
        "facility_info": "Facility information",
        "admin_account": "Admin account",
        "register": "Register",
        "onboarding_success": "Registration successful",
        "registration_public": "Public registration",
        "registration_public_desc": "Enable or disable the registration form on /register pages. Creation is done in Tenants.",
        "registration_enabled": "Enabled",
        "registration_disabled": "Disabled",
        "registration_coming_soon": "We will be back soon",
        "registration_closed": "Registration closed",
        "registration_contact_support": "Registration is temporarily closed. Contact support.",
        "enable": "Enable",
        "disable": "Disable",
        "create_tenant": "Create tenant",
        "subscription_plans": "Subscription plans",
        "add_plan": "Add plan",
        "plan_name": "Plan name",
        "plan_template": "App template",
        "plan_free": "Free",
        "billing_period": "Billing period",
        "trial_days": "Trial days",
        "payment_settings": "Payment settings",
        "payment_settings_desc": "Global rules: whether payments are enabled, the customer payment page URL, default trial length, and the free plan used for new signups.",
        "plans_save_settings": "Save platform payment rules",
        "plans_save_settings_hint": "Applies to: client payment URL, default trial, and free plan selection.",
        "plans_save_checkout": "Save signup payment (APS + bank)",
        "plans_save_checkout_hint": "Sign-up only: card gateway and bank details. Does not change the platform rules above.",
        "plans_tab_plans": "Plans",
        "plans_tab_settings": "Platform settings",
        "plans_tab_checkout": "Configure APS",
        "plans_tab_methods": "Payment methods",
        "plans_modal_subtitle": "Set bilingual names, pricing, and accepted payment methods.",
        "plans_section_billing": "Pricing & billing",
        "plan_name_ar_ph": "e.g. Hospital plan (Arabic)",
        "plan_name_en_ph": "e.g. Hospital Package",
        "plans_no_payment_methods": "No payment methods yet — add them in the Payment methods tab.",
        "bank_transfer_instructions_block": "Copy shown to the customer (bank transfer)",
        "bank_transfer_instructions_hint": "AR and EN sit side by side on registration. Height is capped so the layout stays balanced with APS.",
        "bank_transfer_instructions_aria": "Transfer instruction texts",
        "keep_secret_unchanged": "Leave empty to keep the stored value",
        "keep_token_unchanged": "Leave empty to keep the stored token",
        "email_already_used": "This email is already used for a tenant on the platform. Use a different address.",
        "email_pending_registration": "A registration is already in progress for this email. Check your inbox, wait, or use another address.",
        "phone_already_used": "This phone number is already used for a tenant on the platform. Use a different number.",
        "phone_pending_registration": "A registration is already in progress for this phone number. Wait or use another number.",
        "license_already_used": "This license / approval number is already used for a tenant on the platform.",
        "license_pending_registration": "A registration is already in progress for this license number.",
        "name_already_used_in_governorate": "This establishment name is already used in this governorate. The same name can be used in another governorate.",
        "name_pending_registration": "A registration is already in progress for this establishment name in this governorate.",
        "payment_enabled": "Payment enabled",
        "payment_url": "Payment page URL",
        "trial_days_default": "Default trial days",
        "free_plan_id": "Free plan",
        "payment_methods": "Payment methods",
        "plans_methods_register_hint": "Public registration supports codes card (requires APS tab) and bank_transfer (requires bank details in Checkout tab). cash is POS-only.",
        "add_payment_method": "Add payment method",
        "monthly": "Monthly",
        "yearly": "Yearly",
        "trial": "Trial",
        "audit_logs": "Audit logs",
        "audit_platform": "Platform",
        "add_user": "Add user",
        "welcome_title": "Welcome to MIP Dashboard",
        "welcome_desc": "Real-time monitoring of all medical facilities, pharmacies, and stores linked to the platform.",
        "dash_link_clinics": "Clinic management",
        "dash_link_imaging": "Imaging centers",
        "dash_link_labs": "Laboratories",
        "dash_info_chips_aria": "Platform scope and stats",
        "intro_dashboard_title": "Platform overview",
        "intro_dashboard_p1": "From this dashboard you monitor tenants, subscriptions, drugs, and support in one place.",
        "intro_dashboard_p2": "Use KPIs and quick links to jump to the sections you need.",
        "intro_dashboard_aria": "Dashboard",
        "intro_tenants_title": "SaaS tenant management",
        "intro_tenants_p1": "Register tenants, link plans, and manage trial and expiry dates.",
        "intro_tenants_p2": "Each tenant is tied to a facility and identifiers used across pharmacies and branches.",
        "intro_tenants_aria": "Tenants",
        "tenants_demo_kpi_hint": "{{count}} demo account(s) excluded from totals (dev).",
        "tenants_filter_show_demo": "Show demo accounts (dev)",
        "tenants_demo_badge": "Demo",
        "tenants_demo_badge_hint": "Demo account — development only",
        "intro_subscriptions_title": "Subscription records and receipts",
        "intro_subscriptions_p1": "Track subscribers, amounts, and links to platform tenants.",
        "intro_subscriptions_p2": "Fill in all fields for clear financial follow-up.",
        "intro_subscriptions_aria": "Subscriptions",
        "intro_payments_title": "Payments and collection",
        "intro_payments_p1": "Record payments with currency, reference, status, and collection date.",
        "intro_payments_p2": "When creating a payment, complete every field to tie it to the tenant and date.",
        "intro_payments_aria": "Payments",
        "intro_drugs_title": "Unified drug catalogue and review",
        "intro_drugs_p1": "Manage drug requests, import/export, and review workflows.",
        "intro_drugs_p2": "Use tabs to switch between drugs and manufacturers.",
        "intro_drugs_aria": "Drugs",
        "intro_facilities_title": "Facilities and sites",
        "intro_facilities_p1": "Pharmacies, clinics, and hospitals connected to the platform.",
        "intro_facilities_p2": "Keeping status and type up to date helps reporting and compliance.",
        "intro_facilities_aria": "Facilities",
        "intro_settings_title": "Platform settings",
        "intro_settings_p1": "Language, email, and server connection—verify before saving in production.",
        "intro_settings_p2": "Back up settings before large changes.",
        "intro_settings_aria": "Settings",
        "settings_tab_general": "General",
        "settings_tab_email": "Email",
        "settings_tab_database": "Database",
        "settings_tab_users": "Users",
        "settings_tab_system": "System",
        "settings_tab_integration": "Imaging integration",
        "settings_integration_title": "Imaging integration (HL7 / DICOM)",
        "settings_integration_desc": "Platform defaults for imaging centers. Each tenant can override via Tenants → Integration.",
        "settings_integration_hl7_enable": "Enable HL7 module (platform)",
        "settings_integration_hl7_version": "HL7 version",
        "settings_integration_dicom_url": "DICOM / PACS server URL",
        "settings_integration_dicom_ae": "MIP AE Title (calling)",
        "settings_integration_dicom_port": "DICOM port",
        "settings_integration_dicom_tls": "DICOM over TLS",
        "settings_integration_hl7_inbound": "HL7 inbound endpoint",
        "settings_integration_hl7_inbound_hint": "Replace {slug} with the center site slug.",
        "settings_integration_hl7_key": "HL7 inbound key",
        "settings_integration_hl7_key_ph": "Partner secret (HIS)",
        "settings_integration_hl7_outbound": "HL7 outbound URL (ORU)",
        "settings_integration_hl7_outbound_key": "HL7 outbound key",
        "settings_integration_j2k_title": "JPEG 2000 previews (J2K)",
        "settings_integration_j2k_desc": "Generate lightweight web previews from DICOM images (original stays in PACS).",
        "settings_integration_j2k_enable": "Enable J2K previews",
        "settings_integration_j2k_mode": "Compression mode",
        "settings_integration_j2k_lossless": "Lossless (recommended)",
        "settings_integration_j2k_lossy": "Lossy (smaller files)",
        "settings_integration_j2k_quality": "Quality (lossy mode)",
        "settings_integration_j2k_max_dim": "Max preview size (px)",
        "settings_integration_j2k_generate": "Auto-generate previews on receive",
        "integration_config": "HL7 / DICOM",
        "integration_config_hint": "Override for this center. Empty = platform defaults (Settings → Integration).",
        "integration_reset": "Reset",
        "integration_reset_confirm": "Reset to platform defaults?",
        "settings_tab_iraq": "Governorates and cities",
        "settings_nid_bridge_title": "National ID card reader software",
        "settings_nid_bridge_desc": "Install on the reception PC with the USB reader (not on the server). Works with MIP in any browser.",
        "settings_nid_bridge_steps": "1) Download ZIP  2) Install Python 3  3) Unzip  4) Run install.bat",
        "settings_nid_bridge_download_btn": "Download reader program (ZIP)",
        "intro_plans_title": "Plans and payment methods",
        "intro_plans_p1": "Define prices, billing periods, and trials for new tenants.",
        "intro_plans_p2": "Link plans to payment methods and set up live APS in the « Configure APS » tab.",
        "intro_plans_aria": "Plans",
        "intro_ads_title": "Ads and directives",
        "intro_ads_p1": "Manage sponsored ads and Ministry of Health directives.",
        "intro_ads_p2": "Check status and preview before publishing.",
        "intro_ads_aria": "Ads",
        "intro_users_title": "Users and roles",
        "intro_users_p1": "Define permissions per entity and manage admin accounts.",
        "intro_users_p2": "Roles control who can view, edit, or delete in each area.",
        "intro_users_aria": "Users",
        "intro_support_title": "Support and tickets",
        "intro_support_p1": "Pick the client (tenant) from an official list, write a detailed description, attach a screenshot or video, and track the ticket until it is closed.",
        "intro_support_p2": "Track status from creation to closure.",
        "intro_support_aria": "Support",
        "intro_email_templates_title": "Email templates",
        "intro_email_templates_p1": "Edit message content in Arabic and English with stable machine names.",
        "intro_email_templates_p2": "Save and test before using in production.",
        "intro_email_templates_aria": "Email templates",
        "intro_audit_title": "Audit log",
        "intro_audit_p1": "Clear log of every add, edit and delete on the platform and tenants.",
        "audit_message": "Event",
        "audit_unknown_user": "User",
        "audit_item": "item",
        "audit_action_create": "created",
        "audit_action_update": "updated",
        "audit_action_delete": "deleted",
        "audit_action_login": "logged in",
        "audit_action_login_failed": "login failed",
        "audit_action_error": "error",
        "audit_msg_login": "User {user} logged in to the platform",
        "audit_msg_login_failed": "Failed login for user {user}",
        "audit_msg_error": "Error on {resource}",
        "audit_msg_action": "User {user} {action} {resource} {target}",
        "audit_severity": "Status",
        "audit_sev_ok": "Not critical",
        "audit_sev_info": "Info",
        "audit_sev_attention": "Warning",
        "audit_sev_danger": "Danger",
        "intro_audit_p2": "Use filters to find specific events.",
        "intro_audit_aria": "Audit",
        "intro_translations_title": "Translations",
        "intro_translations_p1": "Edit UI strings in Arabic and English and save to the server.",
        "intro_translations_p2": "Keep keys stable to avoid breaking the app.",
        "intro_translations_aria": "Translations",
        "intro_onboarding_title": "Templates and public registration",
        "intro_onboarding_p1": "This page lists app templates with preview and a toggle for public self-registration.",
        "intro_onboarding_p2": "Pick a template, review the preview, then create a tenant from the shortcut when needed.",
        "intro_onboarding_aria": "Applications and templates",
        "kpi_facilities": "Total Facilities",
        "kpi_subs": "Active Subscriptions",
        "kpi_drugs": "Pending Drugs",
        "kpi_patients": "Registered Patients",
        "sub_platform_status": "Sub-Platforms Status",
        "live_status": "Live",
        "pharmacies": "Pharmacies",
        "stores": "Medical Stores",
        "clinics": "Clinics",
        "labs": "Laboratories",
        "recent_drug_requests": "Recent Drug Addition Requests",
        "nav_drug_requests": "Drug addition requests list",
        "drug_name": "Drug Name",
        "requester": "Requested By",
        "date": "Date",
        "action": "Action",
        "approve_btn": "Approve",
        "reject_btn": "Decline",
        "drug_request_examine": "Review request",
        "drug_second_review": "Second review",
        "drug_review_round": "Round",
        "drug_previous_rejection": "Previous rejection reason",
        "rejection_reason": "Reason for decline",
        "rejection_reason_required": "Please enter a reason for declining.",
        "drug_request_decision_ok": "Decision saved. An email will be sent to the facility if its address is on file.",
        "drug_approval_pick_category_title": "Confirm drug category",
        "drug_approval_pick_category_hint": "Pick the correct catalogue category before approval. You can change it later from drug edit.",
        "drug_approval_complete_title": "Complete drug data before approval",
        "drug_approval_complete_hint": "Fix all required fields. Every validation issue is listed at once (barcode, names, stock, etc.).",
        "drug_approval_use_next_barcode": "Next EAN-13 barcode",
        "drug_approval_stock_integers": "Min and max stock must be whole numbers.",
        "drug_approval_stock_nonneg": "Stock bounds must be ≥ 0.",
        "pharmacy_shifa": "Al-Shifa Pharmacy",
        "store_razi": "Al-Razi Store",
        "clinic_ahmed": "Dr. Ahmed Clinic",
        "add_facility": "+ Register New Facility",
        "facility_uid": "UID",
        "facility_type": "Facility Type",
        "facility_name": "Pharmacy name",
        "management": "Management",
        "management_ph": "e.g. Dr. Hassan Ali",
        "admin_name_ph": "Admin account display name",
        "tenant_establishment_name": "Establishment name",
        "tenant_owner_director": "Owner or director",
        "tenant_owner_director_ph": "e.g. Dr. Hassan Ali",
        "sub_status": "Subscription Status",
        "options": "Options",
        "activate": "Activate",
        "tenant_activated": "Tenant activated",
        "tenant_created_success": "Tenant « {{name}} » created successfully.",
        "tenant_created_email_sent": "An activation email was sent to the tenant.",
        "tenant_created_email_failed": "Could not send activation email (check SMTP settings).",
        "tenant_updated_success": "Tenant « {{name}} » updated successfully.",
        "tenant_not_found": "This tenant was not found or has been deleted.",
        "tenant_expires_before_trial": "Expiry date must be on or after the trial end date.",
        "password_updated": "Password updated",
        "user_activated": "User activated",
        "tenant_create_full_hint": "Creates a full site (tenant + DB + admin) like public registration",
        "tenant_form_steps": "Form steps",
        "tenant_step_facility": "Site",
        "tenant_step_admin": "Admin",
        "pharmacy_shifa_fast": "Fast Healing Pharmacy",
        "store_haya": "Life Medical Store",
        "clinic_amal": "Hope Pediatric Clinic",
        "dr_hassan": "Dr. Hassan Ali",
        "ahmed_jasim": "Ahmed Jasim",
        "dr_samir": "Dr. Samir Sadiq",
        "search_drug": "Search by scientific or trade name...",
        "add_drug_request": "+ Request Drug Addition",
        "seq": "#",
        "barcode": "Barcode",
        "trade_name": "Trade Name",
        "scientific_name": "Scientific Name",
        "drug_image": "Drug Image",
        "pharmaceutical_form": "Pharmaceutical Form",
        "choose": "-- Select --",
        "pills": "Pills",
        "syrup": "Syrup",
        "injection": "Injection",
        "cream": "Cream/Ointment",
        "local_manufacturing": "Local Manufacturing",
        "imported": "Imported",
        "manufacturer": "Manufacturer",
        "inventory_management": "Inventory Management",
        "retail_sale": "Retail Sale",
        "inventory_alert": "Inventory Alert",
        "storage_unit": "Storage Unit",
        "retail_unit": "Retail unit",
        "quantity": "Quantity",
        "generate_barcode": "Generate Barcode",
        "add_barcode": "Add Barcode",
        "drug_barcode_main_placeholder": "EAN-13",
        "drug_barcode_extra_placeholder": "Additional EAN-13 (13 digits)",
        "drug_seq": "Drug Sequence",
        "general_info": "General Info",
        "product_info": "Product Info",
        "calc_max_from_min": "Max = Min × 10",
        "max_must_be_gte_min": "Quantity Max must be ≥ Min",
        "drug_ean13_invalid": "Invalid EAN-13 barcode (13 digits with correct check digit)",
        "drug_barcode_invalid": "Invalid barcode (EAN-13, EAN-8, Code 128, Code 39, QR or DataMatrix)",
        "duplicate_barcodes_in_form": "Duplicate barcodes are not allowed in the form",
        "barcode_already_in_use": "This barcode is already assigned to another drug",
        "drug_trade_both_required": "Trade name in Arabic and English are both required",
        "scientific_name_duplicate": "This scientific name is already registered",
        "manufacturer_origin_label": "Manufacturing origin",
        "drug_notice": "Drug Notice",
        "import_csv": "Import CSV",
        "import_local_file": "Import from local file",
        "import_local_file_hint": "Upload an Excel (.xlsx) or CSV file, or pick an existing file from the server drugs/ folder. Duplicates (barcode / id) are updated automatically.",
        "import_local_file_upload": "Upload file (.xlsx / .csv)",
        "import_local_file_or_select": "— or select an existing file —",
        "import_local_file_uploading": "Uploading…",
        "import_local_file_upload_ok": "File uploaded. You can preview or import.",
        "empty_file": "The file is empty.",
        "file_too_large": "File too large (max 50 MB).",
        "import_progress_title": "Importing drugs…",
        "import_progress_preview_title": "Previewing file…",
        "import_progress_waiting": "Please wait…",
        "import_progress_rows": "Row {{current}} of {{total}}",
        "import_phase_starting": "Starting…",
        "import_phase_parsing": "Reading file…",
        "import_phase_importing": "Import in progress…",
        "import_phase_preview": "Preview in progress…",
        "import_phase_done": "Done",
        "import_phase_failed": "Import failed",
        "import_stat_created": "Created",
        "import_stat_updated": "Updated",
        "import_stat_skipped": "Skipped",
        "import_stat_errors": "Errors",
        "import_report_title": "Import report",
        "import_report_preview_title": "Preview report",
        "import_report_summary": "{{total}} rows · {{created}} created · {{updated}} updated · {{skipped}} skipped · {{errors}} errors — {{file}}",
        "import_report_preview_summary": "Preview: {{total}} rows · {{created}} new · {{updated}} updates · {{skipped}} skipped · {{errors}} errors",
        "import_report_errors_title": "Error details (first 100)",
        "import_error_col_row": "Row",
        "import_error_col_name": "Drug",
        "import_error_col_barcode": "Barcode",
        "import_error_col_message": "Error",
        "import_history_title": "Import history",
        "import_history_hint": "Every import is logged with user, date and result. Click a row to view the report.",
        "import_history_empty": "No previous imports.",
        "import_status_running": "Running",
        "import_status_completed": "Completed",
        "import_status_failed": "Failed",
        "import_local_file_select_placeholder": "— Select a file —",
        "import_local_file_empty": "No files in the drugs/ folder. Add drugs1.xlsx or a CSV file, then reload this page.",
        "import_local_file_preview_btn": "Preview",
        "import_local_file_submit_btn": "Import from local file",
        "file_not_found": "File not found in the drugs/ folder.",
        "invalid_filename": "Invalid file name.",
        "invalid_file_type": "Unsupported file type (xlsx or csv only).",
        "filename_required": "Select a file to import.",
        "xlsx_no_data_rows": "Excel file has no data rows.",
        "openpyxl_required": "The openpyxl library is required to read Excel files.",
        "import_google_sheet": "Import Google Sheet",
        "import_google_sheet_hint": "Default URL from settings. The sheet must be viewable by anyone with the link, or export CSV manually and use the CSV section below.",
        "import_google_sheet_url_placeholder": "https://docs.google.com/spreadsheets/d/...",
        "import_google_sheet_preview_btn": "Preview",
        "import_google_sheet_submit_btn": "Import from Google Sheet",
        "import_update_duplicates": "Update duplicates (barcode / id)",
        "import_sheet_page_title": "Import drugs",
        "import_sheet_page_subtitle": "Google Sheet or CSV file",
        "import_csv_hint": "CSV: barcode, trade_name_ar, trade_name_en, scientific_name, manufacturer, notice, status",
        "import_sheet_loading": "Loading…",
        "import_sheet_preview_summary": "Preview: +{{created}} · ~{{updated}} · ={{skipped}}{{errors}}",
        "import_sheet_success_summary": "{{created}} created · {{updated}} updated · {{skipped}} skipped",
        "import_sheet_errors_suffix": " · {{count}} errors",
        "google_sheet_private": "The sheet is private. Share it as viewable by link, or export CSV.",
        "import_google_sheet_private": "The sheet is private. Share it as viewable by link, or export CSV.",
        "google_sheet_unreachable": "Could not reach Google Sheets. Check your connection.",
        "google_sheet_empty": "The sheet is empty or unavailable.",
        "google_sheet_no_data_rows": "No data rows found in the sheet.",
        "csv_no_data_rows": "No data rows found in the CSV file.",
        "sheet_url_required": "Google Sheet URL is required.",
        "invalid_google_sheet_url": "Invalid Google Sheet URL.",
        "google_sheet_fetch_failed": "Failed to load the sheet (check permissions).",
        "export_csv": "Export CSV",
        "status": "Status",
        "category": "Category",
        "category_antibiotics": "Antibiotics",
        "category_analgesics": "Analgesics",
        "category_vitamins": "Vitamins & Supplements",
        "category_chronic": "Chronic Meds",
        "drug_categories": "Drug Categories",
        "add_category": "Add Category",
        "category_names_required": "Arabic and English names are required.",
        "category_id_required": "Category ID is required (e.g. antibiotics).",
        "add_manufacturer": "Add Manufacturer",
        "manufacturers": "Manufacturers",
        "name_ar": "Name (Arabic)",
        "name_en": "Name (English)",
        "capsules": "Capsules",
        "english_only": "English only",
        "search_patient_desc": "Search by Unified National ID Number (or Barcode).",
        "search_nid": "Enter or scan National ID (e.g. 198012345678)",
        "patient_prompt_title": "Please enter National ID to lookup patient file",
        "patient_prompt_desc": "Data is synced in real-time across all linked medical facilities.",
        "available_packages": "Available Packages",
        "pkg_store": "Store: 50,000 IQD",
        "pkg_pharmacy": "Pharmacy: 20,000 IQD",
        "pkg_clinic": "Clinic: 25,000 IQD",
        "pkg_lab": "Laboratory: 20,000 IQD",
        "pkg_imaging": "Imaging Center: 25,000 IQD",
        "revenue_this_month": "Revenue This Month",
        "revenue_val": "22,500,000 IQD",
        "electronic_payment_matched": "E-Payment Matched",
        "receipt_no": "Receipt No.",
        "subscriber": "Subscriber",
        "amount": "Amount",
        "pay_date": "Payment Date",
        "success_visa": "Success (Visa)",
        "success_zain": "Success (ZainCash)",
        "rejected": "Rejected",
        "new_broadcast": "+ New Broadcast Message",
        "manage_broadcasts": "Manage sponsored ads and Ministry of Health directives",
        "ad_form_subtitle": "Choose type, title, description, and status.",
        "ad_field_type": "Type",
        "ad_field_title": "Title",
        "ad_field_title_ph": "e.g. announcement title",
        "ad_field_desc": "Description",
        "ad_field_desc_ph": "Full text shown to facilities",
        "ad_desc_html_toggle": "Rich HTML editing (sanitized on save)",
        "ad_desc_html_hint": "Allows formatting, links and lists. Unsafe markup is stripped when saving.",
        "ad_html_ul": "Bullets",
        "ad_html_ol": "Numbered list",
        "ad_html_link": "Link",
        "ad_desc_link_prompt": "Link URL (https://)",
        "pager_prev": "Previous",
        "pager_next": "Next",
        "ad_field_status": "Status",
        "ad_sponsored_section_title": "Sponsored ad — payment & schedule",
        "ad_hint_public_visibility": "A sponsored ad is linked to a paying tenant. It is shown on customer sites only when payment is Paid or Waived, status is Active, and today is within the start/end window.",
        "ad_field_payment_status": "Payment status",
        "ad_field_amount_iqd": "Amount (IQD)",
        "ad_field_amount_ph": "e.g. 50000",
        "ad_field_payment_method": "Payment method",
        "ad_payment_method_empty": "—",
        "ad_field_payment_reference": "Payment reference / note",
        "ad_field_payment_reference_ph": "Receipt no., transfer ref…",
        "ad_field_paid_at": "Payment received on",
        "ad_field_starts_at": "Campaign start",
        "ad_field_ends_at": "Campaign end",
        "ad_error_end_before_start": "End date must be on or after start date.",
        "ad_list_payment_status": "Payment",
        "ad_list_amount_iqd": "Amount",
        "ad_list_period": "Period",
        "ad_kpi_pending_payment": "Sponsored ads awaiting payment",
        "ad_ps_pending": "Pending payment",
        "ad_ps_paid": "Paid",
        "ad_ps_waived": "Waived / promo",
        "ad_period_from": "From",
        "ad_period_until": "Until",
        "ad_required_if_paid": "(required if status is Paid)",
        "ad_validation_payment_status_invalid": "Invalid payment status.",
        "ad_validation_amount_required": "Amount (IQD) is required for a sponsored ad.",
        "ad_validation_amount_invalid": "Invalid amount.",
        "ad_validation_amount_negative": "Amount cannot be negative.",
        "ad_validation_amount_positive_when_paid": "When status is Paid, amount must be greater than zero.",
        "ad_validation_starts_required": "Campaign start date is required.",
        "ad_validation_ends_required": "Campaign end date is required.",
        "ad_validation_method_required_when_paid": "Payment method is required when status is Paid.",
        "ad_validation_paid_at_required_when_paid": "Payment received date is required when status is Paid.",
        "ad_field_payer_tenant": "Paying client (tenant)",
        "ad_payer_tenant_placeholder": "Select a tenant",
        "ad_list_payer_tenant": "Paying tenant",
        "ad_validation_payer_tenant_required": "You must select the tenant who pays for this ad.",
        "ad_validation_payer_tenant_invalid": "The platform account cannot be selected as the paying client.",
        "ad_validation_payer_tenant_unknown": "The selected tenant does not exist on the platform.",
        "sponsored_ads": "Sponsored Ads (on sub-screens)",
        "target_pharmacies": "Target Facilities: Pharmacies Only",
        "ad_campaign_1": "Ad: Winter Offer 2026 - GSK",
        "paid_amount_1": "Paid: 50,000 IQD (Ends Tomorrow)",
        "moh_directives": "MoH Directives",
        "mandatory_broadcasts": "Mandatory broadcasts sent as notifications to all subscribers",
        "urgent_recall": "Drug Market Recall (URGENT)",
        "recall_desc": "Regarding batch A509 of Cough Syrup",
        "sent": "Sent",
        "save_changes": "Save Changes",
        "default_lang": "Default Language",
        "lang_ar": "Arabic (العربية)",
        "lang_en": "English (الإنجليزية)",
        "api_url_label": "API URL",
        "api_url_desc": "API server URL (e.g. https://api.mip-iraq.com). Empty = same origin.",
        "main_domain_label": "Main domain",
        "main_domain_desc": "Public platform URL (e.g. https://main.mip-iraq.com). Replaces 127.0.0.1 and localhost in emails, login links and APS callbacks.",
        "main_domain_loopback": "Do not use localhost or 127.0.0.1 as the main domain. Enter the public host (https://main.mip-iraq.com).",
        "platform_users_desc": "Super Admins and those with drug approval rights",
        "username": "Username",
        "password": "Password",
        "role": "Role",
        "logins_count": "Logins",
        "role_admin": "Admin (Full)",
        "role_reviewer": "Drug Reviewer",
        "role_support_l1": "Iraq Support (L1)",
        "role_support_l2": "Tunis Support (L2)",
        "intro_client_support_title": "Live support (Iraq L1)",
        "intro_client_support_p1": "Incoming tenant requests in real time. Iraq level-1 support sees the full facility and user profile, then replies or transfers the ticket to Tunis (L2).",
        "intro_client_support_p2": "The queue refreshes automatically. Open a conversation to review the file, assign it locally, or escalate to Tunis.",
        "intro_client_support_aria": "Live support",
        "tenant_id_label": "Tenant ID",
        "support_reply_label": "Platform reply",
        "client_support_col_slug": "Slug",
        "client_support_col_subject": "Subject",
        "client_support_col_updated": "Updated",
        "client_support_send_reply": "Send reply",
        "desk_live_title": "Live support",
        "desk_live_badge": "Live",
        "desk_queue_waiting": "Waiting",
        "desk_queue_iraq": "Iraq support (L1)",
        "desk_queue_tunis": "Tunis support (L2)",
        "desk_queue_mine": "My tickets",
        "desk_queue_all": "All",
        "desk_assign_me": "Assign to me",
        "desk_assign_to": "Assign to local support",
        "desk_transfer_tunis": "Transfer to Tunis",
        "desk_reply_forbidden": "You cannot reply on this thread — different support line.",
        "desk_transfer_confirm": "Transfer this ticket to Tunis support (level 2)?",
        "desk_return_iraq": "Return to Iraq",
        "desk_line_iraq": "Iraq L1",
        "desk_line_tunis": "Tunis L2",
        "desk_card_tenant": "Facility",
        "desk_card_user": "User",
        "desk_unassigned": "Unassigned",
        "desk_assigned_to": "Assigned to",
        "desk_select_agent": "Select agent",
        "desk_empty": "No conversations in this queue",
        "desk_thread_empty": "No messages yet — reply below to start",
        "desk_governorate": "Governorate / city",
        "desk_city": "City",
        "desk_license": "License number",
        "desk_plan": "Plan",
        "desk_expires": "Expires",
        "desk_contact": "Contact person",
        "desk_requester": "Requester",
        "desk_type": "Type",
        "desk_status": "Status",
        "desk_phone": "Phone",
        "desk_whatsapp": "WhatsApp",
        "desk_email": "Email",
        "desk_pharmacist": "Pharmacist",
        "desk_address": "Address",
        "desk_user_status": "Account status",
        "desk_last_login": "Last login",
        "desk_agent_platform": "Platform support",
        "desk_help_l1": "You are on Iraq support (L1). Receive requests, assign them, then escalate complex tickets to Tunis.",
        "desk_help_l2": "You are on Tunis support (L2). Only tickets transferred from Iraq appear here — open the « Tunis support » or « Waiting » tab.",
        "desk_help_admin": "Admin: you see all lines. To enable Tunis access: Users → assign role « Tunis Support (L2) » → log in → Live support.",
        "desk_tunis_access_title": "How does the Tunis team access the desk?",
        "desk_tunis_access_steps": "1) Users → create or edit a user\n2) Assign role « Tunis Support (L2) »\n3) Log in to the platform dashboard\n4) Live support → « Tunis support (L2) » tab",
        "desk_stat_waiting": "Waiting",
        "desk_stat_iraq": "Iraq line",
        "desk_stat_tunis": "Tunis line",
        "desk_stat_mine": "My tickets",
        "desk_open_tenant": "Open facility",
        "desk_reply_placeholder": "Type your reply to the tenant…",
        "desk_reply_hint": "Ctrl+Enter to send",
        "desk_back_inbox": "Back to inbox",
        "desk_profile_l1": "Iraq support L1",
        "desk_profile_l2": "Tunis support L2",
        "desk_profile_admin": "Support admin",
        "desk_cat_all": "All categories",
        "desk_load_more": "Load more",
        "desk_total": "Total",
        "support_category": "Category",
        "support_cat_technical": "Technical",
        "support_cat_billing": "Billing / subscription",
        "support_cat_account": "Account / users",
        "support_cat_training": "Training",
        "support_cat_bug": "Bug / error",
        "support_cat_feature": "Feature request",
        "support_cat_other": "Other",
        "support_categories_manage_title": "Client support categories",
        "support_categories_manage_hint": "These categories are loaded in tenant apps when opening a support request.",
        "support_cat_id_label": "ID",
        "support_cat_label_ar": "Arabic",
        "support_cat_label_en": "English",
        "support_cat_label_fr": "French",
        "support_cat_sort_order": "Order",
        "support_cat_add_btn": "Add category",
        "support_cat_disable_btn": "Disable",
        "support_cat_enable_btn": "Enable",
        "notif_inbox_empty": "No support requests waiting for a reply",
        "notif_inbox_unavailable": "Could not load notifications (permissions or connection)",
        "notif_inbox_new_support": "New client support request: {detail}",
        "notif_inbox_new_support_fallback": "Client",
        "support_title": "Direct Tech Support (Iraq - Tunisia)",
        "new_ticket_btn": "+ New Support Ticket",
        "task_manager": "Task Manager",
        "lvl1_support": "Direct Tech Support (Baghdad)",
        "lvl2_support": "Second Line Support (Tunisia)",
        "ticket_no": "Ticket No.",
        "ticket_issue_type": "Ticket issue type",
        "facility": "Facility",
        "issue": "Issue",
        "issue_login": "Login Issue",
        "issue_sync": "Drug Sync Error",
        "issue_printer": "Receipt Printer Stopped",
        "support_customer_label": "Customer (facility)",
        "support_customer_search": "Search facility or customer...",
        "support_customer_hint": "Pick from the list after search — manual entry is disabled to avoid mistakes",
        "support_select_customer_placeholder": "— Select a client —",
        "support_form_subtitle": "Client, category, full description, optional attachment",
        "support_description_detailed_hint": "Minimum length helps ensure enough detail (steps, error messages, browser/app, time…).",
        "support_desc_counter": "{n} characters — minimum {min}",
        "support_description_too_short": "Description is too short. At least {min} characters are required to describe the issue accurately.",
        "support_submit_ticket": "Submit ticket",
        "support_ticket_detail_title": "Ticket details",
        "support_col_tenant": "Tenant ID",
        "support_col_creator": "Created by",
        "support_row_click_hint": "Click to view full description and attachment",
        "support_customer_required": "Please select the customer from the list",
        "support_description_label": "Detailed problem description",
        "support_description_placeholder": "Describe the issue in detail (steps, error messages, time…)",
        "support_attachment_label": "Attach image or video (optional)",
        "support_attachment_hint": "JPG, PNG, WEBP or GIF images, or MP4/WebM video — max 20 MB",
        "support_table_description": "Description",
        "support_table_attachment": "Attachment",
        "support_open_attachment": "Open",
        "support_att_type_image": "Image",
        "support_att_type_video": "Video",
        "support_att_type_file": "File",
        "support_att_open": "Open",
        "support_ticket_thread_title": "Ticket",
        "support_thread_opening": "Initial request",
        "support_thread_replies": "Conversation",
        "support_no_replies_yet": "No replies yet.",
        "support_reply_title": "Your reply",
        "support_reply_placeholder": "Write a message, or attach a file only…",
        "support_reply_submit": "Send reply",
        "support_reply_empty": "Please enter a message or attach a file.",
        "support_attachment_only": "(attachment only)",
        "support_thread_replies_count": "Replies: {n}",
        "support_thread_meta_created": "Created",
        "support_thread_meta_creator": "Created by",
        "support_thread_meta_activity": "Last activity",
        "support_thread_jump_latest": "Latest message",
        "support_reply_shortcut": "Ctrl+Enter or ⌘+Enter to send",
        "support_ticket_status_heading": "Support ticket",
        "support_ticket_change_status": "Ticket status",
        "support_ticket_state_resolved": "Resolved / closed",
        "support_thread_accordion_aria": "Ticket conversation",
        "support_intervention_label": "Platform team",
        "support_intervention_short": "Intervention",
        "support_reply_platform_hint": "Your replies are recorded as a main platform user.",
        "accounting_page_title": "Accounting",
        "accounting_banner_sub": "End-to-end finance — IQD, tax, and local compliance",
        "accounting_intro_title": "Platform accounting",
        "accounting_intro_p1": "This area groups tools and references for financial records, tax compliance in Iraq, and management or regulatory reporting.",
        "accounting_intro_p2": "Reference currency: Iraqi Dinar (IQD) with foreign-currency operations supported; align policies with an Iraq-licensed tax advisor.",
        "accounting_intro_aria": "Accounting module introduction",
        "accounting_subnav_aria": "Accounting sections",
        "accounting_section_subtitle": "Reference view — data binding and automation coming next",
        "accounting_module_roadmap": "Integration with live data (subscriptions, payments, tenants) will ship in upcoming releases.",
        "accounting_disclaimer": "General information only — not legal or tax advice. Compliance with applicable Iraqi laws remains your responsibility.",
        "accounting_nav_overview": "Overview",
        "accounting_nav_chart": "Chart of accounts",
        "accounting_nav_journal": "Journal",
        "accounting_nav_ledger": "General ledger",
        "accounting_nav_trial_balance": "Trial balance",
        "accounting_nav_sales": "Sales & AR",
        "accounting_nav_purchases": "Purchases & AP",
        "accounting_nav_vat": "Tax & withholding",
        "accounting_nav_bank": "Bank & cash",
        "accounting_nav_fixed_assets": "Fixed assets",
        "accounting_nav_closing": "Closing & provisions",
        "accounting_nav_reports": "Reports & export",
        "accounting_nav_iraq": "Iraq references",
        "accounting_kpi_currency": "Base currency",
        "accounting_kpi_vat": "Tax filings",
        "accounting_kpi_standards": "Presentation",
        "accounting_card_chart_title": "Chart of accounts",
        "accounting_card_chart_desc": "Account structure, cost centres, link to facilities and product lines.",
        "accounting_card_journal_title": "Journal entries",
        "accounting_card_journal_desc": "Post transactions, value dates, attachments and approvals.",
        "accounting_card_sales_title": "Sales & receivables",
        "accounting_card_sales_desc": "Customer invoices, debit balances, reconciliation with subscriptions.",
        "accounting_card_vat_title": "Tax & withholding",
        "accounting_card_vat_desc": "Sales/service tax, withholding, GCT reporting where applicable.",
        "accounting_card_bank_title": "Banking & liquidity",
        "accounting_card_bank_desc": "Reconciliations, transfers, IQD/USD/EUR.",
        "accounting_card_reports_title": "Reporting",
        "accounting_card_reports_desc": "P&L, balance sheet, cash flow, export.",
        "accounting_sec_chart_title": "Chart of accounts",
        "accounting_sec_chart_intro": "Classification by nature (assets, liabilities, revenue, expense) with pharmacy / healthcare sector customisation.",
        "accounting_sec_chart_bullets": "Numbered account tree | Cost centres & facility mapping | Multi-currency with IQD conversion",
        "accounting_sec_journal_title": "General journal",
        "accounting_sec_journal_intro": "Double-entry posting, sequential numbering, document attachment per transaction.",
        "accounting_sec_journal_bullets": "Automated entries from invoices & payments (planned) | Audit trail on edits | Monthly/yearly periods",
        "accounting_sec_ledger_title": "General ledger",
        "accounting_sec_ledger_intro": "Account movements with opening, period and closing balances.",
        "accounting_sec_ledger_bullets": "Filter by account & period | Posted from journal | Trial balance tie-out",
        "accounting_sec_trial_title": "Trial balance",
        "accounting_sec_trial_intro": "Validate debit/credit balance before financial statements.",
        "accounting_sec_trial_bullets": "Period balances | Variance drill-down | Closing readiness",
        "accounting_sec_sales_title": "Sales & customers",
        "accounting_sec_sales_intro": "Sales invoices, receipts, and accounts receivable for pharmacies, clinics, etc.",
        "accounting_sec_sales_bullets": "Link to platform subscriptions | Payment terms & reminders | Ageing",
        "accounting_sec_purchases_title": "Purchases & suppliers",
        "accounting_sec_purchases_intro": "Supplier invoices, disbursements, inventory matching when enabled.",
        "accounting_sec_purchases_bullets": "Supplier accounts | Accruals | Returns & discounts",
        "accounting_sec_vat_title": "Tax & withholding (Iraq)",
        "accounting_sec_vat_intro": "Framework for compliance: sales/service tax, withholding at source where applicable, coordination with the General Commission of Taxes (GCT).",
        "accounting_sec_vat_bullets": "Audit-ready tax logs | Filing periods | Exempt vs taxable | Requires licensed advisor review",
        "accounting_sec_bank_title": "Bank & treasury",
        "accounting_sec_bank_intro": "IQD and foreign-currency accounts, statement reconciliation, treasury liquidity.",
        "accounting_sec_bank_bullets": "Daily reconciliation | Domestic & SWIFT transfers | Alert thresholds",
        "accounting_sec_assets_title": "Fixed assets",
        "accounting_sec_assets_intro": "Capitalise assets, depreciation schedules, impairment or disposal.",
        "accounting_sec_assets_bullets": "Depreciation policies | Asset counts | Purchase linkage",
        "accounting_sec_closing_title": "Closing & provisions",
        "accounting_sec_closing_intro": "Month/year-end close, inventory and bad-debt provisions, balance carry-forward.",
        "accounting_sec_closing_bullets": "Closing entries | New year opening balances | Reserves",
        "accounting_sec_reports_title": "Reports & export",
        "accounting_sec_reports_intro": "Financial statements under common presentation practices (IFRS alignment where required).",
        "accounting_sec_reports_bullets": "PDF/Excel | Management dashboards | Regulatory schedules",
        "accounting_sec_iraq_title": "Iraq references",
        "accounting_sec_iraq_intro": "Context: official currency IQD; Central Bank of Iraq (CBI) for monetary policy; taxes and fees per current legislation.",
        "accounting_sec_iraq_bullets": "Iraqi regulatory compliance | Monitor legal updates with counsel | Bilingual documentation as needed",
        "accounting_fiscal_block_title": "Fiscal year settings",
        "accounting_fiscal_month_label": "Fiscal year start month (1–12)",
        "accounting_fiscal_day_label": "Fiscal year start day (1–31)",
        "accounting_fiscal_currency_label": "Base currency",
        "accounting_fiscal_label_ar": "Year label (Arabic)",
        "accounting_fiscal_label_en": "Year label (English)",
        "accounting_fiscal_notes": "Internal notes",
        "accounting_fiscal_save": "Save fiscal settings",
        "accounting_chart_block_title": "Chart of accounts (tree)",
        "accounting_chart_add_title": "Add account",
        "accounting_chart_parent": "Parent account",
        "accounting_chart_parent_root": "— Root —",
        "accounting_chart_code": "Account code",
        "accounting_chart_name_ar": "Name (Arabic)",
        "accounting_chart_name_en": "Name (English)",
        "accounting_chart_type": "Type",
        "accounting_chart_type_asset": "Assets",
        "accounting_chart_type_liability": "Liabilities",
        "accounting_chart_type_equity": "Equity",
        "accounting_chart_type_revenue": "Revenue",
        "accounting_chart_type_expense": "Expenses",
        "accounting_chart_add_btn": "Add",
        "accounting_chart_delete": "Delete",
        "accounting_chart_load_error": "Could not load data",
        "accounting_chart_saved": "Saved",
        "accounting_api_missing": "API base URL is not configured for this site.",
        "acct_m5_loading": "Loading accounting summary…",
        "acct_m5_err_load": "Could not load the accounting dashboard. Check connection and permissions.",
        "acct_m5_no_rows": "Nothing to display in this section.",
        "acct_m5_disclaimer": "Figures are operational estimates from the app (completed sales, approved purchases, operating expenses, returns). They do not replace a formal ledger or tax return—consult an Iraq-licensed accountant.",
        "acct_m5_notes_title": "Automatic links to the chart (examples)",
        "acct_m5_tbl_suppliers": "Suppliers: purchases vs return credits",
        "acct_m5_tbl_customers": "Customers and receivables",
        "acct_m5_tbl_expense_cat": "Operating expenses by category",
        "acct_m5_col_supplier": "Supplier",
        "acct_m5_col_customer": "Customer",
        "acct_m5_col_purchases": "Purchases (IQD)",
        "acct_m5_col_credit_ret": "Return credit (IQD)",
        "acct_m5_col_receivable": "Receivable (IQD)",
        "acct_m5_col_category": "Category",
        "acct_m5_col_amount": "Amount (IQD)",
        "acct_m5_kpi_revenue": "Estimated revenue (posted sales)",
        "acct_m5_kpi_purchases": "Approved purchases",
        "acct_m5_kpi_returns_purchase": "Purchase returns",
        "acct_m5_kpi_returns_sales": "Sales returns",
        "acct_m5_kpi_inventory_writeoffs": "Inventory losses (exception exit)",
        "acct_m5_kpi_operating_expenses": "Operating expenses",
        "acct_m5_kpi_customer_ar": "Customer receivables (total)",
        "acct_m5_kpi_supplier_credit": "Supplier credits (from returns)",
        "acct_m5_kpi_est_margin": "Estimated gross margin",
        "acct_m5_kpi_est_net_after_opex": "Estimated net after operating expenses",
        "accounting_nav_accounts": "Account management",
        "accounting_nav_vouchers": "Receipt & payment vouchers",
        "accounting_nav_expenses_acct": "Expenses",
        "accounting_nav_profit_loss": "Profit & expenses",
        "accounting_nav_balances": "Account balances",
        "accounting_nav_statement": "Account statement",
        "accounting_nav_aging": "Debt aging",
        "accounting_nav_principles": "Accounting principles",
        "acct_accounts_intro": "Every trade operation becomes a financial movement: customers, suppliers, cash, bank, expenses, capital.",
        "acct_accounts_li_customer": "Customer accounts — receivables (paid / remaining)",
        "acct_accounts_li_cash": "Cash box — sales cash and collections",
        "acct_accounts_li_supplier": "Supplier accounts — payables",
        "acct_accounts_li_expense": "Expense accounts — rent, payroll, utilities…",
        "acct_accounts_li_bank": "Bank / card payment accounts",
        "acct_accounts_li_capital": "Capital — receipt voucher on paid-in capital",
        "acct_sales_intro": "Sales report: invoice total = paid + remaining, with estimated profit from inventory cost.",
        "acct_purchases_intro": "Approved purchase invoices: cash paid or supplier debt.",
        "acct_vouchers_intro": "Receipt vouchers (customer payments) and payment vouchers (operating expenses).",
        "acct_expenses_intro": "Include expenses to see true net profit.",
        "acct_pl_intro": "Revenue − COGS − expenses = net profit.",
        "acct_balances_intro": "Balance per account: customer, supplier, cash, inventory.",
        "acct_statement_intro": "Movement statement for a customer or supplier (invoices, receipts, returns).",
        "acct_aging_intro": "Debt buckets by age — debts older than two months.",
        "acct_reports_intro": "Daily profit: sales, cost, margin and net for the selected date.",
        "acct_filter_from": "From",
        "acct_filter_to": "To",
        "acct_filter_apply": "Apply",
        "acct_col_invoice": "Invoice",
        "acct_col_date": "Date",
        "acct_col_total": "Total",
        "acct_col_paid": "Paid",
        "acct_col_remaining": "Remaining",
        "acct_col_profit": "Profit",
        "acct_col_pay_method": "Payment method",
        "acct_col_name": "Name",
        "acct_col_balance": "Balance",
        "acct_col_debit": "Debit",
        "acct_col_credit": "Credit",
        "acct_col_type": "Type",
        "acct_col_desc": "Description",
        "acct_pl_revenue": "Revenue",
        "acct_pl_cogs": "Cost of goods",
        "acct_pl_gross": "Gross profit",
        "acct_pl_expenses": "Expenses",
        "acct_pl_net": "Net profit",
        "acct_bal_type_customer": "Customers",
        "acct_bal_type_supplier": "Suppliers",
        "acct_bal_type_cashbox": "Cash box",
        "acct_bal_type_bank": "Bank / card",
        "acct_bal_type_inventory": "Inventory",
        "acct_vouchers_receipts": "Receipt vouchers",
        "acct_vouchers_payments": "Payment vouchers",
        "acct_aging_days": "Days overdue",
        "acct_aging_old_debt": "Old debt (estimate)",
        "acct_statement_type": "Account type",
        "acct_statement_id": "Account ID",
        "acct_statement_pick": "Enter customer or supplier ID then apply.",
        "acct_daily_intro": "Daily profit",
        "acct_pr_intro": "Each operation has financial and stock impact — commercial sales accounting model.",
        "acct_pr_col_op": "Operation",
        "acct_pr_col_fin": "Financial effect",
        "acct_pr_col_stock": "Stock effect",
        "acct_pr_op_sale_cash": "Cash sale",
        "acct_pr_ef_sale_cash": "Cash up + revenue",
        "acct_pr_st_sale_cash": "Stock down",
        "acct_pr_op_sale_credit": "Credit sale",
        "acct_pr_ef_sale_credit": "Customer debt up",
        "acct_pr_st_sale_credit": "Stock down",
        "acct_pr_op_receipt": "Receipt voucher",
        "acct_pr_ef_receipt": "Cash up − customer debt",
        "acct_pr_st_receipt": "—",
        "acct_pr_op_purchase_cash": "Cash purchase",
        "acct_pr_ef_purchase_cash": "Cash down",
        "acct_pr_st_purchase_cash": "Stock up",
        "acct_pr_op_purchase_credit": "Credit purchase",
        "acct_pr_ef_purchase_credit": "Supplier payable",
        "acct_pr_st_purchase_credit": "Stock up",
        "acct_pr_op_payment": "Payment voucher",
        "acct_pr_ef_payment": "Cash down − supplier debt",
        "acct_pr_st_payment": "—",
        "acct_pr_op_expense": "Expense",
        "acct_pr_ef_expense": "Cash down + expense",
        "acct_pr_st_expense": "—",
        "acct_pr_op_sale_ret": "Sales return",
        "acct_pr_ef_sale_ret": "Reverse sale",
        "acct_pr_st_sale_ret": "Back to stock",
        "acct_pr_op_purchase_ret": "Purchase return",
        "acct_pr_ef_purchase_ret": "Reverse purchase",
        "acct_pr_st_purchase_ret": "Out of stock",
        "acct_pr_formula": "Invoice total = paid + remaining | Gross profit = sales − cost | Net = gross − expenses",
        "acct_pr_cycle": "Cycle: sale/purchase → stock → paid/remaining → balance → reports.",
        "acct_doc_sales_invoice": "Sales invoice",
        "acct_doc_receipt": "Receipt",
        "acct_doc_sales_return": "Sales return",
        "acct_doc_purchase_invoice": "Purchase invoice",
        "acct_doc_payment": "Payment",
        "acct_commercial_subtitle": "Trade accounting linked to pharmacy data — paid, remaining, profit, receivables",
        "acct_export_csv": "Export CSV",
        "acct_print_pdf": "Print PDF",
        "acct_aging_bucket_0_30": "0–30 days",
        "acct_aging_bucket_31_60": "31–60 days",
        "acct_aging_bucket_61_90": "61–90 days",
        "acct_aging_bucket_90": "90+ days",
        "acct_sim_btn": "Simulation",
        "acct_sim_btn_off": "Exit simulation",
        "acct_sim_banner": "Sample preview data only — nothing is saved to the account.",
        "support_clear_customer": "Clear selection",
        "status_escalated": "Escalated (Tunisia)",
        "send_whatsapp": "Contact via WhatsApp",
        "translations_title": "Translations Management",
        "translations_desc": "Edit the texts displayed on the platform by language (Arabic or English).",
        "translation_key": "Translation Key",
        "value_ar": "Arabic Text",
        "value_en": "English Text",
        "add_key": "+ Add New Key",
        "saved_success": "Translations saved successfully",
        "env_check_config_error": "Config load error",
        "env_check_api_error": "Invalid server response",
        "env_check_403": "403 Forbidden — Check nginx config (proxy_pass for /api/)",
        "env_check_404": "404 Not Found — /api/ path not defined",
        "env_check_5xx": "Server internal error",
        "env_check_connection_failed": "Connection failed",
        "env_check_verify_server": "Verify Python server is running and nginx proxy",
        "platform_mode": "Platform Mode",
        "platform_settings_desc": "Platform settings and API connection",
        "db_config": "Database config",
        "db_config_hint": "Configure a specific database server for this tenant. Empty = use platform default.",
        "db_type": "Type",
        "db_default": "Platform default",
        "db_host": "Host",
        "db_port": "Port",
        "db_user": "User",
        "db_password": "Password",
        "db_name": "Database",
        "db_path": "Path",
        "db_config_title": "Database",
        "db_config_desc": "Choose database type and connection settings. Server restart will be required after applying.",
        "db_config_active": "Currently used engine",
        "db_config_type": "Database type",
        "db_config_host": "IP / Host",
        "db_config_port": "Port",
        "db_config_dbname": "Database name",
        "db_config_user": "Username",
        "db_config_password": "Password",
        "db_config_password_placeholder": "••••••••",
        "db_config_password_hint": "Leave empty to keep current value",
        "db_config_test": "Test connection",
        "db_config_test_ok": "Connection successful ✓",
        "db_config_test_fail": "Failed",
        "db_err_password_required": "A password is required. Enter the database account password and try again.",
        "db_err_user_required": "A username is required. Enter the database user and try again.",
        "db_err_user_unknown": "This database account does not exist. Check the username.",
        "db_err_host_required": "The server address is required. Enter the IP or host name.",
        "db_err_port_required": "The port number is required.",
        "db_err_port_invalid": "The port must be a number between 1 and 65535.",
        "db_err_dbname_required": "The database name is required.",
        "db_err_invalid_type": "Unknown database type.",
        "db_err_write_env": "Could not save the .env file (write permission). The MIP service account (often www-data) must be able to edit this file.",
        "db_err_write_env_after_bootstrap": "MariaDB databases may have been created, but .env was not saved: MIP is still on SQLite. Fix .env permissions, then apply again.",
        "db_err_bad_credentials": "Incorrect username or password. Check the credentials and try again.",
        "db_err_unreachable": "The database server could not be reached. Check that the service is running and that the host and port are correct.",
        "db_err_unknown_db": "This database does not exist yet. Correct the name, or apply the configuration so MIP can create it.",
        "db_err_auth_plugin": "This account is not compatible with MIP. Use an account with a regular password (not a Windows session).",
        "db_err_generic": "Could not connect to the database. Check the host, port, username and password.",
        "db_ok_sqlite": "SQLite uses a local file. No network connection is required.",
        "db_ok_connected": "Connection successful. The database is ready.",
        "db_ok_applied": "The application now uses the selected database engine.",
        "db_ok_applied_tenants": "The application now uses this engine. The platform and tenant databases are ready.",
        "db_ok_reload_failed": "Configuration saved. Restart the server to apply it.",
        "error_requires_superadmin": "This action is restricted to the system administrator.",
        "db_config_apply": "Apply & prepare",
        "db_config_apply_confirm": "Apply this configuration? Server restart will be required.",
        "db_config_preparing": "Preparing platform...",
        "db_config_preparing_desc": "Database configuration in progress",
        "db_config_success": "Configuration saved",
        "db_config_restricted": "This configuration is restricted to superadmin users only.",
        "settings_tenant_ads_position": "Platform ads position (tenant apps)",
        "settings_tenant_ads_position_below": "Below the welcome block on the dashboard",
        "settings_tenant_ads_position_aside": "Side column opposite the main menu",
        "settings_tenant_ads_position_hint": "Controls where MoH directives and sponsored ads appear on tenant apps (/s/…). On small screens the side column stacks below the main content.",
        "settings_app_mode_title": "Platform mode",
        "settings_app_mode_desc": "Development mode: enables API debug and a « Dev » button on every form to fill sample data. Production mode: all of this is hidden.",
        "settings_app_mode_label": "Environment",
        "settings_app_mode_production": "Production",
        "settings_app_mode_development": "Development",
        "settings_hero_title": "Platform settings",
        "settings_hero_desc": "Manage email, users, environment, maintenance and system options.",
        "maintenance_status_on": "Maintenance",
        "maintenance_status_off": "Online",
        "maintenance_settings_title": "Maintenance mode",
        "maintenance_settings_desc": "Closes the main app for all users and revokes every open session. Access remains possible with a secret code (24 h) or via tenant sites /s/.",
        "maintenance_settings_enable": "Enable maintenance mode",
        "maintenance_secret_label": "Maintenance secret code",
        "maintenance_secret_hint": "At least 6 characters. Leave blank to keep the current code.",
        "maintenance_secret_confirm": "Confirm code",
        "maintenance_enable_btn": "Enable maintenance",
        "maintenance_disable_btn": "Disable maintenance",
        "maintenance_secret_required": "Set a maintenance code before enabling.",
        "maintenance_secret_mismatch": "Maintenance codes do not match.",
        "maintenance_secret_too_short": "Maintenance code is too short (min. 6 characters).",
        "maintenance_enable_confirm": "Enable maintenance? All open sessions will be revoked immediately.",
        "maintenance_disable_confirm": "Disable maintenance and reopen the platform for everyone?",
        "maintenance_enabled_success": "Maintenance mode enabled. All sessions were revoked.",
        "maintenance_disabled_success": "Maintenance mode disabled.",
        "maintenance_page_title": "Platform under maintenance",
        "maintenance_page_lead": "We are performing technical updates. Access is temporarily limited to authorized staff with the maintenance code.",
        "maintenance_unlock": "Continue",
        "maintenance_secret_invalid": "Invalid code",
        "maintenance_login_banner": "The platform is in maintenance mode. Enter the maintenance code to access.",
        "maintenance_login_link": "Maintenance code",
        "maintenance_login_top": "Maintenance mode active",
        "maintenance_mode_active": "The platform is in maintenance mode.",
        "error_session_revoked": "Your session ended due to a security settings change. Please sign in again.",
        "pwa_offline_title": "PWA Offline",
        "pwa_offline_desc": "Enable offline mode for tenant apps (pharmacy, cabinet, supplier). Data is queued and synced when connection is restored.",
        "pwa_offline_enable": "Enable PWA Offline",
        "pwa_offline_guide": "Integration guide",
        "pwa_offline_guide_content": "1. Check: fetch('/api/pwa-offline/config')2. SW: navigator.serviceWorker.register('/pwa-offline/service-worker.js')3. Manifest: <link rel=\"manifest\" href=\"/pwa-offline/manifest.json\">4. Sync: MIPOfflineSync.init({apiBase,tenantId,token}).wrapFetch(fetch)5. Details: pwa-offline/README.md",
        "token_status": "Token Status",
        "saved": "Saved ✓",
        "drug_form_desc": "Please fill in the product details carefully before saving.",
        "click_drag_image": "Click or drag image here",
        "storage_unit_box": "Box",
        "storage_unit_pallet": "Pallet",
        "error_saving_ticket": "Error saving ticket",
        "error_saving": "Error saving",
        "delete_failed": "Delete failed",
        "approve_failed": "Approve failed",
        "lvl1_support_desc": "Direct customer and facility support team",
        "lvl2_support_desc": "Development and advanced maintenance team (Task Manager)",
        "support_online": "Online",
        "error_saving_facility": "Error saving facility",
        "error_saving_drug": "Error saving drug request",
        "error_saving_translations": "Error saving translations",
        "error_adding_key": "Error adding key",
        "patient_nid": "NID",
        "patient_name": "Name",
        "patient_first_name": "First name",
        "patient_father_name": "Father's name",
        "patient_grandfather_name": "Grandfather's name",
        "patient_family_name": "Family name",
        "patient_mother_name": "Mother",
        "patient_maternal_grandfather_name": "Maternal grandfather",
        "patient_gender": "Gender",
        "patient_gender_male": "Male",
        "patient_gender_female": "Female",
        "patient_gender_placeholder": "— Select gender —",
        "patient_form_section_id": "National ID card details",
        "patient_name_full_card": "Full name (as on the card)",
        "patient_age": "Age",
        "patient_birth_date": "Date of birth",
        "patient_blood_type_placeholder": "— Select blood type —",
        "patient_age_auto_hint": "Updated automatically from date of birth",
        "patients_reader_banner_title": "Patient identification: national ID card and reader",
        "patients_reader_banner_p1": "We recommend entering patient data by reading the national ID card with a keyboard-wedge USB reader or equivalent.",
        "patients_reader_banner_p2": "From the card or its printed QR code you typically obtain: card number, full name, blood group, and date of birth — the platform calculates age from the date of birth.",
        "patients_reader_banner_p3": "Place the cursor in the NID field, then swipe the card in the reader or scan the QR code if present.",
        "patients_reader_form_hint": "Card read: install Iraqi_ID_Reader.exe on this PC and connect the ACR1552U reader, or focus the NID field and scan the card (keyboard wedge mode).",
        "patients_scan_focus_nid": "Focus this field before scanning the card or QR",
        "id_reader_scan_btn": "Scan national ID card",
        "id_reader_reading": "Reading card…",
        "id_reader_read_ok": "Card read successfully",
        "id_reader_agent_offline": "ID reader not connected — install Iraqi_ID_Reader.exe on this PC",
        "id_reader_no_device": "ACR1552U reader not detected",
        "id_reader_place_card": "Place the card on the reader, then tap Scan",
        "id_reader_card_ready": "Card on reader — ready to scan",
        "id_reader_needs_mrz": "First unlock with MRZ keys via the reader app is required",
        "id_reader_no_nid": "No national ID number extracted from the card",
        "id_reader_download_agent": "Install ID reader",
        "id_reader_https_required": "Site must be served over HTTPS for the local reader",
        "patients_reader_svg_alt": "Illustration: ID card, reader, and QR code",
        "patients_id_read_btn": "Read national ID card",
        "patients_id_reading": "Reading…",
        "patients_id_no_reader": "No reader found. Start MIP NID Bridge on this PC (tools/mip_nid_bridge) and connect the USB reader.",
        "patients_id_bridge_ready": "Local reader service connected — place the card on the reader, then click « Read card ».",
        "patients_id_bridge_offline": "Reader service not running on this PC (same machine as the USB reader).",
        "patients_id_bridge_download": "Download MIP NID Bridge (ZIP) — then run install.bat",
        "patients_id_serial_denied": "Serial port selection was cancelled. Connect the reader, run the local app, or pick the port in the browser dialog.",
        "patients_id_serial_gesture": "Click « Read card » again and select the reader in the dialog immediately.",
        "patients_id_read_ok": "Form fields filled from card data.",
        "patients_id_preview_ready": "Card read — review the data above, then click « Fill form ».",
        "patients_id_card_preview_title": "Data read from card",
        "patients_id_fill_form_btn": "Fill form",
        "patients_id_bridge_health_ok": "Bridge connected — 127.0.0.1:9176/health",
        "patients_id_bridge_health_off": "Bridge offline — start MIP NID Bridge",
        "patients_id_bridge_health_checking": "Checking bridge…",
        "patients_id_bridge_connect_btn": "Check connection",
        "patients_id_locked_hint": "Data read from the card cannot be edited.",
        "patients_id_read_failed": "Could not read the card. Try again or enter the data manually.",
        "patients_context_tenant": "Facility (patient database)",
        "patients_no_tenant_context": "No tenant (facility) is selected to save patients. Add a facility under Clients & Facilities, or pick one from the list when available.",
        "btn_patient_dossier": "Medical record",
        "patient_dossier_title": "Medical record",
        "patient_dossier_intro": "Medical data is stored in the central platform registry and shared across all facilities.",
        "patient_platform_id": "Platform ID",
        "emr_tab_allergies": "Allergies",
        "emr_tab_history": "History",
        "emr_tab_consultations": "Consultations",
        "emr_tab_exams": "Exams",
        "emr_tab_contacts": "Emergency contacts",
        "emr_tab_documents": "Documents",
        "emr_tab_timeline": "Timeline",
        "btn_add_allergy": "+ Allergy",
        "btn_add_history": "+ History",
        "btn_add_contact": "+ Contact",
        "btn_add_document": "+ Document",
        "emr_no_allergies": "No allergies recorded",
        "emr_no_history": "No history recorded",
        "emr_no_consultations": "No consultations",
        "emr_no_exams": "No exams",
        "emr_no_contacts": "No emergency contacts",
        "emr_no_documents": "No documents",
        "emr_no_timeline": "No timeline events",
        "modal_emr_allergy": "Add allergy",
        "modal_emr_history": "Add medical history",
        "modal_emr_contact": "Add emergency contact",
        "modal_emr_document": "Add document",
        "emr_field_substance": "Substance",
        "emr_field_severity": "Severity",
        "emr_severity_unspecified": "— Unspecified —",
        "emr_allergy_severity_mild": "Mild",
        "emr_allergy_severity_moderate": "Moderate",
        "emr_allergy_severity_severe": "Severe",
        "emr_field_reaction": "Reaction",
        "emr_field_notes": "Notes",
        "emr_field_category": "Category",
        "emr_history_cat_medical": "Medical",
        "emr_history_cat_surgical": "Surgical",
        "emr_history_cat_family": "Family",
        "emr_history_cat_other": "Other",
        "emr_field_title": "Title",
        "emr_field_onset_date": "Onset date",
        "emr_field_description": "Description",
        "emr_field_name": "Name",
        "emr_field_relation": "Relation",
        "emr_field_primary_contact": "Primary emergency contact",
        "emr_field_doc_type": "Document type",
        "emr_doc_type_lab": "Lab report",
        "emr_doc_type_imaging": "Imaging",
        "emr_doc_type_prescription": "Prescription",
        "emr_doc_type_report": "Medical report",
        "emr_doc_type_other": "Other",
        "emr_field_file_url_optional": "File URL (optional)",
        "emr_timeline_consultation": "Consultation",
        "val_allergy_substance_required": "Substance is required",
        "val_history_title_required": "Title is required",
        "val_contact_name_required": "Name is required",
        "val_document_title_required": "Document title is required",
        "msg_saved_success": "Saved successfully",
        "blood_type": "Blood Type",
        "last_visit": "Last Visit",
        "package": "Package",
        "items_imported": "items imported",
        "tab_roles": "Roles",
        "tab_users": "Users",
        "tab_page_permissions": "Page access",
        "add_role": "Add role",
        "role_id_hint": "Lowercase Latin id (a-z, digits, _)",
        "roles_manage_desc": "Create custom roles and set page access in the « Page access » tab.",
        "page_permissions_desc": "Choose which main app pages each role can access.",
        "role_pages_readonly_hint": "Super admin column is read-only — full access.",
        "role_full_access": "Full access",
        "confirm_delete_role": "Delete this role?",
        "error_role_protected": "This role is protected and cannot be deleted.",
        "role_superadmin": "Super Admin",
        "roles": "Roles",
        "roles_multiple_hint": "Multiple roles can be assigned. Super admin has all permissions.",
        "roles_required": "Select at least one role",
        "error_permission_denied": "You do not have permission for this action",
        "error_super_role_assign_forbidden": "Cannot assign superadmin role",
        "error_super_user_modify_forbidden": "Cannot modify a superadmin user",
        "error_last_superadmin": "At least one superadmin must remain",
        "error_cannot_delete_self": "You cannot delete your own account",
        "password_keep_blank": "Leave blank to keep current password",
        "error_super_role_permissions_locked": "Super admin permissions cannot be modified.",
        "add_patient": "Add Patient",
        "years": "years",
        "suspended": "Suspended",
        "registration_intents": "Registration intents (awaiting payment)",
        "intent_pending": "Draft",
        "intent_awaiting_card": "Awaiting card",
        "intent_awaiting_transfer": "Awaiting bank transfer",
        "intent_paid": "Paid",
        "intent_rejected": "Rejected",
        "intent_failed": "Provisioning error",
        "intent_validated": "Account activated",
        "intent_rejected_done": "Intent rejected",
        "confirm_delete_intent": "Delete this registration request? A facility account already created will not be deleted.",
        "intent_deleted": "Registration request deleted.",
        "intent_delete_superadmin_only": "Only a super admin can delete registration requests.",
        "confirm_validate_transfer": "Validate bank transfer",
        "enter_bank_reference": "Bank reference received (optional):",
        "intent_email_verified_title": "Email verification",
        "intent_email_verified_hint": "After a manual bank-transfer approval you can activate the account without an email link. Email verification is required only for card payments.",
        "intent_activate_skip_email": "Activate without email verification",
        "intent_send_verify_email": "Send verification link",
        "intent_tenant_created": "Created account",
        "email": "Email",
        "plan": "Plan",
        "type": "Type",
        "method": "Method",
        "reference": "Reference",
        "created_at": "Created",
        "retry_provision": "Retry account creation",
        "confirm_reject": "Reject this registration?",
        "enter_reject_reason": "Rejection reason (sent to applicant):",
        "reject_reason_placeholder": "Transfer not received / missing info...",
        "filter_by_status": "Status",
        "filter_support_line": "Support line",
        "all": "All",
        "approve": "Approve",
        "reject": "Reject",
        "choose_payment_method": "Choose your payment method",
        "amount_to_pay": "Amount due",
        "pay_by_card_aps": "Credit / Debit card (APS.iq)",
        "pay_by_bank_transfer": "Bank transfer",
        "no_payment_method_available": "No payment method available. Contact support.",
        "no_payment_method_configured": "No payment method is set up for registration. Enable card (APS) or bank transfer in billing settings.",
        "redirecting_to_aps": "Redirecting to payment gateway...",
        "bank_transfer_instructions": "Bank transfer instructions",
        "please_transfer_amount": "Please transfer the following amount:",
        "account_holder": "Account holder",
        "bank_name": "Bank name",
        "account_number": "Account number",
        "transfer_reference": "Reference (must be included in the transfer)",
        "transfer_pending_review": "Your account will be activated after admin confirms payment. You will receive a confirmation email.",
        "check_payment_status": "Track payment status",
        "upload_transfer_proof": "Transfer receipt (optional — PDF or image)",
        "send_proof": "Send receipt",
        "select_file": "Please choose a file.",
        "sending": "Uploading…",
        "proof_uploaded": "Receipt received, thank you.",
        "transfer_proof": "Proof",
        "transfer_proof_link": "Open",
        "payment_config_title": "Registration payment configuration",
        "payment_config_hint": "APS.iq (card) and bank transfer for new registrations. Without these settings, simulation mode is used.",
        "aps_section_title": "APS.iq (card payment)",
        "bank_section_title": "Bank transfer",
        "aps_enabled": "Enabled",
        "aps_mode": "Mode",
        "aps_simulate": "Local simulation",
        "aps_channel": "Card payment mode",
        "aps_channel_demo": "Demo — MIP test cards",
        "aps_channel_production": "Production — live APS.iq",
        "aps_channel_hint": "Demo: MIP card form with test PANs; success creates the account immediately. Production: real APS hosted page.",
        "aps_mode_test": "APS test (sandbox)",
        "aps_mode_live": "APS live production",
        "aps_prod_ready_hint": "Enter merchant credentials and API URLs from the APS portal. MIP posts to /payments/sessions and waits for the webhook.",
        "aps_demo_cards_title": "Demo card numbers",
        "aps_demo_cards_hint": "On public /register the customer fills a card form. Success PANs create the account immediately. CVV 123 · expiry 12/29 or any future date.",
        "aps_demo_cards_tap": "Tap a card to fill the form",
        "aps_demo_fill_card": "Fill this card",
        "aps_demo_test_name": "Test Card",
        "aps_demo_result_paid_short": "Approved",
        "aps_demo_pan": "Card number",
        "aps_demo_brand": "Brand",
        "aps_demo_result": "Result",
        "aps_demo_result_paid": "Approved — account created",
        "aps_demo_result_declined": "Declined",
        "aps_demo_page_title": "Demo card payment",
        "aps_demo_page_lead": "Use a test card number. No real payment is sent to APS.",
        "aps_demo_badge": "Demo mode",
        "aps_demo_cardholder": "Name on card",
        "aps_demo_expiry": "Expiry (MM/YY)",
        "aps_demo_cvv": "CVV",
        "aps_demo_pay": "Pay and create account",
        "aps_demo_cards_cvv_exp": "CVV 123 · expiry 12/29",
        "aps_demo_pay_failed": "Demo payment could not be completed",
        "aps_demo_redirect": "Opening the demo card form…",
        "demo_disabled": "Demo mode is not enabled",
        "demo_card_invalid": "Invalid demo card (number, expiry or CVV)",
        "demo_card_declined": "Demo card declined",
        "provisioning_failed": "Account creation failed after payment — you can try again",
        "card_pay_retry_hint": "You can correct your details and try again without losing your registration session.",
        "card_pay_retry": "Retry payment",
        "invalid_session": "Invalid payment session",
        "aps_credentials_missing": "APS credentials missing (Merchant ID / Token / Secret)",
        "aps_disabled": "Card payment is disabled",
        "aps_currency": "Currency",
        "aps_test_url": "Test URL",
        "aps_prod_url": "Production URL",
        "aps_merchant_id": "Merchant ID",
        "aps_app_token": "App Token",
        "aps_app_secret": "App Secret",
        "aps_callback_secret": "Callback Secret (HMAC)",
        "plans_open_aps_config": "Configure APS",
        "aps_config_real_title": "Live APS status",
        "aps_runtime_disabled": "Disabled",
        "aps_runtime_simulation": "Simulation (not live APS)",
        "aps_runtime_live_test": "Live APS — test mode",
        "aps_runtime_live_production": "Live APS — production",
        "aps_runtime_misconfigured": "Incomplete (URL or credentials)",
        "aps_webhook_urls_title": "APS URLs (webhook / return)",
        "aps_callback_url": "Callback (webhook)",
        "aps_return_url": "Return URL (template)",
        "aps_webhook_hint": "Copy these URLs into the APS merchant portal. BASE_URL =",
        "aps_live_checklist": "For live APS: Enabled = Yes, Simulation = No, merchant ID + tokens, and API URL for the selected mode.",
        "aps_cred_merchant_ok": "Merchant ID ✓",
        "aps_cred_merchant_miss": "Merchant ID missing",
        "aps_cred_token_ok": "App Token ✓",
        "aps_cred_token_miss": "App Token missing",
        "aps_cred_secret_ok": "App Secret ✓",
        "aps_cred_secret_miss": "App Secret missing",
        "aps_cred_callback_ok": "Callback Secret ✓",
        "aps_cred_callback_miss": "Callback Secret missing",
        "copy": "Copy",
        "copied": "Copied",
        "bank_transfer_enabled": "Enable bank transfer",
        "bank_instructions_ar": "Instructions (AR)",
        "bank_instructions_en": "Instructions (EN)",
        "yes": "Yes",
        "no": "No",
        "intro_registration_intents_title": "Registration intents awaiting payment",
        "intro_registration_intents_p1": "Manage registration intents: review bank transfers and confirm payments. Tenant accounts are created automatically once payment is verified.",
        "intro_registration_intents_aria": "Registration intents intro",
        "admin_name_label": "Admin name",
        "billing_month": "month",
        "role_user": "User",
        "email_label": "Email",
        "phone_label": "Phone",
        "address_label": "Address",
        "governorate_label": "Governorate",
        "city_label": "City",
        "governorate_placeholder": "Select governorate",
        "city_placeholder": "Select city",
        "governorate_required": "Governorate is required.",
        "city_required": "City is required.",
        "governorate_invalid": "Invalid governorate.",
        "city_invalid": "Invalid city.",
        "iraq_geo_title": "Iraqi governorates and cities",
        "iraq_geo_desc": "Arabic names only. Used on registration and tenant creation.",
        "iraq_add_governorate": "Add governorate",
        "iraq_add_city": "Add city",
        "iraq_geo_name_ar": "Arabic name",
        "iraq_geo_in_use": "Cannot delete: used by a facility.",
        "iraq_geo_has_cities": "Delete cities in this governorate first.",
        "iraq_geo_id_exists": "This ID already exists.",
        "iraq_geo_name_required": "Arabic name is required.",
        "iraq_geo_not_found": "Item not found.",
        "iraq_geo_invalid_id": "Invalid ID.",
        "iraq_geo_active": "Active",
        "license_label": "License / Approval No.",
        "new_payment": "New payment",
        "payment_download_invoice": "Download invoice",
        "payment_send_invoice": "Send invoice",
        "payment_invoice_sent": "Invoice sent to the client email",
        "payment_invoice_send_failed": "Could not send the invoice",
        "payment_invoice_download_failed": "Could not download the invoice",
        "edit_payment": "Edit payment",
        "payment_client": "Client",
        "payment_amount": "Amount (IQD)",
        "payment_method": "Method",
        "payment_reference": "Reference",
        "payment_status": "Status",
        "payment_status_pending": "Pending",
        "payment_status_failed": "Failed",
        "payment_currency": "Currency",
        "payment_paid_at": "Paid at (date/time)",
        "payment_paid_at_hint": "When status is Paid: set a past date manually if needed.",
        "payment_paid_at_hint_required": "Required — collection date and time.",
        "payment_select_client": "— Select client —",
        "create": "Create",
        "amount_collected": "Amount collected",
        "reset_data_title": "Full platform reset",
        "reset_data_desc": "Delete clients, sites and operational data, then restore defaults. The drugs catalogue, platform settings (SMTP, etc.) and database connection settings are kept. You will be logged out.",
        "reset_data_btn": "Full reset",
        "reset_data_confirm": "Are you sure? Clients, sites and operational data will be deleted and the default account (admin / password123) will be recreated. Drugs catalogue and SMTP/database settings will not be deleted.",
        "reset_data_success": "Data reset successfully. Please log in again.",
        "settings_demo_seed_title": "Install demo data",
        "settings_demo_seed_desc": "Create demo clients (pharmacy, lab, clinics…) with payments, subscriptions, support tickets and sample invoices. System settings and users are untouched.",
        "settings_demo_seed_btn": "Install demo data",
        "settings_demo_seed_confirm": "Install demo data? Demo clients and related records will be added or refreshed.",
        "settings_demo_seed_success": "Demo data installed successfully.",
        "settings_business_reset_title": "Reset operational data",
        "settings_business_reset_desc": "Remove clients, payments, subscriptions, support, invoices, sites and accounting journal entries — while keeping users, settings, catalog and chart of accounts.",
        "settings_business_reset_btn": "Reset operational data",
        "settings_business_reset_confirm": "Are you sure? All clients, payments, support and invoices will be deleted. Users and settings remain.",
        "settings_business_reset_success": "Operational data reset. You can install demo data again.",
        "session_expired": "Session expired. Please log in again.",
        "register_page_title": "Pharmacy Registration - The Iraqi Medical Integrated Platform",
        "back_login": "Back to login",
        "back_register": "Back to registration",
        "register_hub_title": "Platform Registration",
        "register_hub_subtitle": "Choose the medical facility type that fits your needs",
        "register_hub_tagline": "Easier management, better care",
        "register_start_now": "Start now",
        "register_card_desc_clinic": "Manage appointments, patients, medical records and billing with ease",
        "register_card_desc_ph": "Manage inventory, sales, prescriptions and financial reports",
        "register_card_desc_lab": "Manage tests, results, equipment and patients",
        "register_card_desc_imaging": "Manage bookings, imaging, reports and patients",
        "register_card_desc_store": "Manage inventory, suppliers, orders and products",
        "register_hub_feat_support": "24/7 technical support",
        "register_hub_feat_updates": "Continuous updates",
        "register_hub_feat_security": "Your data is secure",
        "register_hub_feat_ease": "Easy to use",
        "register_step_info": "Information",
        "register_step_payment": "Payment",
        "register_step_access": "Access",
        "pharmacist_name_label": "Pharmacist name",
        "pay_by_card_aps_hint": "Secure payment via Arab Payment Services (APS) — Iraq",
        "pay_by_bank_transfer_hint": "Bank transfer validated by our team",
        "register_status_title": "Registration status",
        "register_status_loading": "Loading…",
        "register_status_missing_id": "Request ID is missing.",
        "register_status_not_found": "Registration request not found.",
        "register_status_retry": "Network error. Retrying…",
        "register_status_intent_id": "Request ID",
        "register_status_access_account": "Access your account",
        "register_status_paid": "Paid — account created",
        "register_status_awaiting_transfer": "Awaiting bank transfer",
        "register_status_awaiting_card": "Awaiting card payment",
        "register_status_failed": "Account creation failed",
        "register_status_rejected": "Registration rejected",
        "prov_title": "Creating your account and site",
        "prov_step_payment": "Confirming payment…",
        "prov_step_account": "Creating your account…",
        "prov_step_site": "Preparing your site…",
        "prov_step_email": "Sending welcome and invoice emails…",
        "prov_ready_title": "Your account is ready",
        "prov_ready_lead": "Your account and site are ready. Keep these details — we also sent them to your email.",
        "prov_site": "Site URL",
        "prov_password_hint": "The password you entered at signup — also in the welcome email",
        "prov_emails_sent": "We sent a welcome message and your payment invoice.",
        "prov_open_login": "Open your account",
        "prov_fail_title": "Account creation could not be completed",
        "prov_fail_lead": "Payment was received but site creation did not finish. Contact support and we will complete it.",
        "currency_iqd_short": "IQD",
        "register_ph_page_title": "Pharmacy Registration - The Iraqi Medical Integrated Platform",
        "register_ph_title": "Register new pharmacy",
        "register_ph_subtitle": "Create your account and start managing your pharmacy easily",
        "register_ph_btn": "Create pharmacy account and start",
        "register_ph_card": "Pharmacy",
        "register_store_page_title": "Store Registration - The Iraqi Medical Integrated Platform",
        "register_store_title": "Register new medical store",
        "register_store_subtitle": "Join the platform to manage your medical store",
        "register_store_btn": "Register store",
        "register_store_card": "Medical warehouse",
        "store_plan": "Store Package",
        "register_clinic_page_title": "Clinic Registration - The Iraqi Medical Integrated Platform",
        "register_clinic_title": "Register new medical clinic",
        "register_clinic_subtitle": "Join the platform to manage your clinic",
        "register_clinic_btn": "Register clinic",
        "register_clinic_card": "Medical clinic",
        "register_clinic_type": "Clinic type",
        "register_clinic_type_ph": "Select clinic type (Ibn Sina)",
        "clinic_type_required": "Please select a clinic type",
        "clinic_plan": "Clinic Package",
        "register_lab_page_title": "Lab Registration - The Iraqi Medical Integrated Platform",
        "register_lab_title": "Register new medical lab",
        "register_lab_subtitle": "Join the platform to manage your lab",
        "register_lab_btn": "Register lab",
        "register_lab_card": "Medical lab",
        "lab_plan": "Lab Package",
        "register_imaging_page_title": "Imaging Center Registration - The Iraqi Medical Integrated Platform",
        "register_imaging_title": "Register new imaging center",
        "register_imaging_subtitle": "Join the platform to manage your imaging center",
        "register_imaging_btn": "Register imaging center",
        "register_imaging_card": "Imaging center",
        "imaging_plan": "Imaging Center Package",
        "imaging": "Imaging center",
        "register_title": "Register your pharmacy",
        "register_subtitle": "Join The Iraqi Medical Integrated Platform to manage your pharmacy",
        "pharmacy_plan": "Pharmacy Package",
        "month": "month",
        "billing_months": "Number of months",
        "billing_months_hint": "Total = plan price × selected months.",
        "billing_total": "Total",
        "pharmacy_name_ph": "e.g. Al-Salam Pharmacy",
        "register_name_label_ph": "Pharmacy name",
        "register_name_label_clinic": "Clinic name",
        "register_name_label_lab": "Lab name",
        "register_name_label_imaging": "Imaging center name",
        "register_name_label_store": "Medical store name",
        "register_name_label_hospital": "Hospital name",
        "register_name_ph_clinic": "e.g. Al-Noor Clinic",
        "register_name_ph_lab": "e.g. Al-Rafidain Lab",
        "register_name_ph_imaging": "e.g. Modern Imaging Center",
        "register_name_ph_store": "e.g. Al-Salam Medical Store",
        "register_name_ph_hospital": "e.g. Baghdad Hospital",
        "lang_switch_aria": "Language",
        "intent_not_found": "Registration request not found.",
        "plan_not_found": "Plan not found.",
        "register_btn": "Register pharmacy",
        "registering": "Registering...",
        "success_msg": "Registration successful! Your site is available at:",
        "error_msg": "An error occurred during registration",
        "error_connection": "Could not connect to server. Check your connection and try again.",
        "error_server": "Server error. Please try again later.",
        "field_required": "This field is required",
        "field_unknown": "Field",
        "form_errors_title": "Please correct the form",
        "form_error_on_field": "Error in",
        "form_errors_hint": "Check the fields highlighted in red below.",
        "toast_warning_title": "Warning",
        "invalid_email": "Invalid email format",
        "email_required": "Email is required to send the access details",
        "user_access_email_hint": "Username, password and the MIP Main login link will be sent to this address.",
        "user_access_email_failed": "The account was created but the access email could not be sent. Check SMTP settings.",
        "invalid_phone": "Invalid phone number (8–15 digits; +, spaces, and dashes allowed)",
        "subscription_amount_invalid": "Invalid amount (a positive number is required).",
        "subscription_amount_ph": "e.g. 150000",
        "payment_client_required": "Select a client.",
        "payment_amount_invalid": "Invalid amount (integer ≥ 0).",
        "payment_paid_at_invalid": "Invalid date or time.",
        "payment_reference_ph": "Reference, transaction ID, check no.…",
        "drug_trade_one_required": "Enter a trade name in Arabic or English (at least one)",
        "password_min": "At least 6 characters",
        "password_rules_hint": "At least 8 characters, including uppercase, lowercase, a number and a symbol (!@#…)",
        "email_templates_title": "Email Templates",
        "email_templates_desc": "Create bilingual HTML templates (AR/EN). Machine name is used by the system.",
        "email_templates_system_title": "System templates (automatic)",
        "email_templates_system_intro": "Keep machine names unchanged; you may edit subjects and HTML. Admin notifications use the Arabic body (html_ar) unless configured otherwise later.",
        "email_tpl_row_verification": "verification — email verification for new users",
        "email_tpl_row_registration_admin": "registration_admin — notify platform admins on new facility signup",
        "email_tpl_row_drug_request": "drug_request_review — tenant drug addition pending review",
        "email_tpl_row_drug_approved": "drug_request_approved — email to facility after drug approved",
        "email_tpl_row_drug_rejected": "drug_request_rejected — email to facility after drug declined (with reason)",
        "email_tpl_row_ticket": "ticket_new_admin — new support ticket",
        "email_tpl_row_ticket_thread": "ticket_thread_notify — email on each support ticket reply",
        "email_tpl_row_transfer": "registration_transfer_instructions — bank transfer instructions to the applicant",
        "email_tpl_row_transfer_admin": "registration_transfer_admin — notify admins of a pending bank transfer",
        "email_tpl_row_payment_ok": "registration_payment_confirmed — payment confirmed, account activated",
        "email_tpl_row_payment_ko": "registration_payment_rejected — registration / payment declined",
        "email_tpl_row_tenant_activation": "tenant_activation — facility created from admin (pending activation)",
        "email_tpl_row_tenant_access": "tenant_access — username, password and login link after verification or admin create",
        "email_tpl_row_platform_user": "platform_user_access — MIP Main user credentials (username, password, login link)",
        "email_tpl_row_welcome": "welcome / welcome_greeting — full welcome after payment (thanks, site URL, username and password)",
        "email_tpl_row_greeting": "greeting — welcome and thank-you after account creation (same content as welcome)",
        "email_tpl_row_invoice": "payment_invoice — payment invoice / receipt after account creation",
        "email_tpl_row_provision_fail": "registration_provisioning_failed — payment succeeded but site creation failed (customer)",
        "email_tpl_row_provision_fail_admin": "registration_provisioning_failed_admin — alert admins when provisioning fails after payment",
        "email_tpl_row_transfer_proof": "transfer_proof_received — confirm bank-transfer receipt to the customer",
        "email_tpl_row_transfer_proof_admin": "transfer_proof_admin — notify admins of a new transfer receipt",
        "email_tpl_row_password_reset": "password_reset — password reset link",
        "email_tpl_placeholders_hint": "Use {{variable}} in subject and HTML. Examples: {{verify_url}}, {{pharmacy_name}}, {{tenant_name}}, {{drug_id}}, {{ticket_id}}…",
        "email_tpl_chrome_title": "Shared header and footer",
        "email_tpl_chrome_intro": "Every email is built from three parts: the header (platform logo), then the template body, then the footer (copyright). Edit them here; they apply to all messages without changing each template.",
        "email_tpl_chrome_header_slot": "Email header — platform logo",
        "email_tpl_chrome_body_slot": "Template body goes here (title, details, action button)",
        "email_tpl_chrome_preview": "Preview chrome",
        "email_tpl_edit_header": "Edit header",
        "email_tpl_edit_footer": "Edit footer",
        "email_tpl_layout_hint": "This fragment is inserted into every email. Use {{logo_url}}, {{platform_name}}, {{platform_tagline}}, {{copyright_holder}}, {{year}}, {{platform_url}}. Do not wrap in html/body — the system assembles the full message.",
        "email_tpl_layout_machine_hint": "Fixed system name for the shared header or footer. Do not change it.",
        "email_tpl_layout_no_delete": "The shared email header and footer cannot be deleted.",
        "email_tpl_send_preview": "Send preview",
        "email_tpl_send_preview_prompt": "Enter the email address to receive this template (sample data).",
        "email_tpl_send_preview_ok": "Preview sent. Check the inbox (or spam folder).",
        "email_tpl_send_preview_fail": "Could not send preview",
        "notify_email_env_hint": "Notification routing: MIP_NOTIFY_EMAIL env (comma-separated) or SMTP «From» address.",
        "support_notify_emails": "Support notify emails",
        "support_notify_emails_hint": "Addresses that receive new tickets and every reply (comma or new line). If empty, MIP_NOTIFY_EMAIL or the SMTP From address is used.",
        "add_email_template": "Add template",
        "machine_name": "Machine name",
        "machine_name_hint": "e.g. verification, welcome, password_reset",
        "subject_ar": "Subject (Arabic)",
        "subject_en": "Subject (English)",
        "html_ar": "HTML (Arabic)",
        "html_en": "HTML (English)",
        "smtp_settings": "SMTP Settings",
        "smtp_settings_desc": "Configure mail server for sending (verification, notifications).",
        "smtp_host": "SMTP Host",
        "smtp_port": "Port",
        "smtp_user": "Username",
        "smtp_pass": "Password",
        "smtp_pass_placeholder": "Leave empty to keep current",
        "smtp_pass_hint": "Leave empty to keep current password",
        "smtp_use_tls": "Use TLS",
        "smtp_encryption": "Encryption",
        "email_from": "From address",
        "smtp_from_match_hint": "On OVH and Gmail, From must be the SMTP mailbox (or an alias of that mailbox).",
        "smtp_test_hint": "When SMTP is complete, enter an address and send a test message.",
        "smtp_test_title": "Test email",
        "smtp_test_to": "Test address",
        "smtp_test_send": "Send test",
        "smtp_test_ok": "Test email sent. Check the inbox.",
        "smtp_err_incomplete": "Fill in the SMTP host, username and password before sending.",
        "smtp_err_invalid_email": "Enter a valid email address for the test.",
        "smtp_err_auth": "Incorrect SMTP username or password.",
        "smtp_err_unreachable": "Could not reach the SMTP server. Check the host and port.",
        "smtp_err_tls": "Secure connection failed (TLS/SSL). Check the port (587 + STARTTLS, or 465 + SSL) and the encryption method.",
        "smtp_err_sender": "The From address must be the SMTP mailbox (or an alias of it). On OVH/Gmail, a different address such as noreply is rejected.",
        "smtp_err_generic": "Could not send the email. Check the SMTP settings and try again.",
        "clear_cache": "Clear cache",
        "cache_cleared": "Cache cleared",
        "apply_updates_tooltip": "Apply updates (sync DB to files, optional API restart)",
        "apply_updates_confirm": "Apply platform updates? Translations and schema will be synced; an external restart script may run if configured in .env.",
        "apply_updates_success": "Platform updates applied on the server.",
        "apply_updates_failed": "Failed to apply updates",
        "apply_updates_external_launched": "External restart command was started. Wait a few seconds, then refresh.",
        "upgrade_available_title": "Update available",
        "upgrade_available_msg": "Platform database upgrades are available. Execute them, then the platform will restart.",
        "upgrade_version_line": "File version {{to}} — applied version {{from}}",
        "upgrade_execute_restart": "Execute and restart",
        "upgrade_pending_none": "No pending schema upgrades.",
        "upgrade_applying": "Applying updates and restarting. The page will reload shortly.",
        "upgrade_treat_title": "The Iraqi date palm is growing with the update",
        "upgrade_treat_hint": "Please wait and do not close this page.",
        "upgrade_treat_step_scan": "Preparing the soil and watering the roots…",
        "upgrade_treat_step_treat": "Fronds and dates are growing…",
        "upgrade_treat_step_heal": "The palm takes root in Mesopotamia…",
        "upgrade_treat_step_done": "Growth complete — opening the dashboard",
        "sort_by": "Sort by",
        "filter_all": "All",
        "filter_by_type": "Type",
        "sort_date": "Date",
        "sort_name": "Name",
        "open_site_login": "Open site (login page)",
        "tenant_site_disabled": "Site disabled — tenant is suspended",
        "deactivate": "Deactivate",
        "confirm_deactivate_tenant": "Deactivate this tenant? Users will not be able to log in. Data and site are preserved.",
        "tenant_deactivated": "Tenant deactivated. The link is no longer accessible.",
        "tenant_access_disabled": "This site is disabled. Contact platform administration.",
        "tenant_delete_disabled": "Tenant deletion is not allowed. Use deactivation instead.",
        "tenant_delete_superadmin_only": "Only a super admin can delete tenants.",
        "demo_tenant_protected": "Demo sites cannot be deleted.",
        "platform_tenant_protected": "The platform account cannot be deleted.",
        "confirm_delete_tenant": "Delete this tenant? The site folder will be removed. The database is kept and the tenant will disappear from the list.",
        "tenant_deleted": "Tenant deleted.",
        "confirm_delete_site": "Delete site? The sites/ folder will be removed. Database preserved.",
        "site_deleted": "Site deleted. Database preserved.",
        "confirm_revoke_key": "Revoke this key? It will no longer work.",
        "revoke": "Revoke",
        "confirm_activate_tenant": "Activate this tenant? Users will be able to log in.",
        "api_keys": "API Keys",
        "create_key": "Create key",
        "key_name": "Name",
        "key_prefix": "Prefix",
        "no_keys": "No keys",
        "key_created_copy": "Key created! Copy it (shown once only):",
        "tenant_id_copied": "Tenant ID copied: {{id}}",
        "select_tenant": "Select tenant",
        "tenant": "Tenant",
        "name": "Name",
        "resource": "Resource",
        "id": "ID",
        "pharmacist_info": "Pharmacist information",
        "pharmacist_name_ph": "e.g. Dr. Ahmed Mohammed",
        "register_username_ph": "Choose a username",
        "register_phone_iqd_ph": "7XX XXX XXXX",
        "register_address_ph": "Enter the facility address in detail",
        "register_license_ph": "Enter the license or approval number",
        "register_no_long_contract": "No long-term contract",
        "register_trust_safe": "Your data is protected and secure",
        "register_trust_edit_later": "You can edit facility information later from the dashboard",
        "register_legal_agree": "By registering, you agree to the",
        "register_legal_and": "and",
        "register_terms": "Terms of Use",
        "register_privacy": "Privacy Policy",
        "register_step_verify": "Verification and completion",
        "register_step_review": "Review and payment",
        "register_wizard_next": "Next",
        "register_wizard_back": "Back",
        "register_review_hint": "Review your details, then confirm your subscription.",
        "register_support_title": "Registration help",
        "register_support_sub": "Having trouble signing up? Contact support directly.",
        "register_support_call": "Call",
        "register_support_live": "Live support",
        "settings_register_title": "Registration pages",
        "settings_register_desc": "Allowed contract months, support contacts, and visit stats.",
        "settings_register_months": "Allowed subscription months",
        "settings_register_months_hint": "Comma-separated values, e.g. 1,3,6,12 (up to 60 months).",
        "settings_register_phone": "Registration support phone",
        "settings_register_whatsapp": "Support WhatsApp",
        "settings_register_support_url": "Live support URL",
        "settings_legal_title": "Company address & legal pages",
        "settings_legal_desc": "Company address, terms of use and privacy policy shown on registration pages.",
        "settings_company_address_ar": "Company address (Arabic)",
        "settings_company_address_en": "Company address (English)",
        "settings_company_address_ph": "Legal name, address, phone, email…",
        "settings_legal_terms": "Terms of Use",
        "settings_legal_privacy": "Privacy Policy",
        "settings_legal_hint": "Links appear on the registration form. Preview: /register/legal.html",
        "legal_page_back": "Back to registration",
        "legal_page_empty": "This content has not been configured yet.",
        "settings_register_stats": "Registration page views",
        "settings_register_stats_30d": "last 30 days",
        "register_password_ph": "At least 8 characters, including a letter and a number",
        "register_hospital_card": "Hospital",
        "register_card_desc_hospital": "Manage departments, patients, in-house pharmacy and billing",
        "pharmacy_info": "Pharmacy information",
        "year": "Year",
        "login_toggle_password": "Show or hide password",
        "login_forgot_title": "Reset your password",
        "login_forgot_intro": "Enter the email linked to your account. If a matching account exists, you will receive reset instructions.",
        "login_forgot_email_placeholder": "Email address",
        "login_forgot_submit": "Send reset link",
        "login_forgot_back": "Back to sign in",
        "login_forgot_sending": "Sending...",
        "login_forgot_success": "If an account exists for this email, you will receive a password reset message.",
        "login_forgot_error_email": "Please enter a valid email address.",
        "login_forgot_error_network": "Could not reach the server. Check your network and try again.",
        "login_forgot_error_generic": "The request could not be sent. Try again later.",
        "login_reset_title": "Set a new password",
        "login_reset_intro": "Enter a new password for your account.",
        "login_reset_password": "New password",
        "login_reset_password_confirm": "Confirm password",
        "login_reset_submit": "Save password",
        "login_reset_saving": "Saving...",
        "login_reset_success": "Password updated. You can sign in now.",
        "reset_token_invalid": "This reset link is invalid.",
        "reset_token_expired": "This reset link has expired. Request a new one.",
        "password_mismatch": "The two passwords do not match.",
        "register_loading": "Loading…",
        "pay_by_card_demo": "Bank card — demo mode",
        "pay_by_card_demo_hint": "Test cards — no real charge",
        "bank_transfer_not_configured": "Bank transfer is not set up. Contact support or pay by card.",
        "pay_chip_card": "Card",
        "pay_chip_bank": "Bank transfer",
        "preparing_card_form": "Preparing the card form…",
        "card_embed_back": "Back to payment methods",
        "card_embed_secure": "Secure payment — card details are not stored on the server"
    }
}
