"""English is the source language; AR maps English UI strings to Arabic."""
from flask import g, has_request_context, session


def get_lang():
    if not has_request_context():
        return "en"
    lang = session.get("lang")
    if not lang and g.get("user"):
        lang = g.user["lang"]
    return lang if lang in ("en", "ar") else "en"


def t(text):
    if get_lang() == "ar":
        return AR.get(text, text)
    return text


def nm(obj):
    """Localised name of a record that has name_en / name_ar."""
    if not obj:
        return ""
    try:
        ar = obj["name_ar"]
    except (KeyError, IndexError):
        ar = None
    if get_lang() == "ar" and ar:
        return ar
    return obj["name_en"]


AR = {
    # app & navigation
    "Vertex ERP": "فيرتكس ERP",
    "Accounting for multi-branch businesses": "محاسبة للشركات متعددة الفروع",
    "Dashboard": "لوحة التحكم",
    "Sales": "المبيعات",
    "Purchases": "المشتريات",
    "Accounting": "المحاسبة",
    "Reports": "التقارير",
    "Configuration": "الإعدادات",
    "Customer Invoices": "فواتير العملاء",
    "Credit Notes": "الإشعارات الدائنة",
    "Customer Payments": "مقبوضات العملاء",
    "Customers": "العملاء",
    "Vendor Bills": "فواتير الموردين",
    "Vendor Refunds": "مرتجعات الموردين",
    "Vendor Payments": "مدفوعات الموردين",
    "Vendors": "الموردون",
    "Journal Entries": "القيود اليومية",
    "Inter-branch Transfers": "التحويلات بين الفروع",
    "Chart of Accounts": "دليل الحسابات",
    "Profit & Loss": "قائمة الدخل",
    "Balance Sheet": "قائمة المركز المالي",
    "Trial Balance": "ميزان المراجعة",
    "General Ledger": "دفتر الأستاذ العام",
    "Aged Receivables": "أعمار الذمم المدينة",
    "Aged Payables": "أعمار الذمم الدائنة",
    "VAT Report": "تقرير ضريبة القيمة المضافة",
    "Company": "الشركة",
    "Branches": "الفروع",
    "Journals": "اليوميات",
    "Taxes": "الضرائب",
    "Currencies": "العملات",
    "Exchange Rates": "أسعار الصرف",
    "Users": "المستخدمون",
    "Audit Log": "سجل التدقيق",
    "Partners": "جهات التعامل",
    "Payments": "المدفوعات",
    "Branch": "الفرع",
    "All branches (consolidated)": "كل الفروع (موحد)",
    "All branches": "كل الفروع",
    "Password": "كلمة المرور",
    "Log out": "تسجيل الخروج",
    "Sign in": "تسجيل الدخول",
    "Username": "اسم المستخدم",
    "Admin": "مدير النظام",
    "Accountant": "محاسب",
    "Viewer": "مطّلع",

    # generic
    "New": "جديد",
    "Save": "حفظ",
    "Cancel": "إلغاء",
    "Edit": "تعديل",
    "Delete": "حذف",
    "Post": "ترحيل",
    "Confirm": "تأكيد",
    "Print": "طباعة",
    "Back": "رجوع",
    "Filter": "تصفية",
    "Apply": "تطبيق",
    "Export CSV": "تصدير CSV",
    "Search…": "بحث…",
    "From": "من",
    "To": "إلى",
    "As of": "كما في",
    "All": "الكل",
    "All states": "كل الحالات",
    "Status": "الحالة",
    "Draft": "مسودة",
    "Posted": "مرحّل",
    "Cancelled": "ملغى",
    "Saved.": "تم الحفظ.",
    "Done.": "تم.",
    "Deleted.": "تم الحذف.",
    "Nothing yet.": "لا توجد بيانات بعد.",
    "Nothing open.": "لا توجد أرصدة مفتوحة.",
    "Total": "الإجمالي",
    "Date": "التاريخ",
    "Number": "الرقم",
    "Reference": "المرجع",
    "Partner": "جهة التعامل",
    "Customer": "عميل",
    "Vendor": "مورد",
    "Amount": "المبلغ",
    "Type": "النوع",
    "Code": "الرمز",
    "Account": "الحساب",
    "Journal": "اليومية",
    "Label": "البيان",
    "Debit": "مدين",
    "Credit": "دائن",
    "Balance": "الرصيد",
    "Opening": "الافتتاحي",
    "Closing": "الختامي",
    "Notes": "ملاحظات",
    "Narration": "الشرح",
    "Lines": "البنود",
    "Add line": "إضافة بند",
    "Remove": "إزالة",
    "Difference": "الفرق",
    "Document": "المستند",
    "Details": "التفاصيل",
    "Time": "الوقت",
    "User": "المستخدم",
    "Action": "الإجراء",
    "Object": "السجل",
    "Active": "نشط",
    "Name (English)": "الاسم (إنجليزي)",
    "Name (Arabic)": "الاسم (عربي)",
    "Address": "العنوان",
    "Address (English)": "العنوان (إنجليزي)",
    "Address (Arabic)": "العنوان (عربي)",
    "Phone": "الهاتف",
    "Email": "البريد الإلكتروني",
    "VAT Number": "الرقم الضريبي",
    "CR Number": "رقم السجل التجاري",
    "Currency": "العملة",
    "Decimals": "المنازل العشرية",
    "Symbol": "الرمز",
    "Rate": "السعر",
    "Rate %": "النسبة %",
    "Used in": "يُستخدم في",
    "Tax Account": "حساب الضريبة",
    "Default Account": "الحساب الافتراضي",
    "Inter-branch account": "حساب جاري بين الفروع",
    "Inter-branch": "بين الفروع",
    "invalid number": "رقم غير صالح",
    "is required": "حقل مطلوب",
    "General": "عام",
    "Language": "اللغة",
    "Role": "الصلاحية",
    "Full name": "الاسم الكامل",
    "Branch access": "صلاحية الوصول للفروع",
    "Latest 500 events": "آخر 500 حدث",

    # account kinds & journal types
    "Bank and Cash": "البنوك والنقدية",
    "Receivable": "الذمم المدينة",
    "Current Assets": "الأصول المتداولة",
    "Prepayments": "المصروفات المدفوعة مقدماً",
    "Non-current Assets": "الأصول غير المتداولة",
    "Fixed Assets": "الأصول الثابتة",
    "Payable": "الذمم الدائنة",
    "Current Liabilities": "الخصوم المتداولة",
    "Non-current Liabilities": "الخصوم غير المتداولة",
    "Equity": "حقوق الملكية",
    "Income": "الإيرادات",
    "Other Income": "إيرادات أخرى",
    "Cost of Revenue": "تكلفة الإيرادات",
    "Expenses": "المصروفات",
    "Depreciation": "الإهلاك",
    "Bank": "البنك",
    "Cash": "الصندوق",
    "Miscellaneous": "قيود متنوعة",

    # dashboard
    "Consolidated": "موحد",
    "branches": "فروع",
    "Fiscal year from": "السنة المالية من",
    "Amounts in": "المبالغ بعملة",
    "Customer Invoice": "فاتورة عميل",
    "New Customer Invoice": "فاتورة عميل جديدة",
    "New Customer Credit Note": "إشعار دائن جديد لعميل",
    "New Vendor Bill": "فاتورة مورد جديدة",
    "New Vendor Refund": "مرتجع مورد جديد",
    "Vendor Bill": "فاتورة مورد",
    "Customer Credit Note": "إشعار دائن لعميل",
    "Vendor Refund": "مرتجع مورد",
    "Journal Entry": "قيد يومية",
    "Revenue (YTD)": "الإيرادات (منذ بداية السنة)",
    "Expenses (YTD)": "المصروفات (منذ بداية السنة)",
    "Net Profit (YTD)": "صافي الربح (منذ بداية السنة)",
    "Receivables": "الذمم المدينة",
    "Payables": "الذمم الدائنة",
    "Overdue receivables": "ذمم مدينة متأخرة",
    "invoices": "فواتير",
    "Revenue vs Expenses — last 12 months": "الإيرادات مقابل المصروفات — آخر 12 شهراً",
    "Revenue": "الإيرادات",
    "Recent invoices": "أحدث الفواتير",
    "draft documents waiting to be posted": "مستندات مسودة بانتظار الترحيل",
    "Branch performance": "أداء الفروع",
    "Foreign-currency branches are translated at today's closing rate. Inter-branch balances are not eliminated here; see the consolidated reports.":
        "تُحوَّل الفروع ذات العملات الأجنبية بسعر إقفال اليوم. لا تُستبعد الأرصدة بين الفروع هنا؛ راجع التقارير الموحدة.",
    "You do not have access to any branch. Ask an administrator.": "ليس لديك صلاحية على أي فرع. تواصل مع مدير النظام.",

    # entries
    "New Entry": "قيد جديد",
    "Manual": "يدوي",
    "Transfers": "التحويلات",
    "Save & Post": "حفظ وترحيل",
    "Save as Draft": "حفظ كمسودة",
    "Reset to Draft": "إعادة إلى مسودة",
    "Cancel Entry": "إلغاء القيد",
    "Cancel Transfer": "إلغاء التحويل",
    "Open source document": "فتح المستند المصدر",
    "Counterpart entry": "القيد المقابل",
    "Delete this draft?": "حذف هذه المسودة؟",
    "Cancel this entry?": "إلغاء هذا القيد؟",
    "This cancels the transfer in both branches. Continue?": "سيتم إلغاء التحويل في الفرعين. متابعة؟",
    "Entry posted.": "تم ترحيل القيد.",
    "Draft saved.": "تم حفظ المسودة.",
    "Only draft entries can be edited.": "يمكن تعديل القيود المسودة فقط.",
    "This entry is generated from a document; edit the document instead.": "هذا القيد ناتج عن مستند؛ عدّل المستند بدلاً منه.",

    # invoices
    "Not paid": "غير مدفوعة",
    "Partially paid": "مدفوعة جزئياً",
    "Paid": "مدفوعة",
    "Overdue": "متأخرة",
    "Due Date": "تاريخ الاستحقاق",
    "Due": "الاستحقاق",
    "Amount Due": "المبلغ المستحق",
    "Payment": "الدفع",
    "Description": "الوصف",
    "Qty": "الكمية",
    "Unit Price": "سعر الوحدة",
    "Tax": "الضريبة",
    "No tax": "بدون ضريبة",
    "Subtotal": "المجموع الفرعي",
    "Untaxed Amount": "المبلغ قبل الضريبة",
    "VAT": "ضريبة القيمة المضافة",
    "New partner": "جهة تعامل جديدة",
    "PO / vendor invoice no.": "رقم أمر الشراء / فاتورة المورد",
    "Register Payment": "تسجيل دفعة",
    "Paid on": "دُفع في",
    "Cancel this document?": "إلغاء هذا المستند؟",
    "Only draft documents can be edited.": "يمكن تعديل المستندات المسودة فقط.",
    "Only draft documents can be posted.": "يمكن ترحيل المستندات المسودة فقط.",
    "Choose a partner.": "اختر جهة التعامل.",
    "Add at least one line.": "أضف بنداً واحداً على الأقل.",
    "The document total must be greater than zero.": "يجب أن يكون إجمالي المستند أكبر من صفر.",
    "Cancel the payments of this document first.": "ألغِ دفعات هذا المستند أولاً.",
    "This action is not allowed in the current state.": "هذا الإجراء غير مسموح في الحالة الحالية.",

    # payments
    "New Payment": "دفعة جديدة",
    "Received": "مقبوض",
    "Partner type": "نوع جهة التعامل",
    "Payment type": "نوع الدفعة",
    "Receive money": "استلام مبلغ",
    "Send money": "دفع مبلغ",
    "Bank / Cash Journal": "يومية البنك / الصندوق",
    "Payment registered.": "تم تسجيل الدفعة.",
    "Cancel this payment?": "إلغاء هذه الدفعة؟",

    # transfers
    "New Transfer": "تحويل جديد",
    "Amount sent": "المبلغ المرسل",
    "Amount received": "المبلغ المستلم",
    "Post Transfer": "ترحيل التحويل",
    "Transfer posted in both branches.": "تم ترحيل التحويل في الفرعين.",
    "Each transfer posts an entry in both branches through the inter-branch account, which is eliminated on consolidation.":
        "كل تحويل يُرحّل قيداً في الفرعين عبر الحساب الجاري بين الفروع، والذي يُستبعد عند التوحيد.",
    "Filled from exchange rates when currencies differ; adjust to the actual amount received.":
        "يُحسب من أسعار الصرف عند اختلاف العملات؛ عدّله إلى المبلغ المستلم فعلياً.",
    "Choose two different branches.": "اختر فرعين مختلفين.",
    "Create an inter-branch account (flagged inter-branch) first.": "أنشئ أولاً حساباً جارياً بين الفروع (مع تفعيل خيار بين الفروع).",

    # reports
    "Eliminations": "الاستبعادات",
    "In group currency": "بعملة المجموعة",
    "Assets": "الأصول",
    "Liabilities": "الخصوم",
    "Total Current Assets": "إجمالي الأصول المتداولة",
    "Total Non-current Assets": "إجمالي الأصول غير المتداولة",
    "Total Assets": "إجمالي الأصول",
    "Total Current Liabilities": "إجمالي الخصوم المتداولة",
    "Total Non-current Liabilities": "إجمالي الخصوم غير المتداولة",
    "Total Liabilities": "إجمالي الخصوم",
    "Total Equity": "إجمالي حقوق الملكية",
    "Total Liabilities and Equity": "إجمالي الخصوم وحقوق الملكية",
    "Retained Earnings": "الأرباح المبقاة",
    "Current Year Earnings": "أرباح السنة الحالية",
    "Currency Translation Reserve": "احتياطي فروق ترجمة العملات",
    "Unmatched inter-branch difference": "فرق غير مطابق بين الفروع",
    "Gross Profit": "مجمل الربح",
    "Operating Expenses": "المصروفات التشغيلية",
    "Net Profit": "صافي الربح",
    "average rate": "متوسط السعر",
    "closing rate": "سعر الإقفال",
    "Eliminations remove balances on inter-branch accounts so only transactions with outside parties remain.":
        "تستبعد الاستبعادات أرصدة الحسابات الجارية بين الفروع بحيث تبقى المعاملات مع الأطراف الخارجية فقط.",
    "Translation: balance sheet at the closing rate, profit & loss at the average rate; the difference goes to the currency translation reserve.":
        "الترجمة: المركز المالي بسعر الإقفال وقائمة الدخل بمتوسط السعر؛ ويُرحّل الفرق إلى احتياطي فروق ترجمة العملات.",
    "Positive balances are debits, negative balances are credits.": "الأرصدة الموجبة مدينة والسالبة دائنة.",
    "All accounts": "كل الحسابات",
    "All partners": "كل جهات التعامل",
    "Entry": "القيد",
    "Opening balance": "الرصيد الافتتاحي",
    "Amounts are in each branch's own currency.": "المبالغ بعملة كل فرع.",
    "Show documents": "عرض المستندات",
    "Not due": "غير مستحق",
    "1-30": "1-30 يوماً",
    "31-60": "31-60 يوماً",
    "61-90": "61-90 يوماً",
    "90+": "أكثر من 90 يوماً",
    "Buckets are days past the due date.": "الفئات بعدد الأيام بعد تاريخ الاستحقاق.",
    "Per branch, in the branch currency": "لكل فرع وبعملته",
    "Taxable amount": "المبلغ الخاضع للضريبة",
    "Sales (output VAT)": "المبيعات (ضريبة المخرجات)",
    "Purchases (input VAT)": "المشتريات (ضريبة المدخلات)",
    "Total output VAT": "إجمالي ضريبة المخرجات",
    "Total input VAT": "إجمالي ضريبة المدخلات",
    "Net VAT due": "صافي الضريبة المستحقة",
    "Net VAT refundable": "صافي الضريبة القابلة للاسترداد",
    "Select at least one branch you have access to.": "اختر فرعاً واحداً على الأقل من الفروع المتاحة لك.",

    # setup
    "Group currency": "عملة المجموعة",
    "Consolidated reports are presented in this currency.": "تُعرض التقارير الموحدة بهذه العملة.",
    "Fiscal year starts in month": "شهر بداية السنة المالية",
    "Lock date": "تاريخ الإقفال",
    "No entries can be posted, changed or cancelled on or before this date.": "لا يمكن ترحيل أو تعديل أو إلغاء أي قيد في هذا التاريخ أو قبله.",
    "Default receivable account": "حساب الذمم المدينة الافتراضي",
    "Default payable account": "حساب الذمم الدائنة الافتراضي",
    "Leave empty to keep the current password.": "اتركه فارغاً للإبقاء على كلمة المرور الحالية.",
    "Admin: everything. Accountant: create and post documents. Viewer: read only.":
        "مدير النظام: كل الصلاحيات. المحاسب: إنشاء وترحيل المستندات. المطّلع: قراءة فقط.",
    "Balances on this account are eliminated in consolidated reports.": "تُستبعد أرصدة هذا الحساب في التقارير الموحدة.",
    "Income account for sales, expense account for purchases, bank/cash account for payments.":
        "حساب الإيرادات للمبيعات، وحساب المصروفات للمشتريات، وحساب البنك/الصندوق للمدفوعات.",
    "Value of 1 unit of this currency in the group currency.": "قيمة وحدة واحدة من هذه العملة بعملة المجموعة.",
    "This record conflicts with an existing one (duplicate code?).": "هذا السجل يتعارض مع سجل موجود (رمز مكرر؟).",
    "Change Password": "تغيير كلمة المرور",
    "Current password": "كلمة المرور الحالية",
    "New password": "كلمة المرور الجديدة",
    "Confirm new password": "تأكيد كلمة المرور الجديدة",
    "Password changed.": "تم تغيير كلمة المرور.",
    "The current password is wrong.": "كلمة المرور الحالية غير صحيحة.",
    "The password must be at least 6 characters.": "يجب ألا تقل كلمة المرور عن 6 أحرف.",
    "The passwords do not match.": "كلمتا المرور غير متطابقتين.",
    "Invalid username or password.": "اسم المستخدم أو كلمة المرور غير صحيحة.",
    "You do not have permission for this action.": "ليست لديك صلاحية لهذا الإجراء.",
    "You do not have access to this branch.": "ليست لديك صلاحية على هذا الفرع.",

    # engine errors
    "The date is on or before the lock date": "التاريخ في تاريخ الإقفال أو قبله",
    "An entry needs at least two lines.": "يحتاج القيد إلى بندين على الأقل.",
    "Debit and credit cannot be negative.": "لا يمكن أن يكون المدين أو الدائن سالباً.",
    "A line cannot have both a debit and a credit.": "لا يمكن أن يحتوي البند على مدين ودائن معاً.",
    "Every line needs an account.": "يجب تحديد حساب لكل بند.",
    "The entry is not balanced.": "القيد غير متوازن.",
    "The entry has no amounts.": "القيد لا يحتوي على مبالغ.",
    "The journal does not belong to the selected branch.": "اليومية لا تتبع الفرع المحدد.",
    "Set the default receivable and payable accounts in Company settings.": "حدد حسابي الذمم المدينة والدائنة الافتراضيين في إعدادات الشركة.",
    "The tax has no account": "الضريبة ليس لها حساب",
    "Payments need a bank or cash journal with an account.": "تتطلب المدفوعات يومية بنك أو صندوق مرتبطة بحساب.",
    "The amount must be greater than zero.": "يجب أن يكون المبلغ أكبر من صفر.",
    "The payment must be in the same branch as the document.": "يجب أن تكون الدفعة في نفس فرع المستند.",
    "The amount is greater than the amount due.": "المبلغ أكبر من المبلغ المستحق.",
    "No exchange rate for": "لا يوجد سعر صرف للعملة",
}

# ---------------------------------------------------------------- ERP modules
AR.update({
    # navigation & modules
    "Quotations & Orders": "عروض الأسعار وأوامر البيع", "Fixed Assets": "الأصول الثابتة", "Asset": "الأصل",
    "Inventory": "المخزون", "Stock on Hand": "المخزون المتوفر", "Receipts": "الاستلامات", "Deliveries": "التسليمات",
    "Adjustments": "التسويات", "Stock Moves": "حركات المخزون", "Products": "المنتجات", "Warehouses": "المستودعات",
    "Material Requests": "طلبات المواد", "Material Request": "طلب مواد", "Purchase Requisitions": "طلبات الشراء الداخلية",
    "Purchase Requisition": "طلب شراء داخلي", "Requests for Quotation": "طلبات عروض الأسعار", "Purchase Orders": "أوامر الشراء",
    "Purchase Order": "أمر شراء", "Sales Orders": "أوامر البيع", "Sales Order": "أمر بيع", "Quotation": "عرض سعر",
    "Draft PO": "أمر شراء مسودة", "Vendor Management": "إدارة الموردين", "Prepaid & Accruals": "المدفوعات المقدمة والمستحقات",
    "Month-end Closing": "إقفال نهاية الشهر", "Sales Analysis": "تحليل المبيعات", "Asset Categories": "فئات الأصول",
    "License & Modules": "الترخيص والوحدات", "Module": "الوحدة", "Enabled": "مفعّل", "Not licensed": "غير مرخّص",
    "Licensed to": "مرخّص لـ", "Expires": "تاريخ الانتهاء", "Never": "بدون انتهاء", "Issued": "تاريخ الإصدار",
    "Development mode: no license file, all modules enabled.": "وضع التطوير: لا يوجد ملف ترخيص، جميع الوحدات مفعّلة.",
    "To add modules, contact your software provider for an updated license file.": "لإضافة وحدات، تواصل مع مزوّد النظام للحصول على ملف ترخيص محدّث.",
    "This module is not included in your license.": "هذه الوحدة غير مشمولة في ترخيصك.",
    "The license has expired or is invalid. The system is read-only.": "انتهى الترخيص أو أنه غير صالح. النظام للقراءة فقط.",
    "Your license allows": "يسمح ترخيصك بـ", "active users.": "مستخدمين نشطين.", "branches.": "فروع.", "active": "نشط",
    "Action Center": "مركز المهام", "Open": "فتح", "Review": "مراجعة", "Refresh": "تحديث", "Add": "إضافة",
    "Yes": "نعم", "No": "لا", "Other": "أخرى", "History": "السجل", "Comments": "ملاحظات", "File": "الملف",
    "Material requests waiting approval": "طلبات مواد بانتظار الاعتماد",
    "Requisitions waiting approval": "طلبات شراء بانتظار الاعتماد",
    "Purchase orders waiting approval": "أوامر شراء بانتظار الاعتماد", "Open RFQs": "طلبات عروض أسعار مفتوحة",
    "Receipts to process": "استلامات بانتظار المعالجة", "Deliveries to process": "تسليمات بانتظار المعالجة",
    "Products below reorder level": "منتجات تحت حد إعادة الطلب",
    "Vendor documents expiring within 30 days": "مستندات موردين تنتهي خلال 30 يوماً",
    "Month-end entries to post": "قيود نهاية الشهر بانتظار الترحيل",

    # products & inventory
    "Product": "المنتج", "Internal Reference": "المرجع الداخلي", "Product Type": "نوع المنتج",
    "Stockable product": "منتج مخزني", "Consumable": "مستهلك", "Service": "خدمة", "Category": "الفئة",
    "Unit of Measure": "وحدة القياس", "Barcode": "الباركود", "Sales Price": "سعر البيع", "Cost": "التكلفة",
    "Sales Tax": "ضريبة المبيعات", "Purchase Tax": "ضريبة المشتريات", "Income Account": "حساب الإيرادات",
    "Expense / COGS Account": "حساب المصروف / تكلفة المبيعات", "Reorder Level": "حد إعادة الطلب",
    "Stockable products are tracked in warehouses and valued at average cost.": "تُتتبّع المنتجات المخزنية في المستودعات وتُقيّم بمتوسط التكلفة.",
    "Cost of goods sold for stockable products, expense account for services and consumables.": "تكلفة المبيعات للمنتجات المخزنية، وحساب المصروف للخدمات والمستهلكات.",
    "Warehouse": "المستودع", "All warehouses": "كل المستودعات", "All products": "كل المنتجات", "On Hand": "المتوفر",
    "Incoming": "وارد", "Outgoing": "صادر", "Forecast": "المتوقع", "Average Cost": "متوسط التكلفة", "Value": "القيمة",
    "Reorder": "إعادة طلب", "Below reorder level": "تحت حد إعادة الطلب", "Quantity": "الكمية",
    "Forecast = on hand + incoming − outgoing (open receipts and deliveries).": "المتوقع = المتوفر + الوارد − الصادر (استلامات وتسليمات مفتوحة).",
    "Stock valuation vs general ledger": "تقييم المخزون مقابل دفتر الأستاذ", "Stock valuation": "تقييم المخزون",
    "Inventory account balance": "رصيد حساب المخزون",
    "A difference means entries were posted to the inventory account manually instead of through stock operations.":
        "وجود فرق يعني ترحيل قيود يدوية إلى حساب المخزون بدلاً من عمليات المخزون.",
    "Receipt": "استلام", "Delivery": "تسليم", "Adjustment": "تسوية", "Source Document": "المستند المصدر",
    "Ready": "جاهز", "Done": "منجز", "Planned": "المخطط", "Validate": "اعتماد", "Counted Quantity": "الكمية المعدودة",
    "Inventory Adjustment": "تسوية مخزون", "Apply Adjustment": "تطبيق التسوية", "Stock adjusted.": "تمت تسوية المخزون.",
    "Enter the quantity you counted; the difference is posted to the inventory adjustment account.": "أدخل الكمية المعدودة؛ ويُرحّل الفرق إلى حساب تسويات المخزون.",
    "e.g. Year-end stock count": "مثال: جرد نهاية السنة",
    "Lower the done quantity for a partial transfer; the rest stays as a backorder.": "خفّض الكمية المنجزة للتحويل الجزئي؛ ويبقى الباقي كطلب متأخر.",
    "Backorder of": "طلب متأخر من", "Nothing to move.": "لا يوجد ما يُنقل.", "Not enough stock for": "المخزون غير كافٍ لـ",
    "available": "المتوفر", "needed": "المطلوب",
    "Done quantity must be between zero and the planned quantity.": "يجب أن تكون الكمية المنجزة بين الصفر والكمية المخططة.",
    "Choose a warehouse.": "اختر المستودع.", "The warehouse does not belong to the selected branch.": "المستودع لا يتبع الفرع المحدد.",
    "Set the inventory accounts in Company settings.": "حدد حسابات المخزون في إعدادات الشركة.",
    "The branch needs a miscellaneous (general) journal for stock entries.": "يحتاج الفرع إلى يومية قيود متنوعة لقيود المخزون.",
    "Inventory account": "حساب المخزون", "Goods received not invoiced account": "حساب بضاعة مستلمة لم تصل فواتيرها",
    "Inventory adjustment account": "حساب تسويات المخزون", "Create Delivery": "إنشاء تسليم", "Create Receipt": "إنشاء استلام",

    # sales & purchase orders
    "New Quotation": "عرض سعر جديد", "New Draft PO": "أمر شراء جديد", "Save as Quotation": "حفظ كعرض سعر",
    "Save as Draft PO": "حفظ كأمر شراء مسودة", "Save & Confirm": "حفظ واعتماد", "Confirm Order": "اعتماد الأمر",
    "Order Date": "تاريخ الأمر", "Delivery Date": "تاريخ التسليم", "Expected Arrival": "تاريخ الوصول المتوقع",
    "Customer PO no.": "رقم أمر شراء العميل", "Vendor quotation no.": "رقم عرض سعر المورد",
    "Terms and notes": "الشروط والملاحظات", "To deliver": "بانتظار التسليم", "To receive": "بانتظار الاستلام",
    "To invoice": "بانتظار الفوترة", "Invoicing": "الفوترة", "Delivered": "المسلّم", "Invoiced": "المفوتر",
    "Fully": "بالكامل", "Partially": "جزئياً", "Nothing yet": "لا شيء بعد", "Create Invoice": "إنشاء فاتورة",
    "Create Bill": "إنشاء فاتورة مورد", "Cancel this order?": "إلغاء هذا الأمر؟", "Invoices": "الفواتير", "Bills": "فواتير الموردين",
    "Waiting Approval": "بانتظار الاعتماد", "Approve": "اعتماد",
    "The order is above the approval limit and is waiting for approval.": "الأمر يتجاوز حد الاعتماد وهو بانتظار الاعتماد.",
    "Draft invoice created. Review and post it.": "تم إنشاء فاتورة مسودة. راجعها ثم رحّلها.",
    "Confirm the order first.": "اعتمد الأمر أولاً.", "Everything on this order is already invoiced.": "جميع بنود هذا الأمر مفوترة.",
    "The branch has no sales/purchase journal.": "لا توجد يومية مبيعات/مشتريات للفرع.",
    "This order already has done transfers or invoices.": "لهذا الأمر تحويلات منجزة أو فواتير.",
    "Quantities must be greater than zero.": "يجب أن تكون الكميات أكبر من صفر.",

    # procurement
    "New Material Request": "طلب مواد جديد", "New Purchase Requisition": "طلب شراء جديد", "New RFQ": "طلب عرض سعر جديد",
    "Department": "القسم", "e.g. Operations": "مثال: العمليات", "Required by": "مطلوب بتاريخ", "Requested by": "مقدّم الطلب",
    "Purpose": "الغرض", "Justification": "المبرر", "Estimated Price": "السعر التقديري", "Estimated Total": "الإجمالي التقديري",
    "Suggested Vendor": "المورد المقترح", "Available in branch": "المتوفر في الفرع",
    "Save & Submit for Approval": "حفظ وإرسال للاعتماد", "Submit for Approval": "إرسال للاعتماد",
    "Approved": "معتمد", "Rejected": "مرفوض", "Approved by": "اعتمده", "Rejected by": "رفضه",
    "Reject": "رفض", "Rejection reason": "سبب الرفض", "Give a reason for the rejection.": "اذكر سبب الرفض.",
    "Only approvers can approve or reject.": "الاعتماد أو الرفض للمعتمدين فقط.",
    "Approve the request first.": "اعتمد الطلب أولاً.", "Approve the requisition first.": "اعتمد طلب الشراء أولاً.",
    "Issue from stock": "صرف من المخزون", "Issue Materials": "صرف المواد", "Materials issued from stock.": "تم صرف المواد من المخزون.",
    "Issues the stock items from the warehouse and charges each product's expense account.": "يصرف المواد من المستودع ويحمّلها على حساب مصروف كل منتج.",
    "Not in stock?": "غير متوفر في المخزون؟", "Create a purchase requisition for these items.": "أنشئ طلب شراء لهذه المواد.",
    "Create Purchase Requisition": "إنشاء طلب شراء", "Purchase requisition created.": "تم إنشاء طلب الشراء.",
    "Request quotations": "طلب عروض أسعار", "Vendors to invite": "الموردون المدعوون", "Quotation deadline": "آخر موعد لعروض الأسعار",
    "Create RFQ": "إنشاء طلب عرض سعر", "RFQ created.": "تم إنشاء طلب عرض السعر.", "Buy directly": "شراء مباشر",
    "Create Purchase Order": "إنشاء أمر شراء", "Draft purchase order created.": "تم إنشاء أمر شراء مسودة.",
    "Deadline": "آخر موعد", "Requisition": "طلب الشراء", "Quotes received": "العروض المستلمة", "Awarded to": "تمت الترسية على",
    "Sent": "مُرسل", "Awarded": "تمت الترسية", "Invited": "مدعو", "Quoted": "قدّم عرضاً", "Declined": "اعتذر",
    "Mark as Sent": "تحديد كمُرسل", "Quotation comparison": "مقارنة العروض", "unit prices excl. VAT": "أسعار الوحدة بدون الضريبة",
    "days lead time": "يوم مدة التوريد", "Total excl. VAT": "الإجمالي بدون الضريبة", "Incomplete": "غير مكتمل",
    "Enter Quote": "إدخال العرض", "Edit Quote": "تعديل العرض",
    "Green = lowest price per line. The highlighted column is the lowest complete quotation.": "الأخضر = أقل سعر لكل بند. العمود المظلل هو أقل عرض مكتمل.",
    "Award": "الترسية", "Award & Create PO": "ترسية وإنشاء أمر شراء", "Invite more vendors": "دعوة موردين آخرين",
    "Vendor Quotation": "عرض سعر المورد", "Quotation date": "تاريخ العرض", "Lead time (days)": "مدة التوريد (أيام)",
    "Payment terms, validity, warranty…": "شروط الدفع، الصلاحية، الضمان…", "Save Quotation": "حفظ العرض",
    "Vendor Declined": "اعتذر المورد", "Invite at least one vendor.": "ادعُ مورداً واحداً على الأقل.",
    "The awarded vendor must have a quotation.": "يجب أن يكون للمورد المُرسى عليه عرض سعر.",
    "The awarded vendor has not quoted every line.": "لم يقدّم المورد المُرسى عليه أسعاراً لجميع البنود.",
    "Vendor awarded. A draft purchase order was created.": "تمت الترسية وإنشاء أمر شراء مسودة.",
    "Approver": "معتمِد", "Can approve material requests, requisitions, purchase orders above the limit, and vendors.":
        "يمكنه اعتماد طلبات المواد وطلبات الشراء وأوامر الشراء التي تتجاوز الحد والموردين.",
    "Procurement policy": "سياسة المشتريات", "PO approval limit": "حد اعتماد أوامر الشراء",
    "Purchase orders above this total need an approver. Leave empty for no approval.": "أوامر الشراء التي تتجاوز هذا المبلغ تحتاج إلى اعتماد. اتركه فارغاً لعدم الاعتماد.",
    "Only approved vendors can receive purchase orders": "أوامر الشراء للموردين المعتمدين فقط",
    "purchase orders need an approved vendor.": "أوامر الشراء تتطلب مورداً معتمداً.", "this vendor is blocked.": "هذا المورد محظور.",

    # vendor management
    "New Vendor": "مورد جديد", "Prospect": "محتمل", "Blocked": "محظور", "Rating": "التقييم", "Contact": "جهة الاتصال",
    "Documents": "المستندات", "expiring": "قارب على الانتهاء", "Expiring Documents": "مستندات قاربت على الانتهاء",
    "Expiring within (days)": "تنتهي خلال (أيام)", "Approve Vendor": "اعتماد المورد", "Set as Prospect": "تحويل إلى محتمل",
    "Block": "حظر", "Block this vendor? No RFQs or purchase orders can be created for a blocked vendor.": "حظر هذا المورد؟ لا يمكن إنشاء طلبات عروض أسعار أو أوامر شراء لمورد محظور.",
    "Purchase orders (12 months)": "أوامر الشراء (12 شهراً)", "On-time delivery": "التسليم في الموعد", "receipts": "استلامات",
    "RFQ response": "الاستجابة لطلبات العروض", "awarded": "تمت الترسية", "open bills": "فواتير مفتوحة", "evaluations": "تقييمات",
    "Vendor profile": "ملف المورد", "e.g. Logistics, IT, Raw materials": "مثال: لوجستيات، تقنية، مواد خام",
    "Contact person": "الشخص المسؤول", "Website": "الموقع الإلكتروني", "Payment terms (days)": "شروط الدفع (أيام)",
    "Issue date": "تاريخ الإصدار", "Expiry date": "تاريخ الانتهاء", "Expired": "منتهي", "Expires soon": "ينتهي قريباً",
    "Delete this document?": "حذف هذا المستند؟", "Add Document": "إضافة مستند", "This file type is not allowed.": "نوع الملف غير مسموح.",
    "Evaluations": "التقييمات", "Period": "الفترة", "Quality": "الجودة", "Price": "السعر", "Average": "المتوسط",
    "Evaluated by": "المقيّم", "e.g. Q3 2026": "مثال: الربع الثالث 2026", "Add Evaluation": "إضافة تقييم",
    "Evaluation saved.": "تم حفظ التقييم.",
    "Commercial Registration": "السجل التجاري", "VAT Certificate": "شهادة ضريبة القيمة المضافة", "Bank Letter": "خطاب بنكي",
    "Chamber of Commerce": "شهادة الغرفة التجارية", "GOSI Certificate": "شهادة التأمينات الاجتماعية", "Zakat Certificate": "شهادة الزكاة",
    "Trade License": "الرخصة التجارية", "ISO Certificate": "شهادة الأيزو", "Contract": "العقد", "Insurance": "التأمين",

    # assets
    "New Asset": "أصل جديد", "Run Depreciation": "تشغيل الإهلاك", "All categories": "كل الفئات", "Acquired": "تاريخ الاقتناء",
    "Accumulated Depreciation": "مجمع الإهلاك", "Net Book Value": "صافي القيمة الدفترية", "Running": "قيد الإهلاك",
    "Fully Depreciated": "مُهلك بالكامل", "Disposed": "مُستبعد", "Automatic": "تلقائي", "Acquisition date": "تاريخ الاقتناء",
    "Depreciation start": "بداية الإهلاك", "Salvage value": "القيمة التخريدية", "Method": "الطريقة",
    "Straight line": "القسط الثابت", "Declining balance": "القسط المتناقص", "Useful life (months)": "العمر الإنتاجي (أشهر)",
    "Declining rate % per year": "نسبة القسط المتناقص سنوياً %", "Serial number": "الرقم التسلسلي", "Location": "الموقع",
    "Custodian": "العهدة", "Acquisition entry": "قيد الاقتناء", "Disposal entry": "قيد الاستبعاد", "months": "أشهر",
    "posted": "مرحّل", "Disposed on": "تاريخ الاستبعاد", "Confirm asset": "اعتماد الأصل",
    "Post the acquisition entry now": "ترحيل قيد الاقتناء الآن",
    "Leave unticked if the purchase was already booked to the asset account through a vendor bill.": "اتركه دون تحديد إذا سُجّل الشراء في حساب الأصل عبر فاتورة مورد.",
    "Credit account (bank, payable, opening balance…)": "الحساب الدائن (بنك، ذمم دائنة، رصيد افتتاحي…)",
    "Confirm & Compute Schedule": "اعتماد واحتساب جدول الإهلاك", "Post depreciation": "ترحيل الإهلاك", "Up to": "حتى تاريخ",
    "Sell / Dispose": "بيع / استبعاد", "Sale amount": "مبلغ البيع", "Proceeds account": "حساب المتحصلات", "Dispose": "استبعاد",
    "Dispose of this asset? Depreciation is posted up to the disposal date and the asset is removed from the books.": "استبعاد هذا الأصل؟ سيُرحّل الإهلاك حتى تاريخ الاستبعاد ويُزال الأصل من الدفاتر.",
    "Depreciation schedule": "جدول الإهلاك", "preview": "معاينة", "Accumulated": "المجمع", "Book value": "القيمة الدفترية",
    "Asset Account": "حساب الأصل", "Accumulated Depreciation Account": "حساب مجمع الإهلاك",
    "Depreciation Expense Account": "حساب مصروف الإهلاك", "Disposal": "استبعاد", "Register Asset": "تسجيل كأصل",
    "Set the accounts on the asset category.": "حدد الحسابات في فئة الأصل.",
    "The salvage value must be lower than the cost.": "يجب أن تكون القيمة التخريدية أقل من التكلفة.",
    "Depreciation is already posted for this asset.": "تم ترحيل إهلاك لهذا الأصل.",
    "Choose the account that receives the sale proceeds.": "اختر الحساب الذي يستلم متحصلات البيع.",
    "depreciation entries posted.": "قيود إهلاك مرحّلة.", "Missing account": "حساب غير موجود",

    # prepaid & accruals, closing
    "Prepaid Expense": "مصروف مدفوع مقدماً", "Deferred Revenue": "إيراد مؤجل", "Accrual": "مصروف مستحق",
    "New Prepaid Expense": "مصروف مدفوع مقدماً جديد", "New Deferred Revenue": "إيراد مؤجل جديد", "New Accrual": "مصروف مستحق جديد",
    "Prepaid account": "حساب المدفوع مقدماً", "Deferred revenue account": "حساب الإيرادات المؤجلة",
    "Accrued liability account": "حساب المصروفات المستحقة", "Expense account": "حساب المصروف", "Income account": "حساب الإيراد",
    "An expense paid in advance, charged to the P&L month by month.": "مصروف مدفوع مقدماً يُحمّل على قائمة الدخل شهرياً.",
    "Revenue received in advance, recognised as income month by month.": "إيراد مقبوض مقدماً يُعترف به شهرياً.",
    "An expense incurred but not yet invoiced, accrued month by month.": "مصروف تحقق ولم تصل فاتورته بعد، يُستحق شهرياً.",
    "e.g. Office rent Jan–Dec, Annual insurance policy": "مثال: إيجار المكتب يناير–ديسمبر، وثيقة التأمين السنوية",
    "Total amount": "المبلغ الإجمالي", "First month": "الشهر الأول", "Number of months": "عدد الأشهر",
    "Reverse each accrual on the 1st of the next month": "عكس كل استحقاق في أول يوم من الشهر التالي",
    "Start": "البداية", "Months": "الأشهر", "Recognized": "المُعترف به", "Remaining": "المتبقي",
    "Automatic reversal": "عكس تلقائي", "Post entries due up to": "ترحيل القيود المستحقة حتى", "Reversal": "العكس",
    "reversal": "عكس", "reversals": "قيود عكس", "entries posted": "قيود مرحّلة", "Spread over months": "توزيع على الأشهر",
    "Entries are already posted for this schedule.": "تم ترحيل قيود لهذا الجدول.",
    "Post the recurring entries due, review open drafts, then lock the period.": "رحّل القيود الدورية المستحقة، وراجع المسودات المفتوحة، ثم أقفل الفترة.",
    "Period end": "نهاية الفترة", "Draft journal entries": "قيود يومية مسودة", "Draft invoices and bills": "فواتير مسودة",
    "Open receipts and deliveries": "استلامات وتسليمات مفتوحة", "Depreciation lines due": "أقساط إهلاك مستحقة",
    "Recognitions due": "اعترافات مستحقة", "Post recurring entries up to": "ترحيل القيود الدورية حتى",
    "Asset depreciation": "إهلاك الأصول", "Prepaid, deferred revenue and accruals": "المدفوعات المقدمة والإيرادات المؤجلة والمستحقات",
    "more": "أخرى", "Post Entries": "ترحيل القيود", "Lock the period": "إقفال الفترة", "Current lock date": "تاريخ الإقفال الحالي",
    "Set Lock Date": "تحديد تاريخ الإقفال", "Nothing to post.": "لا توجد قيود للترحيل.",

    # sales analysis
    "Posted customer invoices less credit notes, excluding VAT": "فواتير العملاء المرحّلة ناقص الإشعارات الدائنة، بدون الضريبة",
    "By product": "حسب المنتج", "By customer": "حسب العميل", "By branch": "حسب الفرع", "By month": "حسب الشهر",
    "Month": "الشهر", "Share": "النسبة", "Without product": "بدون منتج", "Marketing campaign accrual": "استحقاق حملة تسويقية",
})

# ---------------------------------------------------------------- CRM, POS, bank reconciliation
AR.update({
    # CRM
    "CRM": "إدارة علاقات العملاء", "CRM Pipeline": "مسار الفرص", "CRM Analysis": "تحليل الفرص", "Pipeline": "مسار الفرص",
    "List": "القائمة", "Analysis": "التحليل", "My Activities": "أنشطتي", "Activities": "الأنشطة", "Mine": "أنشطتي",
    "Everyone": "الجميع", "Opportunity": "الفرصة", "Opportunities": "الفرص", "opportunities": "فرص",
    "New Opportunity": "فرصة جديدة", "My opportunities": "فرصي", "All stages": "كل المراحل", "Stage": "المرحلة",
    "New": "جديد", "Qualified": "مؤهلة", "Proposal": "عرض مقدم", "Negotiation": "تفاوض", "Won": "مكسوبة", "Lost": "خاسرة",
    "Source": "المصدر", "Salesperson": "مندوب المبيعات", "Expected close": "تاريخ الإغلاق المتوقع",
    "Next activity": "النشاط التالي", "Expected revenue": "الإيراد المتوقع", "Probability %": "الاحتمالية %",
    "From stage": "حسب المرحلة", "Priority": "الأولوية", "Normal": "عادية", "Existing customer": "عميل حالي",
    "Website": "الموقع الإلكتروني", "Referral": "توصية", "Walk-in": "زيارة مباشرة", "Phone": "الهاتف",
    "Social media": "وسائل التواصل", "Exhibition": "معرض", "Email campaign": "حملة بريدية",
    "Call": "اتصال", "Meeting": "اجتماع", "Email": "بريد إلكتروني", "Task": "مهمة",
    "Mark Won": "تحديد كمكسوبة", "Mark Lost": "تحديد كخاسرة", "Reopen": "إعادة فتح", "Why was it lost?": "ما سبب خسارة الفرصة؟",
    "Lost reason": "سبب الخسارة", "Lost reasons": "أسباب الخسارة", "Assigned to": "مسند إلى",
    "Schedule Activity": "جدولة نشاط", "Today": "اليوم", "e.g. Call to discuss the proposal": "مثال: اتصال لمناقشة العرض",
    "e.g. Safety equipment for new site": "مثال: معدات سلامة لموقع جديد",
    "Quotation created. Add the products and confirm it.": "تم إنشاء عرض السعر. أضف المنتجات ثم اعتمده.",
    "Drag a card to another column to change its stage.": "اسحب البطاقة إلى عمود آخر لتغيير مرحلتها.",
    "Open pipeline": "الفرص المفتوحة", "Weighted pipeline": "القيمة المرجحة", "Weighted": "المرجح",
    "expected revenue × probability": "الإيراد المتوقع × الاحتمالية", "Win rate": "نسبة الكسب",
    "won / (won + lost)": "المكسوبة / (المكسوبة + الخاسرة)", "Pipeline by stage": "الفرص حسب المرحلة",
    "By source": "حسب المصدر", "By salesperson": "حسب المندوب", "Won revenue": "إيراد الفرص المكسوبة",
    "Opportunities created since": "الفرص المنشأة منذ", "Amounts are shown as entered on each opportunity.": "تُعرض المبالغ كما أُدخلت في كل فرصة.",
    "CRM activities due today or overdue": "أنشطة مستحقة اليوم أو متأخرة",

    # POS
    "Point of Sale": "نقاط البيع", "POS Sales": "مبيعات نقاط البيع", "POS session": "جلسة نقطة بيع", "Register": "نقطة البيع",
    "New Register": "نقطة بيع جديدة", "Name": "الاسم", "e.g. Showroom counter 1": "مثال: كاشير المعرض 1",
    "Cash journal": "يومية الصندوق", "Card journal": "يومية البطاقات",
    "Card payments are posted to this bank account and matched in bank reconciliation.": "تُرحّل مدفوعات البطاقات إلى هذا الحساب البنكي وتُطابق في التسوية البنكية.",
    "Default customer": "العميل الافتراضي", "Walk-in Customer": "عميل نقدي",
    "Create a register to start selling.": "أنشئ نقطة بيع للبدء في البيع.", "Opening cash": "النقدية الافتتاحية",
    "Open Session": "فتح جلسة", "Continue Selling": "متابعة البيع", "Settings": "الإعدادات", "Closed": "مغلقة",
    "Sessions": "الجلسات", "Session": "الجلسة", "Cashier": "الكاشير", "Opened": "الفتح", "Orders": "الطلبات", "orders": "طلبات",
    "Close Session": "إغلاق الجلسة", "Search or scan barcode…": "ابحث أو امسح الباركود…", "In stock": "المتوفر",
    "Discount %": "الخصم %", "Scan or tap a product to start.": "امسح أو اختر منتجاً للبدء.", "Amount due": "المبلغ المستحق",
    "Card": "بطاقة", "Cash": "نقداً", "Cash received": "النقد المستلم", "Change": "الباقي", "Amount still due": "المتبقي للدفع",
    "Exact": "المبلغ المضبوط", "Print Receipt": "طباعة الإيصال", "New Order": "طلب جديد",
    "Back to Selling": "العودة للبيع", "Refund": "استرجاع", "Refunded": "مسترجع", "Refunds": "المرتجعات",
    "Refund this receipt in full?": "استرجاع هذا الإيصال بالكامل؟", "Refund recorded. Pay the customer back in cash.": "تم تسجيل الاسترجاع. أعد المبلغ للعميل.",
    "Total sales": "إجمالي المبيعات", "Cash sales": "المبيعات النقدية", "Expected cash in drawer": "النقد المتوقع في الدرج",
    "Cash difference": "فرق النقدية", "Counted": "المعدود", "Cash counted in the drawer": "النقد المعدود في الدرج",
    "Any difference from the expected cash is posted to Cash Over / Short.": "يُرحّل أي فرق عن النقد المتوقع إلى حساب فروقات النقدية.",
    "Close & Post": "إغلاق وترحيل", "Close the session and post the sales?": "إغلاق الجلسة وترحيل المبيعات؟",
    "Products sold": "المنتجات المباعة", "excl. VAT": "بدون الضريبة", "Stock": "المخزون",
    "Session closed and posted.": "تم إغلاق الجلسة وترحيلها.", "The session is closed.": "الجلسة مغلقة.",
    "This register already has an open session.": "توجد جلسة مفتوحة لنقطة البيع هذه.", "Register not found.": "نقطة البيع غير موجودة.",
    "Product not found.": "المنتج غير موجود.", "The cart is empty.": "السلة فارغة.",
    "The discount must be between 0 and 100%.": "يجب أن يكون الخصم بين 0 و100%.", "The amount paid is less than the total.": "المبلغ المدفوع أقل من الإجمالي.",
    "Refunds are only possible while the session is open.": "الاسترجاع ممكن فقط أثناء فتح الجلسة.",
    "This receipt is already refunded.": "تم استرجاع هذا الإيصال مسبقاً.", "The register has no card journal.": "لا توجد يومية بطاقات لنقطة البيع.",
    "POS sessions still open from previous days": "جلسات نقاط بيع مفتوحة من أيام سابقة",
    "Posted customer invoices less credit notes, plus closed POS sessions, excluding VAT": "فواتير العملاء المرحّلة ناقص الإشعارات الدائنة، مع جلسات نقاط البيع المغلقة، بدون الضريبة",

    # bank reconciliation
    "Bank Reconciliation": "التسويات البنكية", "Bank Reconciliation Statement": "مذكرة التسوية البنكية",
    "Reconciliation Report": "تقرير التسوية", "New Statement": "كشف حساب جديد", "Statement": "الكشف",
    "Balance in books": "الرصيد في الدفاتر", "Last statement": "آخر كشف", "No statement yet": "لا يوجد كشف بعد",
    "unreconciled items": "بنود غير مسوّاة", "Starting balance": "الرصيد الافتتاحي", "Ending balance": "الرصيد الختامي",
    "Reconciled": "مُسوّى", "Statement date": "تاريخ الكشف", "e.g. October 2026": "مثال: أكتوبر 2026",
    "Import lines (optional)": "استيراد البنود (اختياري)", "CSV file from your bank": "ملف CSV من البنك", "Date format": "صيغة التاريخ",
    "The first row must contain column names. Recognised: Date, Description, Reference, Amount — or Debit and Credit (Withdrawal / Deposit).":
        "يجب أن يحتوي الصف الأول على أسماء الأعمدة: التاريخ، البيان، المرجع، المبلغ — أو مدين ودائن (سحب / إيداع).",
    "Create Statement": "إنشاء الكشف", "Statement created.": "تم إنشاء الكشف.", "lines imported.": "بنود مستوردة.",
    "Auto-match": "مطابقة تلقائية", "lines matched automatically.": "بنود طوبقت تلقائياً.", "Delete this statement?": "حذف هذا الكشف؟",
    "Computed": "المحسوب", "To reconcile": "بانتظار التسوية", "Money in": "وارد", "Money out": "صادر", "Matched": "مُطابق",
    "Unmatch": "إلغاء المطابقة", "suggested matches": "مطابقات مقترحة", "No exact match — book it or pick items": "لا توجد مطابقة تامة — سجّله أو اختر بنوداً",
    "No unreconciled items on this account around this date.": "لا توجد بنود غير مسوّاة على هذا الحساب قرب هذا التاريخ.",
    "Match selected": "مطابقة المحدد", "Book it": "تسجيله", "bank charges, interest, transfers…": "رسوم بنكية، فوائد، تحويلات…",
    "Post & Match": "ترحيل ومطابقة", "Payment for an invoice": "سداد فاتورة", "Register & Match": "تسجيل ومطابقة",
    "Delete line": "حذف البند", "Delete this line?": "حذف هذا البند؟", "No lines yet. Import a CSV or add lines below.": "لا توجد بنود بعد. استورد ملف CSV أو أضف بنوداً أدناه.",
    "Import CSV": "استيراد CSV", "Import": "استيراد", "Statement details": "بيانات الكشف", "Statement reconciled.": "تمت تسوية الكشف.",
    "Choose a CSV file.": "اختر ملف CSV.", "Unmatch the lines first.": "ألغِ مطابقة البنود أولاً.",
    "Reopen the statement first.": "أعد فتح الكشف أولاً.", "Match every statement line first.": "طابق جميع بنود الكشف أولاً.",
    "The ending balance does not equal the starting balance plus the lines.": "الرصيد الختامي لا يساوي الرصيد الافتتاحي مضافاً إليه البنود.",
    "This statement line is already matched.": "هذا البند مطابق مسبقاً.", "Select at least one journal item.": "اختر بند قيد واحداً على الأقل.",
    "Journal item not found.": "بند القيد غير موجود.", "Only posted items on this bank account can be matched.": "يمكن مطابقة البنود المرحّلة على هذا الحساب البنكي فقط.",
    "A journal item is already reconciled.": "أحد بنود القيد مسوّى مسبقاً.",
    "The selected items do not add up to the statement amount.": "مجموع البنود المحددة لا يساوي مبلغ الكشف.",
    "The amount must not be zero.": "يجب ألا يكون المبلغ صفراً.", "The file is empty.": "الملف فارغ.",
    "The file needs a date column and an amount (or debit/credit) column.": "يحتاج الملف إلى عمود تاريخ وعمود مبلغ (أو مدين/دائن).",
    "Row": "الصف", "invalid date": "تاريخ غير صالح", "No bank journals.": "لا توجد يوميات بنكية.",
    "Balance per bank statement": "الرصيد حسب كشف البنك", "Ending balance on the statement": "الرصيد الختامي في الكشف",
    "Add: deposits in transit": "يضاف: إيداعات بالطريق", "in the books, not yet on a statement": "مسجلة في الدفاتر ولم تظهر في الكشف",
    "Total deposits in transit": "إجمالي الإيداعات بالطريق", "Less: outstanding payments": "يطرح: مدفوعات معلقة",
    "cheques and transfers not yet cleared": "شيكات وتحويلات لم تُصرف بعد", "Total outstanding payments": "إجمالي المدفوعات المعلقة",
    "Adjusted bank balance": "رصيد البنك المعدّل", "Balance per books": "الرصيد حسب الدفاتر",
    "Bank account balance in the general ledger": "رصيد الحساب البنكي في دفتر الأستاذ", "Bank items not yet booked": "بنود بنكية غير مسجلة",
    "charges, interest, receipts on the statement": "رسوم وفوائد ومقبوضات في الكشف", "Adjusted book balance": "رصيد الدفاتر المعدّل",
    "Unexplained difference": "فرق غير مفسر",
    "When every statement up to this date is entered and matched, the unexplained difference is zero.": "عند إدخال ومطابقة جميع الكشوف حتى هذا التاريخ يكون الفرق غير المفسر صفراً.",
    "Bank statement lines to reconcile": "بنود كشوف بنكية بانتظار التسوية",
    "Default sales VAT": "ضريبة المبيعات الافتراضية", "Default purchase VAT": "ضريبة المشتريات الافتراضية",
    "Replaces the product's VAT in this branch, e.g. 5% for a UAE branch.": "تحل محل ضريبة المنتج في هذا الفرع، مثل 5% لفرع الإمارات.",
})

# data import
AR.update({
    "Data Import": "استيراد البيانات", "Import": "استيراد", "Import History": "سجل الاستيراد",
    "Bring data from your old system with Excel or CSV files. Download a template, or use the export of the old system as it is and match its columns.":
        "انقل بيانات نظامك القديم بملفات Excel أو CSV. حمّل نموذجاً، أو استخدم الملف المصدَّر من النظام القديم كما هو وطابق أعمدته.",
    "Master data": "البيانات الأساسية", "Start from a cut-off date": "البدء من تاريخ إقفال", "Full history": "السجل الكامل",
    "Import these first.": "استوردها أولاً.",
    "Balances on the go-live date. The usual way to start.": "الأرصدة في تاريخ بدء التشغيل. الطريقة المعتادة للبدء.",
    "Optional: past transactions, for reports on earlier periods.": "اختياري: الحركات السابقة، لتقارير الفترات الماضية.",
    "Excel template": "نموذج Excel", "CSV template": "نموذج CSV",
    "Chart of Accounts": "دليل الحسابات", "Customers & Vendors": "العملاء والموردون", "Products & Services": "المنتجات والخدمات",
    "Opening Balances": "الأرصدة الافتتاحية", "Open Invoices & Bills": "الفواتير المفتوحة", "Journal Entries": "قيود اليومية",
    "Invoices & Bills with lines": "الفواتير بالتفاصيل", "Opening Stock": "المخزون الافتتاحي",
    "Fixed Assets": "الأصول الثابتة",
    "Account codes, names in English and Arabic, and account types. Existing codes are updated.":
        "أرقام الحسابات وأسماؤها بالعربية والإنجليزية وأنواعها. تُحدَّث الحسابات الموجودة.",
    "Names, VAT and CR numbers, contacts, payment terms and bank details. Matched by VAT number or name.":
        "الأسماء والأرقام الضريبية والسجلات التجارية وبيانات الاتصال ومدد السداد والبيانات البنكية. تتم المطابقة بالرقم الضريبي أو الاسم.",
    "Item codes, names, type, prices, VAT and accounts. Existing codes are updated.":
        "رموز الأصناف وأسماؤها وأنواعها وأسعارها وضرائبها وحساباتها. تُحدَّث الأصناف الموجودة.",
    "The trial balance of the old system on the cut-off date, posted as one opening entry per branch.":
        "ميزان المراجعة من النظام القديم في تاريخ الإقفال، ويُرحَّل كقيد افتتاحي واحد لكل فرع.",
    "Unpaid customer invoices and vendor bills on the cut-off date, so aging and payments work.":
        "فواتير العملاء والموردين غير المسددة في تاريخ الإقفال، لتعمل أعمار الديون والدفعات.",
    "Past journal entries line by line. Rows with the same entry number form one entry, which must balance.":
        "قيود اليومية السابقة سطراً بسطر. الأسطر ذات رقم القيد نفسه تكوّن قيداً واحداً يجب أن يكون متوازناً.",
    "Past invoices and bills with their lines and VAT. Rows with the same number form one document.":
        "الفواتير السابقة بأسطرها وضرائبها. الأسطر ذات الرقم نفسه تكوّن مستنداً واحداً.",
    "Customer receipts and vendor payments, linked to invoices by number when given.":
        "مقبوضات العملاء ومدفوعات الموردين، وتُربط بالفواتير برقمها عند توفره.",
    "Quantities and unit costs per warehouse on the cut-off date.": "الكميات وتكلفة الوحدة لكل مستودع في تاريخ الإقفال.",
    "The asset register with cost and depreciation to date; depreciation continues for the remaining life.":
        "سجل الأصول بالتكلفة والإهلاك حتى تاريخه؛ ويستمر الإهلاك للعمر المتبقي.",
    "Opening Balance Clearing": "حساب وسيط للأرصدة الافتتاحية",
    "Open invoices, opening stock and fixed assets post against this account, and the opening trial balance moves the same control accounts to it. When everything is imported it is zero in every branch; a balance means the detail does not add up to the trial balance.":
        "تُرحَّل الفواتير المفتوحة والمخزون الافتتاحي والأصول الثابتة مقابل هذا الحساب، ويحوّل ميزان المراجعة الافتتاحي أرصدة الحسابات الرقابية نفسها إليه. عند اكتمال الاستيراد يكون رصيده صفراً في كل فرع؛ ووجود رصيد يعني أن التفاصيل لا تطابق ميزان المراجعة.",
    "Check": "فحص", "Rows": "الأسطر", "Created": "أُنشئ", "Updated": "حُدِّث", "File": "الملف", "Undo": "تراجع",
    "Undone": "تم التراجع", "Remove everything this import created?": "حذف كل ما أنشأه هذا الاستيراد؟",
    "The import was undone.": "تم التراجع عن الاستيراد.",
    "Excel (.xlsx) or CSV file": "ملف Excel (.xlsx) أو CSV", "Column names are in row": "أسماء الأعمدة في السطر",
    "Change this when the export has title rows above the column names.": "غيّره إذا كان في الملف أسطر عناوين فوق أسماء الأعمدة.",
    "Any column order and column names work: you match the columns on the next page. Nothing is saved until you press Import there.":
        "يصلح أي ترتيب وأي أسماء للأعمدة: تطابق الأعمدة في الصفحة التالية. لا يُحفظ شيء حتى تضغط استيراد هناك.",
    "Upload and match columns": "رفع ومطابقة الأعمدة", "Choose a file.": "اختر ملفاً.",
    "Old .xls files are not supported. Open the file in Excel and save it as .xlsx or .csv.":
        "ملفات xls. القديمة غير مدعومة. افتح الملف في Excel واحفظه بصيغة xlsx. أو csv.",
    "Upload an Excel (.xlsx) or CSV file.": "ارفع ملف Excel (.xlsx) أو CSV.",
    "Match columns": "مطابقة الأعمدة", "rows": "سطر", "columns": "عمود", "Ready to import": "جاهز للاستيراد",
    "to create": "للإنشاء", "to update": "للتحديث", "skipped (already imported or empty)": "متجاوز (مستورد سابقاً أو فارغ)",
    "Problems to fix": "مشكلات يجب تصحيحها",
    "Nothing has been saved. Correct the file (or the column matching) and check again.":
        "لم يُحفظ شيء. صحّح الملف (أو مطابقة الأعمدة) ثم افحص مرة أخرى.",
    "Problem": "المشكلة", "First": "أول", "of": "من", "Options": "الخيارات",
    "Cut-off date": "تاريخ الإقفال", "The last day in the old system. Balances are posted on this date.":
        "آخر يوم في النظام القديم. تُرحَّل الأرصدة بهذا التاريخ.",
    "Default branch": "الفرع الافتراضي", "Used for rows without a branch.": "يُستخدم للأسطر التي ليس فيها فرع.",
    "Date format in the file": "صيغة التاريخ في الملف",
    "Real Excel dates and YYYY-MM-DD are always recognised.": "تواريخ Excel الحقيقية وصيغة YYYY-MM-DD تُقرأ دائماً.",
    "Document type when not in the file": "نوع المستند إن لم يكن في الملف",
    "When the type is not in the file": "إن لم يكن النوع في الملف", "Receipt from a customer": "قبض من عميل",
    "Payment to a vendor": "دفع لمورد", "Customer and vendor": "عميل ومورد",
    "Post an unbalanced difference to": "ترحيل فرق عدم التوازن إلى",
    "Do not import unbalanced branches": "لا تستورد الفروع غير المتوازنة", "Sheet": "الورقة",
    "Update records that already exist": "تحديث السجلات الموجودة",
    "Create customers and vendors that do not exist": "إنشاء العملاء والموردين غير الموجودين",
    "Skip documents imported before": "تجاوز المستندات المستوردة سابقاً",
    "Detail imported separately": "تفاصيل تُستورد منفصلة",
    "The balances of these control accounts go to Opening Balance Clearing (3990); the detail imports post the other side.":
        "تذهب أرصدة هذه الحسابات الرقابية إلى الحساب الوسيط للأرصدة الافتتاحية (3990)، وترحّل استيرادات التفاصيل الطرف المقابل.",
    "Receivable and payable (open invoices and bills)": "الذمم المدينة والدائنة (الفواتير المفتوحة)",
    "Inventory (opening stock)": "المخزون (المخزون الافتتاحي)",
    "Fixed assets and accumulated depreciation (asset register)": "الأصول الثابتة ومجمع الإهلاك (سجل الأصول)",
    "Vertex field": "حقل النظام", "Column in your file": "العمود في ملفك", "First value": "أول قيمة",
    "not in the file": "غير موجود في الملف",
    "Check runs the whole import and then discards it, so you see every problem first.":
        "الفحص ينفّذ الاستيراد كاملاً ثم يلغيه، لترى كل المشكلات أولاً.",
    "File preview": "معاينة الملف", "Import complete": "اكتمل الاستيراد", "created": "أُنشئ", "updated": "حُدِّث",
    "skipped": "متجاوز", "Nothing to import.": "لا يوجد ما يُستورد.",
    "Account Code": "رقم الحساب", "Accumulated depreciation": "مجمع الإهلاك", "Bank name": "اسم البنك", "IBAN": "الآيبان",
    "Customer / Vendor": "عميل / مورد", "Document type": "نوع المستند", "Entry number": "رقم القيد",
    "Invoice number": "رقم الفاتورة", "Original total": "الإجمالي الأصلي", "Unit Cost": "تكلفة الوحدة",
    "Months left": "الأشهر المتبقية", "Net book value": "صافي القيمة الدفترية", "Total debit": "إجمالي المدين",
    "Invoice": "الفاتورة", "Update": "تحديث", "Column": "العمود", "Required": "مطلوب", "Help": "مساعدة", "Types": "الأنواع",
    "Dates": "التواريخ",
    "Branch code or name. Leave out to use the default branch chosen below.": "رمز الفرع أو اسمه. اتركه لاستخدام الفرع الافتراضي المختار أدناه.",
    "Use Debit and Credit columns, or one Amount column (positive = debit, negative = credit).":
        "استخدم عمودي مدين ودائن، أو عمود مبلغ واحد (موجب = مدين، سالب = دائن).",
    "Bank and Cash, Receivable, Current Assets, Fixed Assets, Payable, Current Liabilities, Equity, Income, Cost of Revenue, Expenses … If empty, the type is guessed from the first digit of the code (1 assets, 2 liabilities, 3 equity, 4 income, 5 cost of revenue, 6–9 expenses).":
        "بنك ونقدية، ذمم مدينة، أصول متداولة، أصول ثابتة، ذمم دائنة، خصوم متداولة، حقوق ملكية، إيرادات، تكلفة الإيرادات، مصروفات … إن كان فارغاً يُستنتج النوع من أول رقم في الحساب (1 أصول، 2 خصوم، 3 حقوق ملكية، 4 إيرادات، 5 تكلفة الإيرادات، 6–9 مصروفات).",
    "customer, vendor or both. Leave out to use the choice below.": "customer أو vendor أو both. اتركه لاستخدام الاختيار أدناه.",
    "stock (tracked in the warehouse), service or consumable. Default: stock.": "stock (مخزني) أو service (خدمة) أو consumable (مستهلك). الافتراضي: مخزني.",
    "VAT rate (15, 5, 0) or tax name. Leave the column out to use the standard rate.": "نسبة الضريبة (15، 5، 0) أو اسمها. احذف العمود لاستخدام النسبة الأساسية.",
    "invoice, bill, credit note or vendor refund. Leave out to use the choice below.": "فاتورة أو فاتورة مورد أو إشعار دائن أو مرتجع مورد. اتركه لاستخدام الاختيار أدناه.",
    "The unpaid amount including VAT. A negative amount is imported as a credit note.": "المبلغ غير المسدد شاملاً الضريبة. المبلغ السالب يُستورد كإشعار دائن.",
    "Journal code in the branch (MISC, BNK, INV …). Default: MISC.": "رمز دفتر اليومية في الفرع (MISC، BNK، INV …). الافتراضي: MISC.",
    "Income or expense account. Default: the product's account, then the journal's.": "حساب الإيراد أو المصروف. الافتراضي: حساب الصنف ثم حساب الدفتر.",
    "Price before VAT.": "السعر قبل الضريبة.",
    "Optional check: the document is refused when its computed total differs.": "تحقق اختياري: يُرفض المستند إذا اختلف إجماليه المحسوب.",
    "receipt (from a customer), payment (to a vendor), customer refund or vendor refund. Not needed when the invoice is given.":
        "قبض (من عميل) أو صرف (لمورد) أو استرداد عميل أو استرداد مورد. غير مطلوب عند ذكر الفاتورة.",
    "Bank or cash journal code (BNK, CSH …). Default: BNK.": "رمز دفتر البنك أو الصندوق (BNK، CSH …). الافتراضي: BNK.",
    "Warehouse code or name. Default: the branch's first warehouse.": "رمز المستودع أو اسمه. الافتراضي: أول مستودع للفرع.",
    "Default: the product's cost.": "الافتراضي: تكلفة الصنف.", "Default: the acquisition date.": "الافتراضي: تاريخ الشراء.",
    "Choose the date format of the file when you upload it (e.g. DD/MM/YYYY).": "اختر صيغة التاريخ في الملف عند رفعه (مثل DD/MM/YYYY).",
    "Map these columns": "طابق هذه الأعمدة", "Choose the cut-off date.": "اختر تاريخ الإقفال.",
    "Invalid amount": "مبلغ غير صحيح", "Invalid number": "رقم غير صحيح", "Invalid date": "تاريخ غير صحيح",
    "Unknown account": "حساب غير معروف", "Unknown account type": "نوع حساب غير معروف", "Unknown asset category": "فئة أصل غير معروفة",
    "Unknown branch": "فرع غير معروف", "Unknown document type": "نوع مستند غير معروف", "Unknown invoice": "فاتورة غير معروفة",
    "Unknown journal": "دفتر يومية غير معروف", "Unknown partner": "طرف غير معروف", "Unknown partner type": "نوع طرف غير معروف",
    "Unknown payment type": "نوع دفعة غير معروف", "Unknown product": "صنف غير معروف", "Unknown product type": "نوع صنف غير معروف",
    "Unknown tax": "ضريبة غير معروفة", "Unknown warehouse": "مستودع غير معروف",
    "Code and English name are required.": "الرقم والاسم الإنجليزي مطلوبان.",
    "Account types guessed from the code": "أنواع حسابات استُنتجت من الرقم", "New partners created": "أطراف جديدة أُنشئت",
    "Receivable and payable": "الذمم المدينة والدائنة", "Fixed assets": "الأصول الثابتة",
    "moved to the opening balance clearing account": "حُوِّل إلى الحساب الوسيط للأرصدة الافتتاحية",
    "opening balances were already imported in import": "الأرصدة الافتتاحية مستوردة سابقاً في الاستيراد",
    "opening stock was already imported in import": "المخزون الافتتاحي مستورد سابقاً في الاستيراد",
    "already imported in import": "مستورد سابقاً في الاستيراد", "Undo that import first.": "تراجع عن ذلك الاستيراد أولاً.",
    "Choose an account for the difference, or correct the file.": "اختر حساباً للفرق أو صحّح الملف.",
    "difference": "الفرق", "difference posted": "رُحِّل فرق", "Opening balance difference": "فرق الأرصدة الافتتاحية",
    "Opening balances": "الأرصدة الافتتاحية", "Imported opening balances": "أرصدة افتتاحية مستوردة",
    "Imported open balance": "رصيد مفتوح مستورد", "original total": "الإجمالي الأصلي",
    "Imported": "مستورد", "Imported entry": "قيد مستورد", "Imported fixed asset": "أصل ثابت مستورد",
    "Imported with depreciation to": "مستورد بإهلاك حتى", "Opening stock": "مخزون افتتاحي",
    "a document with this number already exists in the branch": "يوجد مستند بهذا الرقم في الفرع",
    "All lines of an entry need the same date.": "يجب أن تحمل أسطر القيد التاريخ نفسه.",
    "All lines of an entry need the same branch.": "يجب أن تكون أسطر القيد في الفرع نفسه.",
    "computed total": "الإجمالي المحسوب", "file total": "إجمالي الملف",
    "the invoice belongs to another partner": "الفاتورة تخص طرفاً آخر",
    "The branch has no warehouse.": "لا يوجد مستودع للفرع.", "only stockable products have stock": "المخزون للأصناف المخزنية فقط",
    "Quantity cannot be negative.": "لا يمكن أن تكون الكمية سالبة.",
    "an asset with this code already exists": "يوجد أصل بهذا الرمز",
    "Acquired after the cut-off date: enter it as a new asset.": "تم شراؤه بعد تاريخ الإقفال: أدخله كأصل جديد.",
    "Cost and useful life must be greater than zero.": "يجب أن تكون التكلفة والعمر الإنتاجي أكبر من صفر.",
    "Accumulated depreciation plus salvage value cannot exceed the cost.": "لا يمكن أن يتجاوز مجمع الإهلاك مع القيمة المتبقية التكلفة.",
    "Assets past their useful life: the remaining value is depreciated next month": "أصول تجاوزت عمرها الإنتاجي: تُهلك القيمة المتبقية في الشهر التالي",
    "reconciled with a bank statement; unmatch it first.": "مطابَق مع كشف بنكي؛ ألغِ المطابقة أولاً.",
    "the stock has been used since the import.": "استُخدم المخزون بعد الاستيراد.",
    "depreciation has been posted since the import.": "رُحِّل إهلاك بعد الاستيراد.",
    "used by other records since the import.": "مستخدم في سجلات أخرى بعد الاستيراد.",
    "The file could not be read as an Excel workbook.": "تعذرت قراءة الملف كمصنف Excel.",
})

# premium interface
AR.update({
    "Accounting, sales, purchasing, inventory and reporting — in English and Arabic, consolidated across branches and currencies.":
        "المحاسبة والمبيعات والمشتريات والمخزون والتقارير — بالعربية والإنجليزية، موحّدة عبر الفروع والعملات.",
    "Run every branch from one place.": "أدِر جميع فروعك من مكان واحد.",
    "Multi-branch books with consolidation": "دفاتر متعددة الفروع مع التوحيد",
    "Fully bilingual, right-to-left ready": "ثنائي اللغة بالكامل ويدعم الكتابة من اليمين",
    "Approvals, lock dates and a full audit log": "اعتمادات وتواريخ إقفال وسجل تدقيق كامل",
    "Welcome back": "مرحباً بعودتك", "Sign in to your account to continue.": "سجّل الدخول إلى حسابك للمتابعة.",
    "Good morning": "صباح الخير", "Good afternoon": "مساء الخير", "Good evening": "مساء الخير",
    "All caught up": "لا يوجد ما ينتظرك", "Nothing is waiting for you.": "لا توجد مهام معلّقة.",
    "Needs your attention": "يحتاج إلى انتباهك", "Revenue vs Expenses": "الإيرادات مقابل المصروفات",
    "Share of revenue": "الحصة من الإيرادات", "Consolidated reports": "التقارير الموحدة", "View all": "عرض الكل",
    "Follow up": "متابعة", "Position": "المركز المالي", "YTD": "منذ بداية السنة", "Year to date": "منذ بداية السنة",
    "vs last year": "مقارنة بالعام الماضي", "net margin": "صافي الهامش", "bank and cash accounts": "حسابات بنك ونقدية",
    "open invoices": "فواتير مفتوحة", "open bills": "فواتير موردين مفتوحة", "modules": "وحدات",
    "Development license": "ترخيص تطوير", "Home": "الرئيسية", "Menu": "القائمة", "Search menu…": "ابحث في القائمة…",
    "No menu items match.": "لا توجد عناصر مطابقة.", "Light / dark mode": "الوضع الفاتح / الداكن",
    "Change password": "تغيير كلمة المرور", "Company settings": "إعدادات الشركة", "Language": "اللغة",
    "Appearance": "المظهر", "Custom colour": "لون مخصص",
    "The main colour of buttons, links and highlights for every user of this company. Each user can still switch between light and dark mode.":
        "اللون الرئيسي للأزرار والروابط والعناصر البارزة لجميع مستخدمي الشركة. ويمكن لكل مستخدم التبديل بين الوضع الفاتح والداكن.",
    "Indigo": "نيلي", "Blue": "أزرق", "Ocean": "محيطي", "Teal": "فيروزي", "Green": "أخضر", "Violet": "بنفسجي",
    "Rose": "وردي", "Orange": "برتقالي", "Bronze": "برونزي", "Graphite": "رمادي داكن",
})

# returns, price differences, landed costs, per-product and per-partner accounts
AR.update({
    "Customer Returns": "مرتجعات العملاء", "Vendor Returns": "مرتجعات للموردين", "Customer Return": "مرتجع عميل",
    "Return to Vendor": "إرجاع إلى المورد", "Receive Returned Goods": "استلام البضاعة المرتجعة",
    "Return Goods to Vendor": "إرجاع البضاعة إلى المورد", "Credit Note / Return": "إشعار دائن / مرتجع",
    "Vendor Refund / Return": "إشعار مدين / مرتجع للمورد", "Original": "الأصل",
    "Draft created from the original. Change the quantities to what is being returned, then post it.":
        "أُنشئت مسودة من المستند الأصلي. عدّل الكميات إلى الكميات المرتجعة ثم رحّلها.",
    "The goods come back into stock at the cost they left with, and that cost is taken out of cost of goods sold.":
        "تعود البضاعة إلى المخزون بالتكلفة التي خرجت بها، وتُخصم هذه التكلفة من تكلفة البضاعة المباعة.",
    "The goods leave stock at average cost; the refund price clears goods received not invoiced and any gap goes to cost of goods sold.":
        "تخرج البضاعة من المخزون بمتوسط التكلفة، ويُقفل سعر الإشعار حساب البضاعة المستلمة غير المفوترة ويذهب أي فرق إلى تكلفة البضاعة المباعة.",
    "Set the cost of goods sold account in Company settings.": "حدد حساب تكلفة البضاعة المباعة في إعدادات الشركة.",
    "Price difference": "فرق السعر",
    "Landed Costs": "التكاليف الإضافية للشراء", "New Landed Cost": "تكاليف إضافية جديدة", "Landed cost": "تكلفة إضافية",
    "Add freight, customs, insurance and clearing charges to the cost of received goods.":
        "أضف الشحن والجمارك والتأمين والتخليص إلى تكلفة البضاعة المستلمة.",
    "Waiting to be added to stock in": "مبالغ بانتظار تحميلها على المخزون في",
    "Split by": "التوزيع حسب", "Charges": "المصاريف", "Freight": "الشحن", "Allocation": "التوزيع",
    "Receipt value": "قيمة الاستلام", "Added to stock": "أضيف إلى المخزون", "To cost of goods sold": "إلى تكلفة البضاعة المباعة",
    "Add to Cost": "تحميل على التكلفة", "Save and Add to Cost": "حفظ وتحميل على التكلفة", "Save Draft": "حفظ كمسودة",
    "No validated receipts yet.": "لا توجد استلامات معتمدة بعد.",
    "Choose at least one validated receipt.": "اختر استلاماً معتمداً واحداً على الأقل.",
    "The receipts must be in the same branch as the landed cost.": "يجب أن تكون الاستلامات في نفس فرع التكاليف الإضافية.",
    "The selected receipts have no value to share the charges over.": "لا توجد قيمة في الاستلامات المختارة لتوزيع المصاريف عليها.",
    "The charges are shared over the chosen receipts. The part for goods still in stock is added to their cost; the part for goods already sold goes to cost of goods sold.":
        "توزَّع المصاريف على الاستلامات المختارة؛ يضاف نصيب البضاعة الموجودة في المخزون إلى تكلفتها، ويذهب نصيب البضاعة المباعة إلى تكلفة البضاعة المباعة.",
    "The account is where the charge was booked, normally the landed costs clearing account used on the freight or customs bill.":
        "الحساب هو الذي سُجل عليه المصروف، وعادةً الحساب الوسيط للتكاليف الإضافية المستخدم في فاتورة الشحن أو الجمارك.",
    "e.g. Sea freight and customs for container MSKU1234567": "مثال: شحن بحري وجمارك للحاوية MSKU1234567",
    "Default revenue account": "حساب الإيرادات الافتراضي", "Default cost of goods sold account": "حساب تكلفة البضاعة المباعة الافتراضي",
    "Landed costs clearing account": "الحساب الوسيط للتكاليف الإضافية للشراء",
    "New products start with this account; it can be changed on each product.":
        "تبدأ المنتجات الجديدة بهذا الحساب، ويمكن تغييره لكل منتج.",
    "Book freight, customs and clearing bills here, then add them to the cost of the goods with a landed cost.":
        "سجّل فواتير الشحن والجمارك والتخليص على هذا الحساب، ثم حمّلها على تكلفة البضاعة من شاشة التكاليف الإضافية.",
    "Revenue Account": "حساب الإيرادات", "COGS / Expense Account": "حساب تكلفة المبيعات / المصروف",
    "Credited when this product is sold. Starts with the company default.":
        "يُقيد دائناً عند بيع هذا المنتج. يبدأ بالحساب الافتراضي للشركة.",
    "Cost of goods sold for stockable products, expense account for services and consumables. Starts with the company default.":
        "تكلفة البضاعة المباعة للمنتجات المخزنية، وحساب المصروف للخدمات والمستهلكات. يبدأ بالحساب الافتراضي للشركة.",
    "Receivable Account": "حساب الذمم المدينة", "Payable Account": "حساب الذمم الدائنة",
    "Used on this customer's invoices and payments. Starts with the company default.":
        "يُستخدم في فواتير ومدفوعات هذا العميل. يبدأ بالحساب الافتراضي للشركة.",
    "Used on this vendor's bills and payments. Starts with the company default.":
        "يُستخدم في فواتير ومدفوعات هذا المورد. يبدأ بالحساب الافتراضي للشركة.",
})

# product categories, stock vs invoices report
AR.update({
    "Product Categories": "فئات المنتجات", "Inventory Account": "حساب المخزون", "COGS Account": "حساب تكلفة المبيعات",
    "Stock of this category is carried on this account, so it shows on its own line of the balance sheet. Empty = the company inventory account.":
        "يُسجل مخزون هذه الفئة على هذا الحساب فيظهر في سطر مستقل في الميزانية. فارغ = حساب المخزون للشركة.",
    "Given to new products of this category. Empty = the company default.":
        "يُعطى للمنتجات الجديدة في هذه الفئة. فارغ = الحساب الافتراضي للشركة.",
    "Choosing a category fills in its revenue and COGS accounts; stock is carried on the category's inventory account.":
        "اختيار الفئة يملأ حسابي الإيرادات وتكلفة المبيعات الخاصين بها، ويُسجل المخزون على حساب مخزون الفئة.",
    "Inventory account change": "تغيير حساب المخزون",
    "Stock vs Invoices": "المخزون مقابل الفواتير", "Section": "القسم", "Estimated cost": "التكلفة التقديرية",
    "Nothing to clear.": "لا يوجد ما يحتاج إلى معالجة.", "lines": "سطور",
    "Month-end check: goods invoiced but not yet delivered or received, and the reverse. Clear these before closing so revenue and its cost of goods sold fall in the same month.":
        "فحص نهاية الشهر: بضاعة مفوترة لم تُسلَّم أو تُستلم بعد، والعكس. عالجها قبل الإقفال لتقع الإيرادات وتكلفة البضاعة المباعة في نفس الشهر.",
    "Invoiced, not delivered": "مفوتر ولم يُسلَّم", "Delivered, not invoiced": "مُسلَّم ولم يُفوتر",
    "Credit notes, goods not received back": "إشعارات دائنة لم تُستلم بضاعتها",
    "Received, not billed": "مستلم ولم تصل فاتورته", "Billed, not received": "مفوتر من المورد ولم يُستلم",
    "Vendor refunds, goods not returned": "إشعارات مدينة لم تُرجع بضاعتها",
    "Revenue is booked but the cost of goods sold is not.": "سُجلت الإيرادات ولم تُسجل تكلفة البضاعة المباعة.",
    "Cost of goods sold is booked but the revenue is not.": "سُجلت تكلفة البضاعة المباعة ولم تُسجل الإيرادات.",
    "Revenue is reversed but the goods are not back in stock and COGS is not reversed.":
        "عُكست الإيرادات لكن البضاعة لم تعد إلى المخزون ولم تُعكس تكلفتها.",
    "Sits in goods received not invoiced as a liability.": "مسجل كالتزام في حساب البضاعة المستلمة غير المفوترة.",
    "Sits in goods received not invoiced as a debit balance.": "مسجل كرصيد مدين في حساب البضاعة المستلمة غير المفوترة.",
    "The refund is booked but the goods are still in stock.": "سُجل الإشعار لكن البضاعة ما زالت في المخزون.",
    "Value is at the document price, excluding VAT. Estimated cost is at today's average cost of the branch.":
        "القيمة بسعر المستند دون ضريبة القيمة المضافة، والتكلفة التقديرية بمتوسط تكلفة الفرع الحالي.",
    "Sales without matching cost of goods sold": "مبيعات بلا تكلفة مطابقة",
})

# home screen and apps
AR.update({
    "Operations": "العمليات", "Finance": "المالية", "Administration": "الإدارة", "All apps": "كل التطبيقات",
    "Setup": "الإعداد", "Accounting setup": "إعداد المحاسبة", "Financial statements": "القوائم المالية",
    "Tax and sales": "الضريبة والمبيعات", "Procurement": "المشتريات والتوريد", "Leads": "العملاء المحتملون",
    "CRM Report": "تقرير إدارة العملاء", "Vendor Documents": "مستندات الموردين",
    "Available to add": "متاحة للإضافة", "Not in your current plan": "غير مشمولة في اشتراكك الحالي",
    "Contact us to add": "تواصل معنا لإضافتها", "Search apps and menus…": "ابحث في التطبيقات والقوائم…",
    "New invoice": "فاتورة جديدة", "New bill": "فاتورة مورد جديدة", "Record payment": "تسجيل دفعة", "branch": "فرع",
    "P&L, balance sheet, VAT": "الأرباح والخسائر، الميزانية، الضريبة", "Key figures and trends": "الأرقام الرئيسية والاتجاهات",
    "Company, branches, users": "الشركة، الفروع، المستخدمون", "From your old system": "من نظامك القديم",
    "overdue invoice": "فاتورة متأخرة", "overdue invoices": "فواتير متأخرة", "No overdue invoices": "لا توجد فواتير متأخرة",
    "bill due within 7 days": "فاتورة مورد مستحقة خلال 7 أيام", "bills due within 7 days": "فواتير موردين مستحقة خلال 7 أيام",
    "No bills due this week": "لا توجد فواتير موردين مستحقة هذا الأسبوع",
    "transfer waiting": "حركة مخزون بانتظار التنفيذ", "transfers waiting": "حركات مخزون بانتظار التنفيذ", "Nothing waiting": "لا يوجد ما ينتظر",
    "session open": "جلسة مفتوحة", "sessions open": "جلسات مفتوحة", "No open sessions": "لا توجد جلسات مفتوحة",
    "activity due": "نشاط مستحق", "activities due": "أنشطة مستحقة", "No activities due": "لا توجد أنشطة مستحقة",
    "document expiring": "مستند قارب على الانتهاء", "documents expiring": "مستندات قاربت على الانتهاء",
    "No documents expiring": "لا توجد مستندات قاربت على الانتهاء",
    "draft entry": "قيد مسودة", "draft entries": "قيود مسودة", "No draft entries": "لا توجد قيود مسودة",
    "line to match": "سطر للمطابقة", "lines to match": "سطور للمطابقة", "All lines matched": "تمت مطابقة كل السطور",
    "depreciation line due": "قسط إهلاك مستحق", "depreciation lines due": "أقساط إهلاك مستحقة",
    "Depreciation up to date": "الإهلاك محدّث", "entry due": "قيد مستحق", "entries due": "قيود مستحقة", "All posted": "كل شيء مُرحّل",
})

# attachments
AR.update({
    "Attachments": "المرفقات", "Choose a file to upload.": "اختر ملفاً للرفع.", "Download": "تنزيل",
    "Drop files here": "اسحب الملفات وأفلتها هنا", "or click to choose": "أو انقر للاختيار", "No attachments.": "لا توجد مرفقات.",
    "Only the person who uploaded a file, or an administrator, can remove it.": "لا يحذف الملف إلا من رفعه أو مدير النظام.",
    "Remove this file?": "حذف هذا الملف؟", "Removed.": "تم الحذف.",
    "Supplier bill, receipts, contracts or any supporting document. PDF, images, Word, Excel — up to 15 MB each.":
        "فاتورة المورد أو الإيصالات أو العقود أو أي مستند مؤيد. PDF أو صور أو Word أو Excel — حتى 15 ميجابايت للملف.",
    "The file is larger than": "حجم الملف أكبر من", "The file is empty.": "الملف فارغ.",
    "The upload is too large.": "حجم الملفات المرفوعة كبير جداً.",
    "file attached.": "ملف أُرفق.", "files attached.": "ملفات أُرفقت.", "from": "من",
})

# statements, PDF documents and email
AR.update({
    "Customer Statements": "كشوف حسابات العملاء", "Vendor Statements": "كشوف حسابات الموردين",
    "Statement of Account": "كشف حساب", "Tax Invoice": "فاتورة ضريبية", "Bill to": "فاتورة إلى", "CR": "السجل التجاري",
    "Page": "صفحة", "Ageing": "أعمار الأرصدة", "Unapplied": "غير مخصص", "Debits": "المدين", "Credits": "الدائن",
    "Balance due": "الرصيد المستحق", "Balance payable": "الرصيد المستحق الدفع", "Closing balance": "الرصيد الختامي",
    "No transactions in this period.": "لا توجد حركات في هذه الفترة.",
    "Please contact us within 15 days if anything on this statement does not agree with your records.":
        "يرجى التواصل معنا خلال 15 يوماً إذا كان في هذا الكشف ما لا يطابق سجلاتكم.",
    "Balances from the general ledger. Open a statement, download it as PDF, or email several at once.":
        "الأرصدة من دفتر الأستاذ العام. افتح الكشف أو نزّله PDF أو أرسل عدة كشوف بالبريد دفعة واحدة.",
    "Include zero balances": "إظهار الأرصدة الصفرية", "Last sent": "آخر إرسال", "Select all": "تحديد الكل",
    "No email address": "لا يوجد بريد إلكتروني", "Select at least one partner.": "اختر جهة تعامل واحدة على الأقل.",
    "Email statements to selected": "إرسال الكشوف للمحددين", "Send payment reminders to selected": "إرسال تذكير بالدفع للمحددين",
    "Email statement": "إرسال الكشف بالبريد", "Send payment reminder": "إرسال تذكير بالدفع", "Payment reminder": "تذكير بالدفع",
    "Sent by email": "المرسل بالبريد", "emails sent.": "رسائل أُرسلت.", "Email sent.": "تم إرسال البريد.",
    "To": "إلى", "Cc": "نسخة إلى", "Subject": "الموضوع", "Message": "الرسالة", "Send": "إرسال", "Attachment": "المرفق",
    "Separate several addresses with a comma.": "افصل بين العناوين بفاصلة.",
    "Dear": "السادة", "Kind regards": "مع خالص التحية", "dated": "بتاريخ", "for": "بمبلغ", "due on": "تستحق في", "due": "استحقاق",
    "days overdue": "يوماً تأخير", "Please find attached": "مرفق لكم",
    "Please find attached your statement of account for the period": "مرفق لكم كشف حسابكم للفترة",
    "Please contact us if anything does not agree with your records.": "يرجى التواصل معنا إذا كان هناك ما لا يطابق سجلاتكم.",
    "According to our records, the following invoices are past their due date:": "حسب سجلاتنا، الفواتير التالية تجاوزت تاريخ استحقاقها:",
    "We would appreciate your payment at your earliest convenience. If you have already paid, please ignore this message.":
        "نأمل سداد المبلغ في أقرب وقت. إذا كنتم قد سددتم بالفعل فيرجى تجاهل هذه الرسالة.",
    "Your statement of account is attached.": "مرفق كشف حسابكم.",
    "Only posted documents can be sent.": "لا يمكن إرسال إلا المستندات المرحّلة.",
    "Email (outgoing mail server)": "البريد الإلكتروني (خادم البريد الصادر)",
    "Statements, invoices and reminders are sent from your own mailbox. Your email provider (Microsoft 365, Google Workspace, Zoho...) gives these settings.":
        "تُرسل الكشوف والفواتير والتذكيرات من بريدكم الخاص. يزودكم مزود البريد (Microsoft 365 أو Google Workspace أو Zoho...) بهذه الإعدادات.",
    "Mail server (SMTP host)": "خادم البريد (SMTP)", "Port": "المنفذ", "Security": "الحماية", "User name": "اسم المستخدم",
    "STARTTLS (port 587)": "STARTTLS (المنفذ 587)", "SSL/TLS (port 465)": "SSL/TLS (المنفذ 465)", "None": "بدون",
    "Leave empty to keep the saved password.": "اتركها فارغة للإبقاء على كلمة المرور المحفوظة.",
    "Send from (email)": "الإرسال من (البريد)", "Sender name": "اسم المرسل", "Copy every email to": "نسخة من كل رسالة إلى",
    "Optional. A hidden copy of each email, for your records.": "اختياري. نسخة مخفية من كل رسالة لسجلاتكم.",
    "Save and send a test email": "حفظ وإرسال رسالة تجريبية", "Email Log": "سجل البريد",
    "Every statement, invoice and reminder sent from the system (latest 500).": "كل كشف وفاتورة وتذكير أُرسل من النظام (آخر 500).",
    "Test": "تجربة", "Reminder": "تذكير", "Sent": "أُرسل", "Failed": "فشل",
    "Test email from Vertex ERP": "رسالة تجريبية من فيرتكس", "Test email sent to": "أُرسلت رسالة تجريبية إلى",
    "Your outgoing mail server is set up correctly. Statements, invoices and reminders can now be emailed.":
        "تم إعداد خادم البريد الصادر بشكل صحيح. يمكن الآن إرسال الكشوف والفواتير والتذكيرات بالبريد.",
    "The outgoing mail server is not set up yet.": "لم يُعدّ خادم البريد الصادر بعد.",
    "Set it up in Company settings": "أعدّه من إعدادات الشركة", "Ask an administrator to set it up.": "اطلب من مدير النظام إعداده.",
    "Set up the outgoing mail server in Company settings first.": "أعدّ خادم البريد الصادر من إعدادات الشركة أولاً.",
    "Enter at least one email address.": "أدخل عنوان بريد واحداً على الأقل.", "Not a valid email address": "عنوان بريد غير صحيح",
    "The mail server refused the message": "رفض خادم البريد الرسالة",
})
AR.update({"Credit Note": "إشعار دائن", "Bill": "فاتورة مورد"})

# recurring documents
AR.update({
    "Recurring": "متكرر", "Recurring Documents": "المستندات المتكررة", "Recurring Invoices": "الفواتير المتكررة",
    "Recurring Bills": "فواتير الموردين المتكررة", "Make recurring": "جعله متكرراً", "New recurring": "مستند متكرر جديد",
    "Rent, service contracts, subscriptions and monthly accruals, created on schedule.":
        "الإيجارات وعقود الخدمة والاشتراكات والمستحقات الشهرية، تُنشأ تلقائياً حسب الجدول.",
    "No recurring documents yet. Create one here, or use \"Make recurring\" on an invoice, bill or journal entry.":
        "لا توجد مستندات متكررة بعد. أنشئ واحداً هنا، أو استخدم \"جعله متكرراً\" من فاتورة أو قيد.",
    "Schedule": "الجدول", "First date": "التاريخ الأول", "Repeat": "التكرار", "every": "كل", "End date": "تاريخ الانتهاء",
    "Number of documents": "عدد المستندات", "Ends": "ينتهي", "Until stopped": "حتى الإيقاف", "after": "بعد", "documents": "مستندات",
    "week(s)": "أسبوع", "month(s)": "شهر", "quarter(s)": "ربع سنة", "year(s)": "سنة",
    "Weekly": "أسبوعي", "Monthly": "شهري", "Quarterly": "ربع سنوي", "Yearly": "سنوي",
    "Optional, e.g. the end of the contract.": "اختياري، مثل تاريخ نهاية العقد.",
    "Optional. Leave both empty to repeat until you stop it.": "اختياري. اترك الحقلين فارغين للتكرار حتى تقوم بإيقافه.",
    "In names, descriptions and references, {month} becomes the month of the document (October 2026), {year} the year and {period} 2026-10.":
        "في الأسماء والأوصاف والمراجع، تتحول {month} إلى شهر المستند (أكتوبر 2026)، و{year} إلى السنة، و{period} إلى 2026-10.",
    "e.g. Office rent — Riyadh": "مثال: إيجار المكتب — الرياض", "e.g. Rent {month}": "مثال: إيجار {month}",
    "When a document is created": "عند إنشاء المستند", "Post it straight away": "ترحيله مباشرة",
    "Otherwise it is created as a draft for you to check and post.": "وإلا يُنشأ كمسودة لمراجعتها وترحيلها.",
    "Email the posted invoice to the customer": "إرسال الفاتورة المرحّلة للعميل بالبريد",
    "Only when it is posted straight away. Uses the customer email address.": "فقط عند الترحيل المباشر، ويستخدم بريد العميل.",
    "When created": "عند الإنشاء", "emailed to the customer": "تُرسل للعميل بالبريد", "auto-post": "ترحيل تلقائي",
    "Next date": "التاريخ التالي", "Next dates": "التواريخ القادمة", "No more documents will be created.": "لن تُنشأ مستندات أخرى.",
    "Documents created": "المستندات المنشأة", "Create due documents": "إنشاء المستندات المستحقة", "Create them now": "إنشاؤها الآن",
    "documents are due to be created as of today.": "مستندات مستحقة الإنشاء حتى اليوم.",
    "documents are due up to": "مستندات مستحقة حتى", "Nothing is due.": "لا يوجد شيء مستحق.",
    "document created.": "مستند أُنشئ.", "documents created.": "مستندات أُنشئت.",
    "Pause": "إيقاف مؤقت", "Resume": "استئناف", "Paused": "موقوف", "Deleted": "محذوف",
    "Delete this template?": "حذف هذا القالب؟", "Last attempt failed": "فشلت المحاولة الأخيرة",
    "Documents were created from this template; pause it or set an end date instead.":
        "أُنشئت مستندات من هذا القالب؛ أوقفه مؤقتاً أو حدد تاريخ انتهاء بدلاً من حذفه.",
    "The end date is before the first date.": "تاريخ الانتهاء قبل التاريخ الأول.",
    "The first date cannot change once documents have been created.": "لا يمكن تغيير التاريخ الأول بعد إنشاء مستندات.",
    "Recurring documents due": "مستندات متكررة مستحقة", "Recurring invoices, bills and journal entries": "الفواتير والقيود المتكررة",
    "recurring document due": "مستند متكرر مستحق", "recurring documents due": "مستندات متكررة مستحقة",
    "not emailed": "لم تُرسل بالبريد", "not emailed: the customer has no email address": "لم تُرسل: لا يوجد بريد للعميل",
    "not emailed: the outgoing mail server is not set up": "لم تُرسل: خادم البريد الصادر غير مُعدّ",
})

# credit control
AR.update({
    "Credit Control": "مراقبة الائتمان", "Credit control": "مراقبة الائتمان", "Credit limit": "حد الائتمان",
    "On credit hold": "موقوف ائتمانياً",
    "Customers: the most they may owe, in the company currency, including confirmed orders not yet invoiced. 0 = no limit.":
        "للعملاء: أقصى مبلغ مسموح أن يكون مستحقاً عليهم بعملة الشركة، بما فيه الطلبات المؤكدة غير المفوترة. 0 = بلا حد.",
    "No new invoices or sales orders for this customer until the hold is released.":
        "لا فواتير ولا أوامر بيع جديدة لهذا العميل حتى يُرفع الإيقاف.",
    "When a customer is over its credit limit": "عند تجاوز العميل حد الائتمان", "Warn, but allow the sale": "تنبيه مع السماح بالبيع",
    "Stop the invoice or sales order": "إيقاف الفاتورة أو أمر البيع",
    "Set each customer limit on the customer. A customer on credit hold is always stopped.":
        "يُحدد حد كل عميل في بطاقة العميل. العميل الموقوف ائتمانياً يُمنع دائماً.",
    "Also when an invoice is overdue by more than (days)": "وأيضاً عند تأخر فاتورة أكثر من (يوم)",
    "Optional, e.g. 60. Empty = do not check overdue invoices.": "اختياري، مثل 60. فارغ = لا يتم فحص الفواتير المتأخرة.",
    "What each customer owes against its credit limit, and overdue invoices to chase.":
        "المستحق على كل عميل مقارنة بحد ائتمانه، والفواتير المتأخرة الواجب متابعتها.",
    "Policy": "السياسة", "stop the sale": "إيقاف البيع", "warn only": "تنبيه فقط", "stop when overdue more than": "إيقاف عند التأخر أكثر من",
    "days": "يوم", "Receivable balance": "رصيد الذمم المدينة", "Orders not yet invoiced": "طلبات لم تُفوتر بعد",
    "Needs attention": "يحتاج متابعة", "With a limit or overdue": "لديهم حد أو تأخير", "All customers": "كل العملاء",
    "Open orders": "طلبات مفتوحة", "Used": "المستخدم", "Available": "المتاح", "Oldest": "الأقدم", "Last reminder": "آخر تذكير",
    "On hold": "موقوف", "Over limit": "تجاوز الحد", "Long overdue": "متأخر كثيراً", "OK": "سليم",
    "Nothing needs attention.": "لا يوجد ما يحتاج متابعة.",
    "The wording gets firmer as invoices get older: a friendly reminder, a second reminder after 30 days, a final notice after 60.":
        "تزداد صيغة التذكير حزماً مع تقادم الفواتير: تذكير ودي، ثم تذكير ثانٍ بعد 30 يوماً، ثم إنذار نهائي بعد 60.",
    ", other currencies translated at today's rate.": "، والعملات الأخرى محوّلة بسعر اليوم.",
    "Set the credit limit and hold on each customer.": "يُحدد حد الائتمان والإيقاف في بطاقة كل عميل.",
    "This invoice cannot be posted until that is resolved.": "لا يمكن ترحيل هذه الفاتورة حتى تُعالج المشكلة.",
    "the customer is on credit hold": "العميل موقوف ائتمانياً", "the credit limit of": "حد الائتمان البالغ",
    "would be exceeded": "سيتم تجاوزه", "exposure": "إجمالي المستحق", "an invoice is": "فاتورة متأخرة", "limit": "الحد",
    "Raise the credit limit or release the hold on the customer to continue.": "ارفع حد الائتمان أو ألغِ الإيقاف للمتابعة.",
    "Sales Order": "أمر بيع", "Final notice": "إنذار نهائي", "Second payment reminder": "تذكير ثانٍ بالدفع",
    "Despite our earlier reminders these invoices remain unpaid. Please settle the balance within 7 days, otherwise we will have to put your account on hold.":
        "رغم تذكيراتنا السابقة ما زالت هذه الفواتير غير مسددة. يرجى سداد الرصيد خلال 7 أيام، وإلا سنضطر لإيقاف حسابكم.",
    "We have not yet received payment for these invoices. Please arrange payment this week, or let us know if there is a problem with any of them.":
        "لم نستلم بعد سداد هذه الفواتير. يرجى ترتيب السداد هذا الأسبوع، أو إبلاغنا إن كانت هناك مشكلة في أي منها.",
})

# year-end closing
AR.update({
    "Year-end closing": "إقفال نهاية السنة", "Financial year": "السنة المالية", "Close the year": "إقفال السنة",
    "Reopen the year": "إعادة فتح السنة", "Also lock the year": "قفل السنة أيضاً", "Result to close": "النتيجة المراد إقفالها",
    "Already closed": "مُقفل مسبقاً", "Late entries — close again": "قيود متأخرة — أعد الإقفال", "drafts in the year": "مسودات في السنة",
    "Moves the income and expense balances of the year to retained earnings. The profit and loss report still shows the year in full.":
        "ينقل أرصدة الإيرادات والمصروفات للسنة إلى الأرباح المبقاة، ويبقى تقرير الأرباح والخسائر يعرض السنة كاملة.",
    "Posts one entry per branch dated": "يُرحّل قيداً واحداً لكل فرع بتاريخ",
    "each income and expense account is brought to zero and the result goes to": "يُصفّر كل حساب إيرادات ومصروفات وتُنقل النتيجة إلى",
    "Profit goes to the credit side, a loss to the debit side.": "الربح يُقيد دائناً والخسارة مديناً.",
    "Post the year-end closing entries?": "ترحيل قيود إقفال نهاية السنة؟",
    "Delete the closing entries and open the year again?": "حذف قيود الإقفال وإعادة فتح السنة؟",
    "A financial year can be closed once it has ended.": "لا يمكن إقفال السنة المالية قبل انتهائها.",
    "Set the retained earnings account in Company settings.": "حدد حساب الأرباح المبقاة في إعدادات الشركة.",
    "draft entries are dated in this year. Post or delete them first.": "قيود مسودة مؤرخة في هذه السنة. رحّلها أو احذفها أولاً.",
    "Income and expenses of the year closed to retained earnings": "إقفال إيرادات ومصروفات السنة في الأرباح المبقاة",
    "closing entries posted.": "قيود إقفال رُحّلت.", "closing entries deleted. The year is open again.": "حُذفت قيود الإقفال وأُعيد فتح السنة.",
    "Nothing left to close for this year.": "لا يوجد ما يُقفل لهذه السنة.",
    "Prior years' earnings (not closed)": "أرباح سنوات سابقة (غير مُقفلة)", "Before year-end closing": "قبل إقفال نهاية السنة",
    "Retained earnings account": "حساب الأرباح المبقاة", "The year-end closing moves the result of the year here.":
        "ينقل إقفال نهاية السنة نتيجة السنة إلى هذا الحساب.",
})

# cost centres
AR.update({
    "Cost Centre": "مركز التكلفة", "Cost Centres": "مراكز التكلفة", "P&L by Cost Centre": "الأرباح والخسائر حسب مركز التكلفة",
    "No cost centre": "بدون مركز تكلفة", "All cost centres": "كل مراكز التكلفة", "Unknown cost centre.": "مركز تكلفة غير معروف.",
    "Choose a cost centre for the income and expense lines": "اختر مركز تكلفة لبنود الإيرادات والمصروفات",
    "Require a cost centre on income and expense lines": "إلزام مركز تكلفة على بنود الإيرادات والمصروفات",
    "Applies to invoices, bills and journal entries typed in, once at least one cost centre exists.":
        "يُطبق على الفواتير وفواتير الموردين والقيود المُدخلة يدوياً، متى وُجد مركز تكلفة واحد على الأقل.",
    "Short code shown on lines and as the report column, e.g. SALES, PRJ-01, VAN-3.":
        "رمز مختصر يظهر على البنود وكعمود في التقرير، مثل SALES أو PRJ-01 أو VAN-3.",
    "Inactive cost centres can no longer be chosen; their history stays in the reports.":
        "لا يمكن اختيار مراكز التكلفة غير النشطة، ويبقى تاريخها في التقارير.",
    "Given to the invoice lines and the cost of goods sold of this order.": "يُطبق على بنود الفاتورة وتكلفة البضاعة المباعة لهذا الأمر.",
    "Depreciation and any gain or loss on disposal are booked to it.": "يُحمّل عليه الإهلاك وأي ربح أو خسارة عند الاستبعاد.",
    "Booked on the income or expense side of each monthly entry.": "يُسجل على طرف الإيراد أو المصروف في كل قيد شهري.",
    "Each column shows the income and expenses booked to that cost centre. The Total column equals the Profit & Loss for the same branches and dates.":
        "يعرض كل عمود الإيرادات والمصروفات المسجلة على مركز التكلفة. عمود الإجمالي يساوي قائمة الأرباح والخسائر لنفس الفروع والتواريخ.",
    "before inter-branch eliminations": "قبل استبعادات ما بين الفروع",
    "Translated at the average rate of the period.": "مُحوّل بمتوسط سعر الفترة.",
})

# budgets
AR.update({
    "Budgets": "الموازنات", "Budget": "الموازنة", "New budget": "موازنة جديدة", "Budget vs Actual": "الموازنة مقابل الفعلي",
    "Actual": "الفعلي", "Variance": "الانحراف", "% of budget": "% من الموازنة", "Budgeted profit": "الربح المُقدّر",
    "Whole branch": "الفرع بالكامل", "Start from": "البدء من", "An empty budget": "موازنة فارغة",
    "Last year's actual figures": "الأرقام الفعلية للسنة الماضية", "adjusted by": "معدّلة بنسبة",
    "e.g. 10 for 10% more, -5 for 5% less": "مثال: 10 لزيادة 10%، و-5 لخفض 5%", "A copy of": "نسخة من",
    "Continue": "متابعة", "Copy": "نسخ", "Edit budget": "تعديل الموازنة", "Delete this budget?": "حذف هذه الموازنة؟",
    "Year": "السنة", "Year to date": "منذ بداية السنة", "Full year": "السنة كاملة",
    "Choose a financial year.": "اختر السنة المالية.", "Create a budget first.": "أنشئ موازنة أولاً.",
    "Choose a month of the budget's financial year.": "اختر شهراً من السنة المالية للموازنة.",
    "Leave empty for the whole branch.": "اتركه فارغاً للفرع بالكامل.",
    "e.g. Budget 2027, Revised budget 2026": "مثال: موازنة 2027، الموازنة المعدلة 2026",
    "Expected income and expenses per account and month, compared with the actual figures.":
        "الإيرادات والمصروفات المتوقعة لكل حساب وشهر، مقارنة بالأرقام الفعلية.",
    "No budgets yet. Start one from scratch or from last year's actual figures.":
        "لا توجد موازنات بعد. ابدأ موازنة جديدة أو من الأرقام الفعلية للسنة الماضية.",
    "Enter amounts as positive numbers in": "أدخل المبالغ كأرقام موجبة بعملة",
    "expected income for income accounts, expected cost for expense accounts.":
        "الإيراد المتوقع لحسابات الإيرادات، والتكلفة المتوقعة لحسابات المصروفات.",
    "Type a figure in the Year column to spread it evenly over the twelve months.":
        "اكتب مبلغاً في عمود السنة لتوزيعه بالتساوي على الاثني عشر شهراً.",
    "Accounts in this budget": "الحسابات في هذه الموازنة", "All income and expense accounts": "كل حسابات الإيرادات والمصروفات",
    "Variance = actual − budget. Green is favourable (income above budget, costs below budget); red is unfavourable.":
        "الانحراف = الفعلي − الموازنة. الأخضر انحراف إيجابي (إيراد أعلى أو تكلفة أقل من الموازنة)، والأحمر سلبي.",
})

# chart of accounts hierarchy
AR.update({
    "Dr": "مدين", "Cr": "دائن", "Expand all": "توسيع الكل", "Collapse all": "طي الكل", "New group": "مجموعة جديدة",
    "New account": "حساب جديد", "Group": "مجموعة", "Inactive": "غير نشط", "Groups only": "المجموعات فقط",
    "levels": "مستويات", "Detail": "التفصيل", "Group account": "حساب تجميعي", "Parent group": "المجموعة الرئيسية",
    "A heading that holds other accounts and shows their total. Nothing can be posted to it.":
        "عنوان يجمع حسابات أخرى ويعرض مجموعها، ولا يمكن الترحيل إليه.",
    "The group this account sits under, e.g. 1010 Cash on Hand under 111 Cash and Bank.":
        "المجموعة التي يندرج تحتها الحساب، مثل 1010 النقد في الصندوق تحت 111 النقد وما في حكمه.",
    "Decides the statement section. For a group, the type of the accounts under it.":
        "يحدد قسم القوائم المالية. وللمجموعة: نوع الحسابات التي تحتها.",
    "accounts are not in any group.": "حسابات غير مدرجة في أي مجموعة.",
    "Place them in the standard groups (Assets › Current Assets › Cash and Bank…) by their type. You can move any account afterwards; past entries are not changed.":
        "ضعها في المجموعات القياسية (الأصول › الأصول المتداولة › النقد…) حسب نوعها. يمكنك نقل أي حساب لاحقاً، ولا تتغير القيود السابقة.",
    "Create the standard groups and place the ungrouped accounts in them?":
        "إنشاء المجموعات القياسية ووضع الحسابات غير المجمّعة فيها؟",
    "Group them automatically": "تجميعها تلقائياً",
    "accounts were placed in the standard groups.": "حسابات وُضعت في المجموعات القياسية.",
    "Show or hide the accounts under it": "إظهار أو إخفاء الحسابات التابعة",
    "Add an account under this group": "إضافة حساب تحت هذه المجموعة",
    "Group balances are the total of every account under them, as of today, for the branches in view. Dr = debit balance, Cr = credit balance.":
        "رصيد المجموعة هو مجموع كل الحسابات التابعة لها حتى اليوم للفروع المعروضة. مدين = رصيد مدين، دائن = رصيد دائن.",
    "is a group account; choose an account under it.": "حساب تجميعي؛ اختر حساباً تابعاً له.",
    "The parent must be a group account.": "يجب أن تكون المجموعة الرئيسية حساباً تجميعياً.",
    "An account cannot be placed under itself or one of its own sub-accounts.":
        "لا يمكن وضع الحساب تحت نفسه أو تحت أحد حساباته الفرعية.",
    "The account type does not match its group (for example an expense under assets).":
        "نوع الحساب لا يطابق مجموعته (مثل مصروف تحت الأصول).",
    "This account already has entries, so it cannot become a group. Create a new group and put this account under it.":
        "لهذا الحساب قيود، فلا يمكن تحويله إلى مجموعة. أنشئ مجموعة جديدة وضع هذا الحساب تحتها.",
    "This group still has accounts under it. Move them first.": "لا تزال تحت هذه المجموعة حسابات. انقلها أولاً.",
    "The account type does not match the accounts under this group.": "نوع الحساب لا يطابق الحسابات التابعة لهذه المجموعة.",
    "The code": "الرمز", "is already used by a posting account.": "مستخدم لحساب ترحيل.",
})


# HR & Payroll
AR.update({
    "HR & Payroll": "الموارد البشرية والرواتب", "Employees": "الموظفون", "Employee": "الموظف", "employees": "موظفين",
    "Payroll": "الرواتب", "Leave": "الإجازات", "Loans & Advances": "السلف والقروض", "Final Settlements": "المخالصات النهائية",
    "Final settlement": "المخالصة النهائية", "End of Service & Leave": "نهاية الخدمة والإجازات",
    "Expiring Documents": "الوثائق المنتهية", "HR Settings": "إعدادات الموارد البشرية",
    "New employee": "موظف جديد", "New leave request": "طلب إجازة جديد", "Leave request": "طلب إجازة", "New loan": "سلفة جديدة",
    "New final settlement": "مخالصة نهائية جديدة", "Active": "نشط", "Left": "غادر", "National": "مواطن",
    "Job title": "المسمى الوظيفي", "Department": "القسم", "Joined": "تاريخ الالتحاق", "Joining date": "تاريخ الالتحاق",
    "Labour law": "نظام العمل", "Saudi Arabia": "السعودية", "UAE": "الإمارات", "Monthly wage": "الأجر الشهري",
    "Employee number": "الرقم الوظيفي", "Nationality": "الجنسية", "National (Saudi / Emirati)": "مواطن (سعودي / إماراتي)",
    "Gender": "الجنس", "Male": "ذكر", "Female": "أنثى", "Date of birth": "تاريخ الميلاد",
    "Sets the leave, end-of-service and GOSI rules.": "يحدد قواعد الإجازات ونهاية الخدمة والتأمينات.",
    "Salary costs of this employee are booked to it.": "تُحمّل عليه تكاليف رواتب هذا الموظف.",
    "Monthly salary": "الراتب الشهري", "Basic salary": "الراتب الأساسي", "Housing allowance": "بدل السكن",
    "Transport allowance": "بدل النقل", "Other allowances": "بدلات أخرى", "Annual leave days": "أيام الإجازة السنوية",
    "As the labour law": "حسب نظام العمل",
    "Leave empty for the law: 21 days (30 after 5 years) in Saudi Arabia, 30 in the UAE.":
        "اتركه فارغاً لتطبيق النظام: 21 يوماً (30 بعد 5 سنوات) في السعودية، و30 في الإمارات.",
    "Opening leave balance (days)": "رصيد الإجازات الافتتاحي (أيام)",
    "Days carried in from the old system, plus or minus.": "الأيام المنقولة من النظام السابق، بالزيادة أو النقص.",
    "Documents and bank": "الوثائق والبنك", "ID / Iqama number": "رقم الهوية / الإقامة", "ID / Iqama expiry": "انتهاء الهوية / الإقامة",
    "ID / Iqama": "الهوية / الإقامة", "Passport number": "رقم الجواز", "Passport expiry": "انتهاء الجواز", "Passport": "جواز السفر",
    "GOSI number": "رقم التأمينات", "IBAN": "الآيبان",
    "Employee number and name are required.": "الرقم الوظيفي والاسم مطلوبان.", "Joining date is required.": "تاريخ الالتحاق مطلوب.",
    "This employee number is already used.": "هذا الرقم الوظيفي مستخدم.",
    "Provisions are booked in the employee's branch; settle the employee there and set up a new record in the other branch.":
        "المخصصات مسجلة في فرع الموظف؛ قم بمخالصته هناك وأنشئ سجلاً جديداً في الفرع الآخر.",
    "This employee has payroll, leave or loan records and cannot be deleted. Use a final settlement.":
        "لهذا الموظف رواتب أو إجازات أو سلف ولا يمكن حذفه. استخدم المخالصة النهائية.",
    "Annual leave balance": "رصيد الإجازة السنوية", "End of service to date": "نهاية الخدمة حتى اليوم",
    "if resigning": "عند الاستقالة", "Loan balance": "رصيد السلفة", "Basic": "الأساسي", "Housing": "السكن",
    "Transport": "النقل", "Salary": "الراتب", "expires": "ينتهي", "Provisions booked": "المخصصات المسجلة",
    "End of service": "نهاية الخدمة", "Vacation": "الإجازات", "Payslips": "مسيرات الراتب", "Payslip": "قسيمة الراتب",
    "Days": "الأيام", "Gross": "الإجمالي", "GOSI": "التأمينات", "Loan": "السلفة", "Net pay": "صافي الراتب",
    "Monthly instalment": "القسط الشهري", "Repaid": "المسدد", "Repaying": "قيد السداد", "Last working day": "آخر يوم عمل",
    "Annual leave": "إجازة سنوية", "Sick leave": "إجازة مرضية", "Unpaid leave": "إجازة بدون راتب", "Other leave": "إجازة أخرى",
    "Approved annual leave reduces the leave balance; approved unpaid leave is deducted in that month's payroll.":
        "الإجازة السنوية المعتمدة تخفض الرصيد؛ والإجازة بدون راتب تُخصم في رواتب ذلك الشهر.",
    "Calendar days from the dates": "الأيام التقويمية من التواريخ", "Save & Approve": "حفظ واعتماد",
    "The end date is before the start date.": "تاريخ النهاية قبل تاريخ البداية.",
    "Annual leave balance is only": "رصيد الإجازة السنوية فقط", "the balance goes negative.": "سيصبح الرصيد سالباً.",
    "First deduction": "أول خصم", "First deduction (month)": "أول خصم (الشهر)", "Paid from": "تُصرف من",
    "Used when you pay the loan out.": "يُستخدم عند صرف السلفة.", "Save & Pay out": "حفظ وصرف",
    "Paying the loan: Dr Employee Loans & Advances / Cr Bank. Each month the instalment is deducted in the payroll: Cr Employee Loans & Advances.":
        "صرف السلفة: من حـ/ سلف الموظفين إلى حـ/ البنك. ويُخصم القسط شهرياً من الراتب: إلى حـ/ سلف الموظفين.",
    "Journal entry": "قيد اليومية", "a month from": "شهرياً من", "Employee loan": "سلفة موظف",
    "Prepare payroll": "إعداد الرواتب",
    "Salaries come from the employee records; you can add overtime, additions and deductions before posting.":
        "تؤخذ الرواتب من سجلات الموظفين؛ ويمكنك إضافة العمل الإضافي والإضافات والخصومات قبل الترحيل.",
    "Posted, not paid": "مرحّل، غير مدفوع", "Payroll entry": "قيد الرواتب", "Payment entry": "قيد الدفع",
    "Bank salary file (WPS)": "ملف رواتب البنك (حماية الأجور)", "Gross pay": "إجمالي الرواتب", "Company": "الشركة",
    "Net pay to the bank": "الصافي المحول للبنك", "Loans deducted": "السلف المخصومة", "Provisions this month": "مخصصات الشهر",
    "Transport + other": "النقل وأخرى", "Overtime hours": "ساعات العمل الإضافي", "Overtime": "العمل الإضافي",
    "Additions": "الإضافات", "Deductions": "الخصومات", "Unpaid days": "أيام بدون راتب",
    "Post payroll": "ترحيل الرواتب", "Post the payroll entry?": "ترحيل قيد الرواتب؟", "Save and recalculate": "حفظ وإعادة الحساب",
    "Recalculating picks up salary changes, new joiners and approved unpaid leave.":
        "إعادة الحساب تشمل تغييرات الرواتب والموظفين الجدد والإجازات بدون راتب المعتمدة.",
    "Pay from": "الدفع من", "Payment date": "تاريخ الدفع", "Record salary payment": "تسجيل دفع الرواتب",
    "Dr Salaries Payable / Cr Bank for the net pay.": "من حـ/ الرواتب المستحقة إلى حـ/ البنك بصافي الرواتب.",
    "How this payroll is posted": "كيف تُرحّل هذه الرواتب", "Dr Salaries & Wages": "من حـ/ الرواتب والأجور",
    "gross pay, by cost centre": "إجمالي الرواتب حسب مركز التكلفة", "Dr GOSI Contributions": "من حـ/ اشتراكات التأمينات",
    "company share": "حصة الشركة", "Cr GOSI Payable": "إلى حـ/ التأمينات المستحقة",
    "employee + company share": "حصة الموظف + حصة الشركة", "Cr Employee Loans & Advances": "إلى حـ/ سلف الموظفين",
    "Cr Salaries Payable": "إلى حـ/ الرواتب المستحقة", "net pay": "صافي الراتب",
    "Dr End of Service Benefits / Cr End of Service Provision": "من حـ/ مكافأة نهاية الخدمة إلى حـ/ مخصص نهاية الخدمة",
    "increase in the obligation this month": "زيادة الالتزام هذا الشهر",
    "Dr Vacation Pay / Cr Vacation Pay Provision": "من حـ/ بدل الإجازات إلى حـ/ مخصص الإجازات",
    "change in unused leave": "التغير في الإجازات غير المستخدمة", "Days paid": "الأيام المدفوعة", "Earnings": "الاستحقاقات",
    "Total earnings": "إجمالي الاستحقاقات", "Other deductions": "خصومات أخرى", "GOSI (employee share)": "التأمينات (حصة الموظف)",
    "Loan instalment": "قسط السلفة", "Total deductions": "إجمالي الخصومات", "Reason": "السبب", "Years": "السنوات",
    "Leave pay": "بدل الإجازة", "Net": "الصافي", "Resignation": "استقالة", "Termination by the employer": "إنهاء من صاحب العمل",
    "End of contract": "انتهاء العقد", "Other (full benefit)": "أخرى (مكافأة كاملة)",
    "Calculates the end-of-service benefit and unused leave on the last working day, less any loan balance. Pay the last month's salary in the payroll as usual.":
        "تحسب مكافأة نهاية الخدمة والإجازات غير المستخدمة في آخر يوم عمل، مخصوماً منها رصيد السلف. ويُصرف راتب الشهر الأخير في الرواتب كالمعتاد.",
    "In Saudi Arabia a resignation reduces the benefit: nothing under 2 years, a third for 2-5 years, two thirds for 5-10 years.":
        "في السعودية تخفض الاستقالة المكافأة: لا شيء قبل سنتين، والثلث من 2 إلى 5 سنوات، والثلثان من 5 إلى 10 سنوات.",
    "Other additions": "إضافات أخرى", "e.g. notice pay, air ticket": "مثل بدل الإنذار وتذكرة السفر", "Calculate": "احسب",
    "Settlement entry": "قيد المخالصة", "Post settlement": "ترحيل المخالصة",
    "Post the settlement? The employee will be marked as left.": "ترحيل المخالصة؟ سيُسجل الموظف كمغادر.",
    "Service": "مدة الخدمة", "Wage used": "الأجر المحتسب", "End-of-service benefit (full)": "مكافأة نهاية الخدمة (كاملة)",
    "End-of-service benefit due": "مكافأة نهاية الخدمة المستحقة", "Unused leave": "الإجازات غير المستخدمة",
    "Loan balance recovered": "استرداد رصيد السلفة", "Net payable to the employee": "الصافي المستحق للموظف",
    "The entry when posted": "القيد عند الترحيل", "Dr End of Service Provision": "من حـ/ مخصص نهاية الخدمة",
    "provision built up so far": "المخصص المكوّن حتى الآن", "Dr / Cr End of Service Benefits": "من / إلى حـ/ مكافأة نهاية الخدمة",
    "difference to the amount due (negative = release)": "الفرق عن المبلغ المستحق (السالب = رد مخصص)",
    "Dr Vacation Pay Provision": "من حـ/ مخصص الإجازات", "Dr / Cr Vacation Pay": "من / إلى حـ/ بدل الإجازات",
    "net payable": "الصافي المستحق",
    "What the company would owe each employee today, against the provisions already in the ledger. The next payroll trues the provisions up.":
        "ما ستدين به الشركة لكل موظف اليوم مقارنة بالمخصصات المسجلة. وتُسوّى المخصصات مع الرواتب القادمة.",
    "End of service today": "نهاية الخدمة اليوم", "Booked": "المسجل", "Leave days": "أيام الإجازة", "Leave value": "قيمة الإجازات",
    "Expiring within": "تنتهي خلال", "Expiry": "تاريخ الانتهاء",
    "GOSI (Saudi Arabia)": "التأمينات الاجتماعية (السعودية)", "Saudi employee share %": "حصة الموظف السعودي ٪",
    "Saudi company share %": "حصة الشركة عن السعودي ٪", "Non-Saudi company share %": "حصة الشركة عن غير السعودي ٪",
    "Occupational hazards; non-Saudis pay no employee share.": "الأخطار المهنية؛ ولا يدفع غير السعودي حصة.",
    "Monthly wage ceiling": "الحد الأعلى للأجر الشهري",
    "GOSI is charged on basic + housing up to this amount.": "تُحسب التأمينات على الأساسي والسكن حتى هذا المبلغ.",
    "End of service (Saudi Arabia)": "نهاية الخدمة (السعودية)", "Wage used for the benefit": "الأجر المحتسب للمكافأة",
    "Total monthly wage (basic + all allowances)": "الأجر الشهري الكامل (الأساسي وجميع البدلات)",
    "Basic + housing": "الأساسي والسكن", "Basic only": "الأساسي فقط",
    "The UAE benefit always uses the basic salary.": "مكافأة الإمارات تُحسب دائماً على الراتب الأساسي.",
    "Payroll accounts": "حسابات الرواتب", "Salaries & Wages": "الرواتب والأجور", "GOSI Contributions": "اشتراكات التأمينات الاجتماعية",
    "End of Service Benefits": "مكافأة نهاية الخدمة", "Vacation Pay": "بدل الإجازات", "Salaries Payable": "رواتب مستحقة",
    "GOSI Payable": "التأمينات الاجتماعية المستحقة", "Vacation Pay Provision": "مخصص الإجازات",
    "End of Service Provision": "مخصص نهاية الخدمة", "Employee Loans & Advances": "سلف وقروض الموظفين",
    "A draft settlement already exists for this employee.": "توجد مخالصة مسودة لهذا الموظف.",
    "A payroll for this branch and month already exists.": "توجد رواتب لهذا الفرع والشهر.",
    "Choose a bank or cash journal of the branch.": "اختر دفتر بنك أو نقدية للفرع.",
    "No employees on the payroll of this branch for the month.": "لا يوجد موظفون في رواتب هذا الفرع للشهر.",
    "Set the payroll accounts in HR Settings first.": "حدد حسابات الرواتب في إعدادات الموارد البشرية أولاً.",
    "The branch needs a miscellaneous (general) journal for payroll entries.": "يحتاج الفرع إلى دفتر يومية عام لقيود الرواتب.",
    "The employee has moved to another branch; create the settlement again.": "انتقل الموظف إلى فرع آخر؛ أنشئ المخالصة من جديد.",
    "The last working day is before the joining date.": "آخر يوم عمل قبل تاريخ الالتحاق.",
    "This employee has already left.": "هذا الموظف غادر بالفعل.", "Salary payment": "دفع الرواتب",
    "Delete?": "حذف؟", "years": "سنوات", "document expiring": "وثيقة تنتهي", "documents expiring": "وثائق تنتهي",
    "No documents expiring": "لا توجد وثائق تنتهي", "Approved": "معتمد",
})

# foreign-currency invoices and revaluation
AR.update({
    "Booked in": "مسجل بـ", "Booked rate": "سعر التسجيل", "Branch currency": "عملة الفرع", "Carried at": "القيمة الدفترية",
    "Currency Revaluation": "إعادة تقييم العملات", "Delete the revaluation and its reversal?": "حذف إعادة التقييم وعكسها؟",
    "Enter the exchange rate.": "أدخل سعر الصرف.", "Exchange difference": "فرق العملة", "Exchange rate": "سعر الصرف",
    "Exchange rate today": "سعر الصرف اليوم", "Foreign currency revaluation": "إعادة تقييم العملات الأجنبية",
    "Net difference": "صافي الفرق", "Net unrealized gain (loss)": "صافي الربح (الخسارة) غير المحقق",
    "No open foreign-currency documents on this date.": "لا توجد مستندات مفتوحة بعملة أجنبية في هذا التاريخ.",
    "Nothing to revalue: no open foreign-currency documents, or no rate change.":
        "لا شيء لإعادة التقييم: لا مستندات مفتوحة بعملة أجنبية أو لم يتغير السعر.",
    "Only for a foreign currency": "للعملة الأجنبية فقط", "Open amount": "المبلغ المفتوح",
    "Open invoices and bills in a foreign currency are restated at the month-end rate. The difference is booked as unrealized exchange gain or loss and reversed on the next day; the real difference is booked when the document is paid.":
        "تُعاد قيمة الفواتير المفتوحة بالعملات الأجنبية بسعر نهاية الشهر، ويُسجل الفرق كربح أو خسارة غير محققة ويُعكس في اليوم التالي؛ ويُسجل الفرق الفعلي عند السداد.",
    "Pay the document in its own currency": "ادفع المستند بعملته", "Post revaluation": "ترحيل إعادة التقييم",
    "Posted revaluations": "عمليات إعادة التقييم المرحلة", "Rate on the date": "السعر في التاريخ",
    "Realized Exchange Gain": "أرباح فروق العملة المحققة", "Realized Exchange Loss": "خسائر فروق العملة المحققة",
    "Unrealized Exchange Gain": "أرباح فروق العملة غير المحققة", "Unrealized Exchange Loss": "خسائر فروق العملة غير المحققة",
    "Realized exchange gain": "أرباح فروق العملة المحققة", "Realized exchange loss": "خسائر فروق العملة المحققة",
    "Unrealized exchange gain": "أرباح فروق العملة غير المحققة", "Unrealized exchange loss": "خسائر فروق العملة غير المحققة",
    "Receivable / payable against Unrealized Exchange Gain or Loss, reversed on the next day.":
        "الذمم المدينة / الدائنة مقابل أرباح أو خسائر فروق العملة غير المحققة، وتُعكس في اليوم التالي.",
    "Revaluation": "إعادة التقييم", "Revaluation date": "تاريخ إعادة التقييم", "Revaluation entry": "قيد إعادة التقييم",
    "Revaluation posted; it reverses on the next day.": "تم ترحيل إعادة التقييم؛ وتُعكس في اليوم التالي.",
    "Reversal entry": "قيد العكس", "Reversal of foreign currency revaluation": "عكس إعادة تقييم العملات الأجنبية",
    "Set the exchange gain and loss accounts in Company settings.": "حدد حسابات أرباح وخسائر فروق العملة في إعدادات الشركة.",
    "Show": "عرض", "The branch needs a miscellaneous (general) journal.": "يحتاج الفرع إلى دفتر يومية عام.",
    "The difference is booked as exchange gain or loss.": "يُسجل الفرق كربح أو خسارة فروق عملة.",
    "This branch is already revalued on this date.": "تمت إعادة تقييم هذا الفرع في هذا التاريخ.",
    "Unrealized exchange difference": "فرق عملة غير محقق", "Value on the date": "القيمة في التاريخ",
    "invoice booked at": "سُجلت الفاتورة بسعر", "Document currency": "عملة المستندات",
    "New invoices and bills for this partner start in this currency. Empty = the branch currency.":
        "تبدأ فواتير هذا الشريك بهذه العملة. فارغ = عملة الفرع.", "Documents": "المستندات", "Difference": "الفرق",
    "Revaluation date ": "تاريخ إعادة التقييم",
})

# cheques and post-dated cheques
AR.update({
    "A cheque cannot clear before its date": "لا يمكن تحصيل الشيك قبل تاريخه",
    "A later date makes it a post-dated cheque (PDC); it cannot clear before then.":
        "التاريخ اللاحق يجعله شيكاً مؤجلاً؛ ولا يُحصّل قبل ذلك التاريخ.",
    "Bounced": "مرتجع", "Bounced cheque": "شيك مرتجع", "Cancel cheque": "إلغاء الشيك", "Cancelled cheque": "شيك ملغى",
    "Cheque": "شيك", "Cheque cleared": "تحصيل شيك", "Cheque date": "تاريخ الشيك", "Cheque no.": "رقم الشيك",
    "Cheque registered.": "تم تسجيل الشيك.", "Cheques": "الشيكات", "Cheques Issued": "الشيكات الصادرة",
    "Cheques Received": "الشيكات الواردة",
    "Cheques are in the branch currency; this document is in": "الشيكات بعملة الفرع؛ وهذا المستند بعملة",
    "Cheques from customers: booked to Cheques Under Collection when received, to the bank when they clear.":
        "شيكات العملاء: تُسجل في شيكات تحت التحصيل عند الاستلام، وفي البنك عند التحصيل.",
    "Cheques given to vendors: booked to Post-dated Cheques Issued, to the bank when the bank pays them.":
        "الشيكات المسلمة للموردين: تُسجل في الشيكات المؤجلة الصادرة، وفي البنك عند صرفها.",
    "Choose a bank journal of the branch.": "اختر دفتر بنك للفرع.", "Cleared": "محصّل", "Cleared by the bank": "حُصّل من البنك",
    "Cleared on": "تاريخ التحصيل", "Clearing entry": "قيد التحصيل", "Current": "حال", "Date issued": "تاريخ الإصدار",
    "Date received": "تاريخ الاستلام", "Deposit to": "إيداع في", "Deposited": "مودع",
    "Dr Bank / Cr Cheques Under Collection": "من حـ/ البنك إلى حـ/ شيكات تحت التحصيل",
    "Dr Cheques Under Collection / Cr the customer. The invoice shows as paid; if the cheque bounces it is open again.":
        "من حـ/ شيكات تحت التحصيل إلى حـ/ العميل. تظهر الفاتورة مدفوعة، وإذا ارتد الشيك تعود مفتوحة.",
    "Dr Post-dated Cheques Issued / Cr Bank": "من حـ/ الشيكات المؤجلة الصادرة إلى حـ/ البنك",
    "Dr the vendor / Cr Post-dated Cheques Issued. The bank is credited when it pays the cheque.":
        "من حـ/ المورد إلى حـ/ الشيكات المؤجلة الصادرة. ويُقيد البنك دائناً عند صرف الشيك.",
    "Drawn on (bank)": "مسحوب على (بنك)", "Due today or earlier": "مستحقة اليوم أو قبله", "Enter the cheque number.": "أدخل رقم الشيك.",
    "In hand": "بالصندوق", "Issue entry": "قيد الإصدار", "Mark as deposited": "تسجيل كمودع",
    "No entry: it stays under collection until the bank clears it.": "بدون قيد: يبقى تحت التحصيل حتى يحصّله البنك.",
    "Not yet cleared": "غير محصّلة", "Pay by cheque": "الدفع بشيك", "Post-dated": "مؤجل", "Post-dated (future)": "مؤجلة (مستقبلية)",
    "Receipt entry": "قيد الاستلام", "Register cheque": "تسجيل شيك",
    "Reverse the payment? The invoice will be open again.": "عكس الدفعة؟ ستعود الفاتورة مفتوحة.",
    "The branch has no cheque journal; check the cheque accounts in Company settings.":
        "لا يوجد دفتر شيكات للفرع؛ راجع حسابات الشيكات في إعدادات الشركة.",
    "The cheque date is before the date received / issued.": "تاريخ الشيك قبل تاريخ الاستلام / الإصدار.",
    "cheque due to clear": "شيك مستحق التحصيل", "cheques due to clear": "شيكات مستحقة التحصيل",
    "e.g. Al Rajhi Bank": "مثل مصرف الراجحي", "e.g. insufficient funds": "مثل عدم كفاية الرصيد",
    "e.g. replaced by a bank transfer": "مثل استبداله بتحويل بنكي", "ready for the bank": "جاهزة للبنك",
    "the bank will pay these": "سيصرفها البنك",
})

# petty cash
AR.update({
    "Amount before VAT": "المبلغ قبل الضريبة", "Any difference goes to Cash Over / Short.": "أي فرق يُسجل في زيادة / عجز النقدية.",
    "Cash count": "جرد النقدية", "Cash counted": "النقدية المعدودة", "Cash in the fund": "النقدية في العهدة",
    "Cash over": "زيادة نقدية", "Cash short": "عجز نقدية", "Create fund": "إنشاء عهدة",
    "Dr Petty Cash / Cr Bank": "من حـ/ العهدة النقدية إلى حـ/ البنك",
    "Dr each expense (and Input VAT) / Cr Petty Cash": "من حـ/ كل مصروف (وضريبة المدخلات) إلى حـ/ العهدة النقدية",
    "Draft vouchers": "سندات مسودة",
    "Each fund has its own cash account. Expenses are paid from it with vouchers and it is topped up from the bank.":
        "لكل عهدة حساب نقدية خاص. تُصرف منها المصروفات بسندات وتُعزز من البنك.",
    "Expense voucher": "سند صرف", "Float": "مبلغ العهدة", "Fund": "العهدة", "Fund settings": "إعدادات العهدة",
    "New expense voucher": "سند صرف جديد", "New petty cash fund": "عهدة نقدية جديدة", "No VAT": "بدون ضريبة",
    "No petty cash funds yet.": "لا توجد عهد نقدية بعد.", "Not enough cash in the fund": "النقدية في العهدة غير كافية",
    "Paid to": "المدفوع له", "Petty Cash": "العهدة النقدية",
    "Petty cash fund created with its own cash account.": "تم إنشاء العهدة بحساب نقدية خاص.",
    "Petty cash top-up": "تعزيز العهدة النقدية", "Petty cash voucher": "سند عهدة نقدية", "Receipt no.": "رقم الإيصال",
    "Record cash count": "تسجيل الجرد", "Spent (to top up)": "المصروف (للتعزيز)",
    "The amount the fund is topped up to.": "المبلغ الذي تُعزز العهدة إليه.",
    "The cash counted agrees with the books.": "النقدية المعدودة مطابقة للدفاتر.", "Top it up first.": "عززها أولاً.",
    "Top up": "تعزيز", "Top up from": "التعزيز من", "Top-up": "تعزيز", "Top-ups and cash counts": "التعزيزات والجرد",
    "Vouchers": "السندات", "Who holds the cash": "من يحتفظ بالنقدية", "e.g. Office, Warehouse, Site A": "مثل المكتب أو المستودع أو الموقع أ",
    "e.g. Panda, taxi, courier": "مثل بنده أو تاكسي أو شحن", "Custodian": "أمين العهدة", "Add line": "إضافة سطر",
    "Expense account": "حساب المصروف",
})

# warehouse transfers
AR.update({
    "Choose two different warehouses.": "اختر مستودعين مختلفين.", "From warehouse": "من مستودع",
    "Goods cannot arrive before they were sent.": "لا يمكن استلام البضاعة قبل إرسالها.",
    "Goods in transit returned": "إرجاع بضاعة في الطريق", "Goods received by the other branch": "استلام البضاعة في الفرع الآخر",
    "Goods received from another branch": "بضاعة مستلمة من فرع آخر", "Goods sent to another branch": "بضاعة مرسلة إلى فرع آخر",
    "In transit": "في الطريق",
    "Inside a branch the goods move at once at average cost. Between branches they go through Goods in Transit until received.":
        "داخل الفرع تنتقل البضاعة فوراً بمتوسط التكلفة. وبين الفروع تمر عبر بضاعة في الطريق حتى الاستلام.",
    "New transfer": "تحويل جديد", "On hand": "المتوفر", "Only stock products can be transferred.": "يمكن تحويل الأصناف المخزنية فقط.",
    "Other branch": "فرع آخر", "Receive goods": "استلام البضاعة", "Received on": "تاريخ الاستلام", "Receiver entry": "قيد المستلم",
    "Returned to sender": "أُعيدت للمرسل", "Save & Send": "حفظ وإرسال",
    "Sender: Dr Inter-branch / Cr Goods in Transit. Receiver: Dr Inventory / Cr Inter-branch.":
        "المرسل: من حـ/ الجاري بين الفروع إلى حـ/ بضاعة في الطريق. المستلم: من حـ/ المخزون إلى حـ/ الجاري بين الفروع.",
    "Sender: received entry": "قيد المرسل عند الاستلام", "Sending entry": "قيد الإرسال",
    "Set the goods in transit account in Company settings.": "حدد حساب بضاعة في الطريق في إعدادات الشركة.",
    "To warehouse": "إلى مستودع", "Transfer In": "تحويل وارد", "Transfer Out": "تحويل صادر", "Transfers In": "التحويلات الواردة",
    "Transfers Out": "التحويلات الصادرة", "Warehouse Transfers": "التحويلات بين المستودعات",
})

# report exports and logo
AR.update({
    "Printed by": "طُبع بواسطة", "of": "من", "Prepared by": "أعدّه", "Reviewed by": "راجعه", "Approved by": "اعتمده",
    "Name, signature and date": "الاسم والتوقيع والتاريخ", "Download PDF": "تنزيل PDF", "Download Excel": "تنزيل Excel",
    "Download CSV": "تنزيل CSV", "Logo": "الشعار", "No logo yet": "لا يوجد شعار بعد", "Upload a logo": "رفع شعار",
    "PNG or JPG, at most 2 MB. A transparent PNG looks best. It is printed on reports, invoices and statements.":
        "PNG أو JPG بحد أقصى 2 ميجابايت. يفضل PNG بخلفية شفافة. يُطبع على التقارير والفواتير وكشوف الحساب.",
    "Upload": "رفع", "Remove": "إزالة", "The logo must be a PNG or JPG image.": "يجب أن يكون الشعار صورة PNG أو JPG.",
    "The logo is larger than 2 MB.": "حجم الشعار أكبر من 2 ميجابايت.", "The file is not a readable image.": "الملف ليس صورة صالحة.",
    "Choose an image file.": "اختر ملف صورة.",
})

# document titles and exports
AR.update({
    "Journal Voucher": "سند قيد", "Receipt Voucher": "سند قبض", "Payment Voucher": "سند صرف", "Petty Cash Voucher": "سند صرف عهدة",
    "Cheque Receipt": "إيصال استلام شيك", "Cheque Issue Voucher": "سند إصدار شيك", "Payroll Register": "مسير الرواتب",
    "Final Settlement": "المخالصة النهائية", "Statement of Account": "كشف حساب", "Tax Invoice": "فاتورة ضريبية",
    "Customer Invoice": "فاتورة عميل", "Customer Credit Note": "إشعار دائن للعميل", "Vendor Bill": "فاتورة مورد",
    "Vendor Refund": "إشعار مدين للمورد", "Received from": "مستلم من", "This payment is cancelled.": "هذه الدفعة ملغاة.",
    "Opening balance": "الرصيد الافتتاحي", "Closing balance": "الرصيد الختامي", "Before year-end closing": "قبل إقفال نهاية السنة",
    "Net VAT payable": "صافي الضريبة المستحقة", "Net VAT refundable": "صافي الضريبة المستردة", "Taxable amount": "المبلغ الخاضع",
    "Sales (output VAT)": "المبيعات (ضريبة المخرجات)", "Purchases (input VAT)": "المشتريات (ضريبة المدخلات)", "Share": "النسبة",
    "By": "حسب", "Estimated cost": "التكلفة التقديرية",
    "I confirm receipt of the above amount in full and final settlement of all my dues.":
        "أقر باستلام المبلغ أعلاه كمخالصة نهائية وكاملة لجميع مستحقاتي.",
})

# approval workflow and terms & conditions
AR.update({
    "Add a rule": "إضافة قاعدة", "Add approvers in Settings → Approval Workflow.": "أضف معتمدين في الإعدادات ← سير الاعتماد.",
    "Add at least one approval step.": "أضف خطوة اعتماد واحدة على الأقل.", "Add step": "إضافة خطوة",
    "All departments": "كل الأقسام", "Amounts are in the company currency": "المبالغ بعملة الشركة",
    "And / or these people": "و / أو هؤلاء الأشخاص", "Any": "أي", "Applies to": "ينطبق على", "Approval": "الاعتماد",
    "Approval Roles": "أدوار الاعتماد", "Approval Workflow": "سير الاعتماد", "Approval needed": "مطلوب اعتماد",
    "Approval requests and notifications are emailed here.": "تُرسل طلبات الاعتماد والتنبيهات إلى هذا البريد.",
    "Approval rule": "قاعدة اعتماد", "Approval steps (in order)": "خطوات الاعتماد (بالترتيب)",
    "Approved in place of the approvers": "اعتُمد نيابة عن المعتمدين", "Approved.": "تم الاعتماد.",
    "Choose another person.": "اختر شخصاً آخر.", "Choose the document type.": "اختر نوع المستند.", "Comment": "تعليق",
    "Comment (required to reject)": "تعليق (مطلوب عند الرفض)", "Decision": "القرار", "Default": "افتراضي",
    "Default for this document": "افتراضي لهذا المستند", "Delegate to": "التفويض إلى", "Delegated to you": "مفوض إليك",
    "Documents are waiting under this rule; switch it off instead.": "توجد مستندات بانتظار هذه القاعدة؛ قم بإيقافها بدلاً من ذلك.",
    "Documents waiting for your decision, your own documents waiting for others, and your notifications.":
        "المستندات بانتظار قرارك، ومستنداتك بانتظار الآخرين، وتنبيهاتك.",
    "Each step waits for its approvers before the next starts. Approvers are the members of the role and/or the people chosen. \"Any\" needs the number of approvals given; \"All\" needs everyone.":
        "تنتظر كل خطوة معتمديها قبل بدء التالية. المعتمدون هم أعضاء الدور و/أو الأشخاص المختارون. \"أي\" تحتاج العدد المحدد من الاعتمادات، و\"الكل\" تحتاج الجميع.",
    "Edit role": "تعديل الدور", "Edit template": "تعديل النموذج", "From amount": "من مبلغ", "Fully approved": "معتمد بالكامل",
    "Give the reason for approving in place of the approvers.": "اذكر سبب الاعتماد نيابة عن المعتمدين.",
    "Give the rule a name.": "أدخل اسماً للقاعدة.", "Give the template a name and a document type.": "أدخل اسم النموذج ونوع المستند.",
    "Hold Ctrl (Cmd on a Mac) to choose several. Members need an email address in Settings → Users to receive approval emails.":
        "اضغط Ctrl (أو Cmd في ماك) لاختيار أكثر من واحد. يحتاج الأعضاء بريداً إلكترونياً في الإعدادات ← المستخدمون لاستلام رسائل الاعتماد.",
    "How many approvals": "عدد الاعتمادات", "Insert standard terms…": "إدراج شروط قياسية…",
    "Job roles that approve, such as Procurement Manager, Finance Manager or General Manager. A rule step can use a role, so people can change without editing the rules.":
        "الأدوار الوظيفية التي تعتمد مثل مدير المشتريات والمدير المالي والمدير العام. تستخدم خطوة القاعدة دوراً فيمكن تغيير الأشخاص دون تعديل القواعد.",
    "Mark all as read": "تعليم الكل كمقروء", "Members": "الأعضاء", "My Approvals": "اعتماداتي",
    "My documents waiting for approval": "مستنداتي بانتظار الاعتماد", "Needs": "يحتاج", "New role": "دور جديد",
    "New rule": "قاعدة جديدة", "New template": "نموذج جديد", "No limit": "بلا حد", "No notifications.": "لا توجد تنبيهات.",
    "No rule: these documents need no approval.": "لا توجد قاعدة: هذه المستندات لا تحتاج اعتماداً.",
    "Nobody can approve step": "لا يوجد من يعتمد الخطوة", "Nobody yet": "لا أحد بعد",
    "Nothing is waiting for your approval.": "لا يوجد ما ينتظر اعتمادك.", "Notifications": "التنبيهات", "Off": "متوقف",
    "Out of office": "خارج المكتب", "Payment, delivery, warranty and other terms printed on the document": "شروط الدفع والتسليم والضمان وغيرها المطبوعة على المستند",
    "Pending": "قيد الانتظار", "Public address of Vertex": "العنوان العام لفيرتكس",
    "Reason for approving in place of the approvers": "سبب الاعتماد نيابة عن المعتمدين",
    "Rejected in place of the approvers": "رُفض نيابة عن المعتمدين", "Rejected.": "تم الرفض.",
    "Remind after (days)": "التذكير بعد (أيام)", "Replace the current terms?": "استبدال الشروط الحالية؟",
    "Request for Quotation": "طلب عرض سعر", "Required when rejecting": "مطلوب عند الرفض", "Returned to draft": "أعيد إلى مسودة",
    "Rule": "القاعدة", "Rule name": "اسم القاعدة", "Sales Quotation / Order": "عرض سعر / أمر بيع", "Since": "منذ",
    "Standard texts chosen on RFQs, purchase orders, quotations, sales orders and invoices. The default one fills in automatically and can be edited on each document; it prints at the end of the document.":
        "نصوص قياسية تُختار في طلبات عروض الأسعار وأوامر الشراء وعروض الأسعار وأوامر البيع والفواتير. يُملأ الافتراضي تلقائياً ويمكن تعديله في كل مستند ويُطبع في نهايته.",
    "Step": "الخطوة", "Steps": "الخطوات", "Submitted": "مقدم", "System": "النظام", "Terms & Conditions": "الشروط والأحكام",
    "Text": "النص", "Text (Arabic)": "النص (عربي)", "Text (English)": "النص (إنجليزي)",
    "The order is waiting for approval.": "الأمر بانتظار الاعتماد.", "The role is used by an approval rule.": "الدور مستخدم في قاعدة اعتماد.",
    "The upper amount is below the lower amount.": "الحد الأعلى أقل من الحد الأدنى.", "This approval is no longer open.": "هذا الاعتماد لم يعد مفتوحاً.",
    "This document is already waiting for approval.": "هذا المستند بانتظار الاعتماد بالفعل.",
    "This document is not waiting for approval.": "هذا المستند ليس بانتظار الاعتماد.",
    "This order is waiting for approval.": "هذا الأمر بانتظار الاعتماد.", "Up to amount": "حتى مبلغ",
    "Used in the links of emails (approvals, vendor portal). Leave empty while testing on one computer.":
        "يُستخدم في روابط الرسائل (الاعتمادات وبوابة الموردين). اتركه فارغاً أثناء الاختبار على جهاز واحد.",
    "Waiting at": "بانتظار", "Waiting for approval": "بانتظار الاعتماد", "Waiting since": "بانتظار منذ",
    "When several rules match, the lowest number wins.": "عند تطابق أكثر من قاعدة يُطبق الرقم الأقل.",
    "When the rule applies": "متى تنطبق القاعدة",
    "While you are away, your approvals go to the person you choose. You can still approve yourself.":
        "أثناء غيابك تذهب اعتماداتك إلى الشخص الذي تختاره، ويمكنك الاعتماد بنفسك أيضاً.",
    "Who approves what. For each document the first active rule that matches (branch, department, amount) is used; no matching rule means no approval is needed. The person who submits a document never approves it.":
        "من يعتمد ماذا. لكل مستند تُطبق أول قاعدة نشطة مطابقة (الفرع، القسم، المبلغ)، وعدم وجود قاعدة يعني عدم الحاجة لاعتماد. ولا يعتمد مقدم المستند مستنده أبداً.",
    "Withdrawn": "مسحوب", "You are not an approver for this step.": "لست معتمداً لهذه الخطوة.",
    "You cannot approve a document you submitted.": "لا يمكنك اعتماد مستند قدمته.",
    "Your approvals go to the delegate for those dates.": "تذهب اعتماداتك إلى المفوض في تلك التواريخ.",
    "all approvers": "كل المعتمدين", "approval waiting": "اعتماد بالانتظار", "choose a role or approvers": "اختر دوراً أو معتمدين",
    "e.g. Procurement Manager": "مثل مدير المشتريات", "e.g. Purchase orders 10,000 – 100,000": "مثل أوامر الشراء 10,000 – 100,000",
    "e.g. Standard purchase terms": "مثل شروط الشراء القياسية", "e.g. annual leave": "مثل إجازة سنوية", "no email": "بلا بريد",
    "of the approval rule": "من قاعدة الاعتماد", "on behalf of": "نيابة عن", "approved": "معتمد", "rejected": "مرفوض",
    "Purchase Order": "أمر شراء", "Material Request": "طلب مواد", "Purchase Requisition": "طلب شراء",
    "Requested by": "مقدم الطلب", "Reminder": "تذكير", "override": "استثناء", "Approve": "اعتماد", "Reject": "رفض",
    "History": "السجل", "Open": "فتح",
})

# projects
AR.update({
    "Projects": "المشاريع", "Project": "المشروع", "New project": "مشروع جديد", "No projects yet.": "لا توجد مشاريع بعد.",
    "My projects": "مشاريعي", "All projects": "كل المشاريع", "All statuses": "كل الحالات", "No project": "بدون مشروع",
    "Search code or name": "ابحث بالرمز أو الاسم", "Manager": "المدير", "Project manager": "مدير المشروع",
    "Project manager (of the document)": "مدير المشروع (الخاص بالمستند)", "Team": "فريق العمل", "Member": "العضو",
    "Role on the project": "الدور في المشروع", "Add member": "إضافة عضو", "No team members yet.": "لا يوجد أعضاء بعد.",
    "Each project has its own cost centre, budget, team and milestones.":
        "لكل مشروع مركز تكلفة وموازنة وفريق ومراحل خاصة به.",
    "Contract value": "قيمة العقد", "Contract value (excl. VAT)": "قيمة العقد (بدون الضريبة)",
    "Contract and billing": "العقد والفوترة", "Retention": "المحتجزات", "Retention %": "نسبة المحتجزات %",
    "Retention held": "المحتجزات لدى العميل", "Retention release": "الإفراج عن المحتجزات",
    "Release retention": "الإفراج عن المحتجزات", "Create release invoice": "إنشاء فاتورة الإفراج", "held": "محتجزة",
    "released": "مفرج عنها", "Held back by the customer from each progress invoice until handover.":
        "يحتجزها العميل من كل فاتورة إنجاز حتى التسليم.",
    "Revenue account": "حساب الإيراد", "Company default": "الافتراضي للشركة", "Branch default": "الافتراضي للفرع",
    "VAT on progress invoices": "الضريبة على فواتير الإنجاز", "Site address": "عنوان الموقع", "Start date": "تاريخ البدء",
    "Also the code of the project’s cost centre.": "وهو أيضاً رمز مركز تكلفة المشروع.",
    "Approves the project’s material requests first.": "يعتمد طلبات مواد المشروع أولاً.",
    "Budget": "الموازنة", "Budget control": "رقابة الموازنة", "No control": "بدون رقابة",
    "Warn when over budget": "تنبيه عند تجاوز الموازنة", "Block when over budget": "منع عند تجاوز الموازنة",
    "Checked when a material request is submitted and when a purchase order is confirmed.":
        "يتم التحقق عند تقديم طلب المواد وعند تأكيد أمر الشراء.",
    "One line per cost category. A line on a group account (e.g. Cost of Revenue) covers every account under it.":
        "سطر لكل فئة تكلفة. السطر على حساب تجميعي (مثل تكلفة الإيرادات) يشمل كل الحسابات تحته.",
    "Add budget line": "إضافة سطر موازنة", "Add budget lines": "أضف أسطر الموازنة", "No budget yet.": "لا توجد موازنة بعد.",
    "Expense account": "حساب المصروف", "group": "تجميعي", "e.g. Materials": "مثل المواد",
    "Committed": "الملتزم به", "Actual cost": "التكلفة الفعلية", "Remaining": "المتبقي", "Used": "المستخدم",
    "Used %": "نسبة الاستخدام %", "Committed + Actual": "الملتزم + الفعلي", "Budget used": "المستخدم من الموازنة",
    "Budget vs committed vs actual": "الموازنة مقابل الملتزم به والفعلي", "Not in the budget": "خارج الموازنة",
    "Project Budget Report": "تقرير موازنة المشروع", "Project total": "إجمالي المشروع",
    "Committed = confirmed purchase orders not yet billed. Actual = costs posted to the project’s cost centre. Remaining = Budget − Committed − Actual.":
        "الملتزم به = أوامر الشراء المؤكدة التي لم تُفوتر بعد. الفعلي = التكاليف المرحلة على مركز تكلفة المشروع. المتبقي = الموازنة − الملتزم به − الفعلي.",
    "Committed = confirmed purchase orders not yet billed. Actual = costs posted to the project's cost centre. Remaining = Budget − Committed − Actual.":
        "الملتزم به = أوامر الشراء المؤكدة التي لم تُفوتر بعد. الفعلي = التكاليف المرحلة على مركز تكلفة المشروع. المتبقي = الموازنة − الملتزم به − الفعلي.",
    "over budget by": "تجاوز الموازنة بمبلغ", "budget exceeded": "تم تجاوز الموازنة", "budget warning": "تنبيه الموازنة",
    "Milestone": "المرحلة", "Milestones (progress billing)": "المراحل (فواتير الإنجاز)", "Add milestone": "إضافة مرحلة",
    "No milestones yet.": "لا توجد مراحل بعد.", "Amount (excl. VAT)": "المبلغ (بدون الضريبة)", "Due date": "تاريخ الاستحقاق",
    "e.g. Mobilisation 20%": "مثل التجهيز 20%", "e.g. Site engineer": "مثل مهندس موقع", "Mark completed": "تم الإنجاز",
    "Completed — to bill": "منجزة — للفوترة", "Create invoice": "إنشاء فاتورة", "Planned": "مخططة", "Invoiced": "مفوترة",
    "Progress invoice": "فاتورة إنجاز", "billed by milestones": "مفوتر حسب المراحل", "No contract value set": "لم تحدد قيمة العقد",
    "Invoiced to customer": "المفوتر للعميل", "Still to bill": "المتبقي للفوترة", "Profit to date": "الربح حتى تاريخه",
    "Cost": "التكلفة", "Purchasing": "المشتريات", "Invoices and bills": "الفواتير", "Due": "مستحقة",
    "Activate": "تفعيل", "Put on hold": "إيقاف مؤقت", "Close project": "إغلاق المشروع", "On hold": "متوقف مؤقتاً",
    "Active": "نشط", "Closed": "مغلق",
    "Close the project? No new documents can be raised for it.": "إغلاق المشروع؟ لن يمكن إنشاء مستندات جديدة له.",
    "Draft progress invoice created. Check it and post it.": "تم إنشاء مسودة فاتورة الإنجاز. راجعها ثم رحّلها.",
    "Draft retention release invoice created. Check it and post it.": "تم إنشاء مسودة فاتورة الإفراج عن المحتجزات. راجعها ثم رحّلها.",
    "Stock issued on this request is charged to the project. The project manager approves first.":
        "يُحمّل المخزون المصروف لهذا الطلب على المشروع، ويعتمده مدير المشروع أولاً.",
    "The project’s cost centre is used and its budget is checked when the order is confirmed.":
        "يُستخدم مركز تكلفة المشروع ويتم التحقق من موازنته عند تأكيد الأمر.",
    "Income and expense lines without a cost centre go to the project.":
        "أسطر الإيرادات والمصروفات بدون مركز تكلفة تُحمّل على المشروع.",
    'A "Project manager" step goes to the manager of the document’s project and is skipped for documents without a project.':
        "خطوة «مدير المشروع» تذهب إلى مدير مشروع المستند، وتُتخطى للمستندات بدون مشروع.",
    "not applicable": "لا تنطبق",
    "Code and name are required.": "الرمز والاسم مطلوبان.", "Another project has this code.": "هذا الرمز مستخدم لمشروع آخر.",
    "Budget lines must be on expense accounts.": "يجب أن تكون أسطر الموازنة على حسابات مصروفات.",
    "Choose the project's revenue account.": "اختر حساب إيراد المشروع.",
    "Cost centre": "مركز التكلفة", "already belongs to another project.": "مرتبط بمشروع آخر بالفعل.",
    "Every budget line needs an account.": "كل سطر موازنة يحتاج إلى حساب.", "Every milestone needs a name.": "كل مرحلة تحتاج إلى اسم.",
    "Retention must be between 0 and 100%.": "يجب أن تكون نسبة المحتجزات بين 0 و100%.",
    "Set the project's customer first.": "حدد عميل المشروع أولاً.",
    "Set the retention receivable account in Company settings.": "حدد حساب المحتجزات المستحقة في إعدادات الشركة.",
    "The amount is more than the retention held.": "المبلغ أكبر من المحتجزات القائمة.",
    "The milestone has no amount.": "المرحلة بدون مبلغ.",
    "The milestones add up to more than the contract value.": "مجموع المراحل أكبر من قيمة العقد.",
    "The project already has documents; its branch cannot change.": "للمشروع مستندات بالفعل؛ لا يمكن تغيير فرعه.",
    "The project is closed.": "المشروع مغلق.", "There is no retention to release.": "لا توجد محتجزات للإفراج عنها.",
    "This milestone is already invoiced.": "هذه المرحلة مفوترة بالفعل.", "Unknown milestone.": "مرحلة غير معروفة.",
    "Unknown project.": "مشروع غير معروف.", "the project belongs to another branch.": "المشروع يتبع فرعاً آخر.",
    "the project is not active.": "المشروع غير نشط.",
    "this milestone is invoiced and cannot be removed.": "هذه المرحلة مفوترة ولا يمكن حذفها.",
    "The end date is before the start date.": "تاريخ الانتهاء قبل تاريخ البدء.", "all": "الكل",
    "Subcontract Costs": "تكاليف مقاولي الباطن", "Equipment Hire": "استئجار المعدات",
    "Retention Receivable": "محتجزات مستحقة القبض",
    "Retention receivable account": "حساب المحتجزات المستحقة",
    "Retention customers hold back from project progress invoices.": "المحتجزات التي يحتجزها العملاء من فواتير إنجاز المشاريع.",
})

# procurement upgrade: RFQ, sealed bids, award approval, PO sending, GRN, three-way match
AR.update({
    "#": "#", "Accepted": "مقبول", "Accepted by vendor": "قبله المورد", "Rejected by vendor": "رفضه المورد",
    "Awaiting vendor confirmation": "بانتظار تأكيد المورد", "Add all approved in category": "إضافة كل المعتمدين في الفئة",
    "Clear": "مسح", "Search vendors…": "ابحث عن مورد…", "Alt.": "بديل", "Alternative": "بديل", "Alternatives": "البدائل",
    "Alternatives allowed": "يقبل البدائل", "Brand / model offered": "العلامة / الموديل المعروض",
    "A bill linked to a PO is compared with the PO price and the quantity received (warehouse receipt or GRN).":
        "تقارن فاتورة المورد المرتبطة بأمر شراء بسعر الأمر والكمية المستلمة (استلام المستودع أو إشعار الاستلام).",
    "Available after the sealed bids are opened.": "متاح بعد فتح العروض المختومة.",
    "Award approved. The purchase order is confirmed; send it to the vendor.": "اعتمدت الترسية وتم تأكيد أمر الشراء؛ أرسله إلى المورد.",
    "Vendor awarded. The purchase order is confirmed; send it to the vendor.": "تمت الترسية وتأكيد أمر الشراء؛ أرسله إلى المورد.",
    "Award reason": "سبب الترسية", "Award waiting approval": "الترسية بانتظار الاعتماد", "RFQ Award": "ترسية طلب عروض الأسعار",
    "The award is waiting for approval.": "الترسية بانتظار الاعتماد.", "Recommend award": "التوصية بالترسية",
    "Submit award for approval": "إرسال الترسية للاعتماد", "Reason for the choice": "سبب الاختيار", "lowest": "الأقل",
    "The award goes through the approval workflow. Once approved, the purchase order is created and confirmed at the quoted prices.":
        "تمر الترسية بمسار الاعتماد، وبعد اعتمادها يُنشأ أمر الشراء ويؤكد بالأسعار المعروضة.",
    "Required when this is not the lowest quotation (quality, delivery time, technical compliance…)":
        "مطلوب إذا لم يكن العرض الأقل سعراً (الجودة، مدة التوريد، المطابقة الفنية…)",
    "This is not the lowest quotation. Give the reason for the choice.": "هذا ليس أقل العروض. اذكر سبب الاختيار.",
    "Bids": "العروض", "Bids opened": "فُتحت العروض", "Sealed": "مختوم", "Sealed bids": "عروض مختومة", "Open bids": "فتح العروض",
    "Open the sealed bids first.": "افتح العروض المختومة أولاً.",
    "Open the sealed bids? This is recorded with your name and the time.": "فتح العروض المختومة؟ يسجل ذلك باسمك والوقت.",
    "Sealed bids can be opened only after the closing time.": "لا تفتح العروض المختومة إلا بعد موعد الإغلاق.",
    "The bids are not sealed.": "العروض غير مختومة.",
    "Prices stay hidden from everyone until the closing time has passed and the bids are formally opened. No vendor ever sees another vendor’s price.":
        "تبقى الأسعار مخفية عن الجميع حتى انقضاء موعد الإغلاق وفتح العروض رسمياً، ولا يرى أي مورد سعر مورد آخر.",
    "Sealed bids: what you enter here is hidden until the bids are opened, also from you. Saving again replaces the whole quotation.":
        "عروض مختومة: ما تدخله هنا يبقى مخفياً حتى فتح العروض، حتى عنك. الحفظ مرة أخرى يستبدل العرض بالكامل.",
    "vendors have quoted. Prices can be seen after the closing time, when the bids are opened.":
        "من الموردين قدموا عروضهم. تظهر الأسعار بعد موعد الإغلاق عند فتح العروض.",
    "Replace Quote": "استبدال العرض", "Closes": "يغلق", "closed": "مغلق", "Closing": "الإغلاق", "Closing date": "تاريخ الإغلاق",
    "Closing time": "وقت الإغلاق", "Quotations are not accepted after this.": "لا تقبل العروض بعد هذا الموعد.",
    "Extend": "تمديد", "Extend closing time": "تمديد موعد الإغلاق",
    "The new closing time must be later than the current one.": "يجب أن يكون الموعد الجديد بعد الموعد الحالي.",
    "The RFQ is closed; quotations are no longer accepted. Extend the closing time first.":
        "طلب العروض مغلق ولم تعد العروض تقبل. مدد موعد الإغلاق أولاً.",
    "The closing time is already past.": "موعد الإغلاق انقضى بالفعل.", "Set the closing date and time.": "حدد تاريخ ووقت الإغلاق.",
    "Quotation validity": "صلاحية العرض", "Quotation validity (days)": "صلاحية العرض (أيام)", "Payment terms": "شروط الدفع",
    "Payment terms offered": "شروط الدفع المعروضة", "Incoterms": "شروط التسليم الدولية (إنكوترمز)", "Delivery place": "مكان التسليم",
    "e.g. 30 days from invoice": "مثل 30 يوماً من الفاتورة", "e.g. Riyadh warehouse / project site": "مثل مستودع الرياض / موقع المشروع",
    "Request": "الطلب", "Item": "الصنف", "Item code": "رمز الصنف", "Specification": "المواصفات",
    "Specification, standard, size, colour…": "المواصفات، المعيار، المقاس، اللون…", "Manufacturer": "الشركة المصنعة",
    "Manufacturer / brand": "المصنع / العلامة", "Manufacturer / part no.": "المصنع / رقم القطعة", "Part / model no.": "رقم القطعة / الموديل",
    "Unit": "الوحدة", "Valid until": "صالح حتى", "valid until": "صالح حتى", "Warranty, exclusions…": "الضمان، الاستثناءات…",
    "Prices cannot be negative.": "لا يمكن أن تكون الأسعار سالبة.", "This line does not accept alternatives.": "هذا السطر لا يقبل بدائل.",
    "Drawings and data sheets: save the RFQ, then attach the files on the RFQ page.":
        "المخططات ونشرات البيانات: احفظ طلب العروض ثم أرفق الملفات في صفحته.",
    "Save draft": "حفظ كمسودة", "Save & email to vendors": "حفظ وإرسال للموردين بالبريد", "Save & mark as sent": "حفظ وتعليم كمرسل",
    "Email to vendors": "إرسال للموردين بالبريد", "RFQ emailed to": "أرسل طلب العروض إلى", "vendors": "موردين",
    "Draft RFQ created. Add the details and vendors, then send it.": "تم إنشاء مسودة طلب العروض. أضف التفاصيل والموردين ثم أرسله.",
    "Creates a draft RFQ with these lines. Add the specification, vendors and closing time, then send it.":
        "ينشئ مسودة طلب عروض بهذه الأسطر. أضف المواصفات والموردين وموعد الإغلاق ثم أرسله.",
    "Only when your policy needs a separate requisition approval before buying.": "فقط إذا كانت سياستك تتطلب اعتماد طلب شراء منفصل قبل الشراء.",
    "Purchase requisition": "طلب الشراء", "optional": "اختياري",
    "Set up email in Company settings first, or mark the RFQ as sent.": "اضبط البريد في إعدادات الشركة أولاً أو علّم الطلب كمرسل.",
    "Set up email in Company settings first, or mark the order as sent.": "اضبط البريد في إعدادات الشركة أولاً أو علّم الأمر كمرسل.",
    "Please find attached our request for quotation": "مرفق طلب عروض الأسعار رقم", "Quotations close on": "يغلق استلام العروض في",
    "Please find attached our purchase order": "مرفق أمر الشراء رقم", "Please confirm the order and the delivery date.": "يرجى تأكيد الأمر وتاريخ التسليم.",
    "Quote this PO number on the delivery note and the invoice.": "يذكر رقم أمر الشراء في مذكرة التسليم والفاتورة.",
    "Terms and Conditions": "الشروط والأحكام", "Requisition PO": "أمر شراء من طلب", "Direct PO": "أمر شراء مباشر",
    "Send to vendor": "إرسال للمورد", "Marked as sent.": "تم التعليم كمرسل.", "Purchase order emailed to the vendor.": "أرسل أمر الشراء للمورد بالبريد.",
    "The vendor has no email address.": "لا يوجد بريد إلكتروني للمورد.", "Sent to the vendor": "أرسل إلى المورد",
    "Vendor acknowledgement": "تأكيد المورد", "Vendor response": "رد المورد", "Vendor reference": "مرجع المورد",
    "Order confirmation no.": "رقم تأكيد الطلب", "Promised delivery": "التسليم الموعود", "Recorded": "سُجل", "Note": "ملاحظة",
    "Record acknowledgement": "تسجيل تأكيد المورد", "Choose accepted or rejected.": "اختر مقبول أو مرفوض.",
    "Give the vendor's reason.": "اذكر سبب المورد.",
    "Goods Received Note": "إشعار استلام البضائع", "Goods received notes": "إشعارات الاستلام", "Receive (GRN)": "استلام (إشعار استلام)",
    "Goods received note saved.": "تم حفظ إشعار الاستلام.", "Save GRN": "حفظ إشعار الاستلام", "Cancel this GRN?": "إلغاء إشعار الاستلام؟",
    "Cancelled.": "تم الإلغاء.", "Date received": "تاريخ الاستلام", "Vendor delivery note no.": "رقم مذكرة تسليم المورد",
    "Delivery note": "مذكرة التسليم", "Received by": "استلمه", "Ordered": "المطلوب", "Received so far": "المستلم حتى الآن",
    "Received now": "المستلم الآن", "Fully received": "مستلم بالكامل", "Condition, shortages, who signed…": "الحالة، النواقص، من وقّع…",
    "For items delivered to site and services. Stock items are received into the warehouse with a receipt.":
        "للأصناف المسلمة للموقع والخدمات. أصناف المخزون تستلم في المستودع بسند استلام.",
    "No accounting entry is made; the cost is booked when the vendor bill is posted, and the bill is checked against what was received.":
        "لا يُنشأ قيد محاسبي؛ تقيد التكلفة عند ترحيل فاتورة المورد وتطابق الفاتورة مع ما تم استلامه.",
    "Only the requester, the project team or an administrator can receive these items.":
        "يستلم هذه الأصناف مقدم الطلب أو فريق المشروع أو المسؤول فقط.",
    "Enter the quantity received.": "أدخل الكمية المستلمة.", "This line is received through the warehouse.": "هذا السطر يستلم عبر المستودع.",
    "more than the quantity still to receive.": "أكثر من الكمية المتبقية للاستلام.",
    "The goods on this GRN are already billed.": "بضائع هذا الإشعار مفوترة بالفعل.",
    "Three-way match": "المطابقة الثلاثية", "Three-way match failed": "فشلت المطابقة الثلاثية",
    "Three-way match on vendor bills": "المطابقة الثلاثية لفواتير الموردين", "Warn, but allow posting": "تنبيه مع السماح بالترحيل",
    "Stop the bill": "إيقاف الفاتورة", "Do not check": "بدون تحقق", "Quantity tolerance %": "هامش الكمية %", "Price tolerance %": "هامش السعر %",
    "How much more than received may be billed.": "الزيادة المسموح بفوترتها عن الكمية المستلمة.",
    "How much above the PO price may be billed.": "الزيادة المسموح بها فوق سعر أمر الشراء.",
    "billed": "المفوتر", "received": "المستلم", "price above the PO": "السعر أعلى من أمر الشراء", "Vendor VAT no.": "الرقم الضريبي للمورد",
    "Issues the stock items from the warehouse and charges each product’s expense account.":
        "يصرف أصناف المخزون من المستودع ويحمّل حساب مصروف كل منتج.",
    "Request for Quotation": "طلب عرض سعر", "Expected Arrival": "الوصول المتوقع",
})

# supplier onboarding and portal accounts
AR.update({
    "A Saudi VAT number has 15 digits.": "الرقم الضريبي السعودي من 15 رقماً.",
    "A registration with this VAT or CR number is already being reviewed.": "يوجد تسجيل بنفس الرقم الضريبي أو السجل التجاري قيد المراجعة.",
    "A supplier with this VAT or CR number is already registered with us. Please contact our procurement team.":
        "يوجد مورد مسجل لدينا بنفس الرقم الضريبي أو السجل التجاري. يرجى التواصل مع فريق المشتريات.",
    "Account name": "اسم الحساب", "Activate and sign in": "تفعيل وتسجيل الدخول", "Activate your account": "تفعيل حسابك",
    "Activate your supplier portal account for": "فعّل حساب بوابة الموردين لشركة", "and choose your password": "واختر كلمة المرور",
    "Activation link emailed.": "أرسل رابط التفعيل بالبريد.",
    "Activation links work once and expire after 72 hours. Ask us for a new one.": "روابط التفعيل تعمل مرة واحدة وتنتهي بعد 72 ساعة. اطلب منا رابطاً جديداً.",
    "After our review you will receive an email to activate your supplier portal account.": "بعد مراجعتنا ستصلك رسالة لتفعيل حسابك في بوابة الموردين.",
    "Already received": "تم استلامها", "Anything else we should know?": "هل هناك ما نود معرفته؟",
    "Approve in place of the approvers": "اعتماد بدلاً من المعتمدين", "Approved for this step.": "تم الاعتماد لهذه الخطوة.",
    "Ask for more information": "طلب معلومات إضافية", "At least 10 characters with letters and numbers.": "10 أحرف على الأقل تتضمن حروفاً وأرقاماً.",
    "Attach these documents": "أرفق هذه المستندات", "Bank account": "الحساب البنكي", "Bank account for payments": "الحساب البنكي للمدفوعات",
    "Check the IBAN and account name against the bank letter before approving.": "طابق الآيبان واسم الحساب مع الخطاب البنكي قبل الاعتماد.",
    "Choose a password for": "اختر كلمة مرور لـ", "City": "المدينة", "Coming soon on the portal": "قريباً على البوابة",
    "Commercial registration no.": "رقم السجل التجاري", "Company Profile": "ملف الشركة", "Company profile": "بيانات الشركة",
    "Company name (Arabic)": "اسم الشركة (عربي)", "Company name (English)": "اسم الشركة (إنجليزي)", "Confirm password": "تأكيد كلمة المرور",
    "Confirm that the information is correct.": "أكد صحة المعلومات.", "Copied": "تم النسخ", "Copy link": "نسخ الرابط",
    "Correct your registration here (the link works for 14 days)": "صحح تسجيلك من هنا (الرابط صالح 14 يوماً)", "Country": "الدولة",
    "Creates the vendor (approved) with its documents and bank details, and emails an activation link for the supplier portal.":
        "ينشئ المورد (معتمد) بمستنداته وبياناته البنكية، ويرسل رابط تفعيل بوابة الموردين بالبريد.",
    "Email is not set up: send this activation link to the supplier yourself": "البريد غير مضبوط: أرسل رابط التفعيل هذا للمورد بنفسك",
    "Email is not set up: send this link to the supplier yourself": "البريد غير مضبوط: أرسل هذا الرابط للمورد بنفسك",
    "Vendor created. Email is not set up: send this activation link to the supplier yourself":
        "تم إنشاء المورد. البريد غير مضبوط: أرسل رابط التفعيل هذا للمورد بنفسك",
    "Email the link": "إرسال الرابط بالبريد", "Enter a valid email address.": "أدخل بريداً إلكترونياً صحيحاً.", "Give the reason.": "اذكر السبب.",
    "I confirm that the information and documents are correct and that I am authorised to register this company.":
        "أقر بصحة المعلومات والمستندات وبأنني مفوض بتسجيل هذه الشركة.",
    "Information requested": "معلومات مطلوبة", "Invalid email or password.": "البريد أو كلمة المرور غير صحيحة.", "Invitation sent.": "أرسلت الدعوة.",
    "Invite portal user": "دعوة مستخدم للبوابة", "Link expired": "انتهى الرابط", "Missing documents": "مستندات ناقصة",
    "More information needed": "مطلوب معلومات إضافية", "More information requested": "طُلبت معلومات إضافية",
    "Must match the company name on the bank letter.": "يجب أن يطابق اسم الشركة في الخطاب البنكي.", "No access": "بلا صلاحية",
    "No portal users yet.": "لا يوجد مستخدمون للبوابة بعد.", "Not registered yet?": "لم تسجل بعد؟", "Notes from the supplier": "ملاحظات المورد",
    "Open vendor": "فتح المورد", "PDF, PNG or JPG, up to 10 MB each.": "PDF أو PNG أو JPG، حتى 10 ميجابايت لكل ملف.",
    "Please contact our procurement team.": "يرجى التواصل مع فريق المشتريات.", "Portal access removed.": "أزيلت صلاحية البوابة.",
    "Possible duplicate": "تكرار محتمل", "Powered by Vertex ERP": "بواسطة Vertex ERP", "Reason (sent to the supplier)": "السبب (يرسل للمورد)",
    "Register as a supplier": "سجل كمورد", "Register your company as a supplier of": "سجل شركتك كمورد لدى", "Registration link": "رابط التسجيل",
    "Registration received": "تم استلام التسجيل", "Registration rejected.": "رُفض التسجيل.", "Remove access": "إزالة الصلاحية",
    "Remove portal access for this user?": "إزالة صلاحية البوابة لهذا المستخدم؟", "Resubmit registration": "إعادة تقديم التسجيل",
    "Send new activation link": "إرسال رابط تفعيل جديد", "Send password reset link": "إرسال رابط إعادة تعيين كلمة المرور",
    "Send request": "إرسال الطلب",
    "Set up email in Company settings first, or copy the link and send it yourself.": "اضبط البريد في إعدادات الشركة أولاً، أو انسخ الرابط وأرسله بنفسك.",
    "Share this link with new suppliers (website, emails, tenders). They fill in their details and documents; you review and approve here.":
        "شارك هذا الرابط مع الموردين الجدد (الموقع، البريد، المناقصات). يدخلون بياناتهم ومستنداتهم، وتراجعها وتعتمدها هنا.",
    "Sign in with the email address your account was created for.": "سجل الدخول بالبريد الذي أنشئ له حسابك.", "Sign out": "تسجيل الخروج",
    "Submit registration": "تقديم التسجيل", "Supplier Registration": "تسجيل مورد", "Supplier Registrations": "تسجيلات الموردين",
    "Supplier registrations": "تسجيلات الموردين", "Supplier registration": "تسجيل مورد", "Supplier portal": "بوابة الموردين",
    "Supplier portal access": "صلاحية بوابة الموردين", "Supplier portal account": "حساب بوابة الموردين", "Supplier status": "حالة المورد",
    "Thank you for registering as a supplier with": "شكراً لتسجيلك كمورد لدى", "Thank you — your registration was received": "شكراً — تم استلام تسجيلك",
    "The IBAN is not valid.": "رقم الآيبان غير صحيح.", "The file is not a valid PDF.": "الملف ليس PDF صالحاً.",
    "The form expired. Please try again.": "انتهت صلاحية النموذج. حاول مرة أخرى.",
    "The link works once and expires in 72 hours. We never send passwords by email.": "الرابط يعمل مرة واحدة وينتهي خلال 72 ساعة. لا نرسل كلمات المرور بالبريد أبداً.",
    "The supplier was emailed a link to correct the registration.": "أرسل للمورد رابط لتصحيح التسجيل.",
    "The two passwords are not the same.": "كلمتا المرور غير متطابقتين.",
    "They receive an activation link and choose their own password.": "يصلهم رابط تفعيل ويختارون كلمة المرور بأنفسهم.",
    "This email address already has a portal account for another vendor.": "هذا البريد له حساب بوابة لمورد آخر.",
    "This link is no longer valid.": "هذا الرابط لم يعد صالحاً.", "This link is no longer valid. Ask us for a new one.": "هذا الرابط لم يعد صالحاً. اطلب منا رابطاً جديداً.",
    "To change your bank details, contact our finance team. Changes are verified before payments use them.":
        "لتغيير بياناتك البنكية تواصل مع فريقنا المالي. يتم التحقق من التغييرات قبل استخدامها في المدفوعات.",
    "Too many attempts. Try again in a few minutes.": "محاولات كثيرة. حاول بعد دقائق.",
    "Too many registrations from this connection. Please try again later.": "تسجيلات كثيرة من هذا الاتصال. حاول لاحقاً.",
    "Upload PDF, PNG or JPG files only.": "ارفع ملفات PDF أو PNG أو JPG فقط.", "Use at least 10 characters.": "استخدم 10 أحرف على الأقل.",
    "Use letters and numbers.": "استخدم حروفاً وأرقاماً.", "VAT registration no.": "رقم التسجيل الضريبي",
    "Vendor created and the activation link emailed to the supplier.": "تم إنشاء المورد وإرسال رابط التفعيل للمورد.",
    "Waiting review": "بانتظار المراجعة", "We are unable to approve your registration at this time.": "لا يمكننا اعتماد تسجيلك في الوقت الحالي.",
    "We need more information": "نحتاج معلومات إضافية", "We will email you when it has been reviewed.": "سنراسلك عند الانتهاء من المراجعة.",
    "We will review it and email you. Once approved you will receive a link to activate your supplier portal account.":
        "سنراجعه ونراسلك، وبعد الاعتماد يصلك رابط لتفعيل حساب بوابة الموردين.",
    "Welcome": "مرحباً", "What do you supply?": "ماذا تورد؟", "Write what the supplier should correct or add.": "اكتب ما يجب على المورد تصحيحه أو إضافته.",
    "You are invited to register as a supplier of": "أنت مدعو للتسجيل كمورد لدى", "Your account is active.": "تم تفعيل حسابك.",
    "Your documents": "مستنداتك", "Your portal sign-in and our emails go to this address.": "يستخدم هذا البريد لدخول البوابة ولمراسلاتنا.",
    "Your reference is": "رقمك المرجعي", "Your supplier registration has been approved.": "تم اعتماد تسجيلك كمورد.",
    "differs from the company name": "يختلف عن اسم الشركة", "e.g. Industrial supplies": "مثل توريدات صناعية",
    "e.g. The bank letter is not stamped. Please upload a stamped letter.": "مثل: الخطاب البنكي غير مختوم، يرجى رفع خطاب مختوم.",
    "last sign-in": "آخر دخول", "link valid until": "الرابط صالح حتى", "same": "نفس", "supplier@example.com": "supplier@example.com",
    "Bank Letter": "خطاب بنكي", "Chamber of Commerce": "الغرفة التجارية", "GOSI Certificate": "شهادة التأمينات", "Zakat Certificate": "شهادة الزكاة",
    "Trade License": "الرخصة التجارية", "ISO Certificate": "شهادة الأيزو", "Commercial Registration": "السجل التجاري", "VAT Certificate": "شهادة الضريبة",
    "Contact person": "الشخص المسؤول", "Expires soon": "تنتهي قريباً", "Expired": "منتهية", "Invited": "مدعو",
})

# vendor portal and AP inbox
AR.update({
    "A bank details change is already waiting for approval.": "يوجد طلب تغيير بيانات بنكية بانتظار الاعتماد.",
    "A draft bill with one line for the amount; choose the expense accounts before posting.": "مسودة فاتورة بسطر واحد بالمبلغ؛ اختر حسابات المصروف قبل الترحيل.",
    "AP Inbox": "صندوق فواتير الموردين", "Accept": "قبول", "Amount excl. VAT": "المبلغ بدون الضريبة", "Approved for payment": "معتمدة للدفع",
    "Attach a stamped bank letter for the new account.": "أرفق خطاباً بنكياً مختوماً للحساب الجديد.", "Attach the document.": "أرفق المستند.",
    "Attach the invoice (PDF).": "أرفق الفاتورة (PDF).", "Awarded to you": "تمت الترسية عليك",
    "Bank Detail Changes": "تغييرات البيانات البنكية", "Bank detail changes": "تغييرات البيانات البنكية", "Bank Details Change": "تغيير البيانات البنكية",
    "Bank details change": "تغيير البيانات البنكية", "Bank account we pay to": "الحساب البنكي الذي ندفع إليه",
    "Bank details change not approved": "لم يعتمد تغيير البيانات البنكية", "Bank details updated": "تم تحديث البيانات البنكية",
    "Bank letter": "الخطاب البنكي", "Bank letter for a new account": "خطاب بنكي لحساب جديد", "Being checked": "قيد التحقق",
    "Being processed": "قيد المعالجة", "Bill created": "أنشئت الفاتورة",
    "Call the vendor on a number you already have (not one in the request) to confirm the new account before approving. Changed bank details are a common fraud.":
        "اتصل بالمورد على رقم مسجل لديك مسبقاً (وليس الرقم الوارد في الطلب) للتأكد من الحساب الجديد قبل الاعتماد. تغيير البيانات البنكية من أشهر أساليب الاحتيال.",
    "Change bank account": "تغيير الحساب البنكي", "Changes waiting for review": "تغييرات بانتظار المراجعة",
    "Changing the bank details needs finance approval.": "تغيير البيانات البنكية يحتاج اعتماد المالية.",
    "Choose one of your purchase orders.": "اختر أحد أوامر الشراء الخاصة بك.", "Choose the branch.": "اختر الفرع.", "Company & bank": "الشركة والبنك",
    "Confirm this order": "تأكيد هذا الأمر", "Create bill": "إنشاء فاتورة مورد", "Create draft bill": "إنشاء مسودة الفاتورة",
    "Decline to quote": "الاعتذار عن التسعير", "Delivery date you promise": "تاريخ التسليم الذي تلتزم به", "Delivery lead time (days)": "مدة التوريد (أيام)",
    "Document not accepted": "لم يقبل المستند", "Document sent by a vendor": "مستند مرسل من مورد",
    "Document sent. It replaces the current one once we have checked it.": "أرسل المستند، ويحل محل الحالي بعد التحقق منه.",
    "Documents expiring": "مستندات قاربت الانتهاء", "Draft bill created. Check it and post it.": "أنشئت مسودة الفاتورة. راجعها ثم رحّلها.",
    "Draft bill created. Its total differs from the vendor invoice": "أنشئت مسودة الفاتورة، وإجماليها يختلف عن فاتورة المورد",
    "Enter at least one price.": "أدخل سعراً واحداً على الأقل.", "Enter the bank name and the account name.": "أدخل اسم البنك واسم الحساب.",
    "Enter the invoice date.": "أدخل تاريخ الفاتورة.", "Enter your invoice number.": "أدخل رقم فاتورتك.", "Expected delivery": "التسليم المتوقع",
    "For your protection, new bank details are checked by our finance team (we may call you) before any payment uses them. Attach a stamped bank letter.":
        "لحمايتك، يتحقق فريقنا المالي من البيانات البنكية الجديدة (وقد نتصل بك) قبل استخدامها في أي دفعة. أرفق خطاباً بنكياً مختوماً.",
    "From the purchase order lines not yet billed; the three-way match checks it against what was received when you post it.":
        "من أسطر أمر الشراء غير المفوترة؛ وتطابقها المطابقة الثلاثية مع المستلم عند الترحيل.",
    "Invoice date": "تاريخ الفاتورة", "Invoice no.": "رقم الفاتورة", "Invoice returned": "أعيدت الفاتورة",
    "Invoice sent. We will let you know when it is processed.": "أرسلت الفاتورة، وسنبلغك عند معالجتها.",
    "Invoices vendors sent through the supplier portal. Accepting one creates the draft vendor bill with the vendor’s PDF attached.":
        "الفواتير المرسلة من الموردين عبر البوابة. قبولها ينشئ مسودة فاتورة المورد مع إرفاق ملفها.",
    "New bank account": "حساب بنكي جديد", "New bank details are waiting for finance approval": "البيانات البنكية الجديدة بانتظار اعتماد المالية",
    "New bank details ending": "البيانات البنكية الجديدة المنتهية بـ",
    "New vendor bank accounts are used for payments only after finance approval.": "لا تستخدم الحسابات البنكية الجديدة للموردين إلا بعد اعتماد المالية.",
    "No purchase order": "بدون أمر شراء", "Not accepted": "غير مقبول", "Not approved": "غير معتمد", "Not awarded": "لم تتم الترسية عليك",
    "Not yet due": "لم يستحق بعد", "Open bill": "فتح الفاتورة", "Open invoice": "فتح الفاتورة", "Open requests for quotation": "طلبات عروض مفتوحة",
    "Our reference": "مرجعنا", "Owed to you": "المستحق لك", "PO total": "إجمالي أمر الشراء", "Partly paid": "مدفوعة جزئياً",
    "Payments made to you": "المدفوعات لك", "Payments use the current account until it is approved.": "تستخدم المدفوعات الحساب الحالي حتى الاعتماد.",
    "Purchase orders to confirm": "أوامر شراء للتأكيد", "Quotation received": "استلم عرض سعر", "Renew": "تجديد", "Requested": "طُلب",
    "Requests": "الطلبات", "Response": "الرد", "Result": "النتيجة", "Return": "إعادة", "Return to the vendor": "إعادة للمورد", "Returned": "معادة",
    "Returned to the vendor.": "أعيدت للمورد.", "SWIFT": "سويفت",
    "Saved. The new bank details are waiting for finance approval; payments use the current ones until then.":
        "تم الحفظ. البيانات البنكية الجديدة بانتظار اعتماد المالية، وتستخدم المدفوعات الحالية حتى ذلك الحين.",
    "Sealed bids: nobody — including our buyers — can see your prices before the closing time. Other suppliers never see them.":
        "عروض مختومة: لا يرى أحد أسعارك قبل موعد الإغلاق — بما في ذلك مشترينا — ولا يراها الموردون الآخرون أبداً.",
    "Send a new or renewed document": "إرسال مستند جديد أو مجدد", "Send an invoice": "إرسال فاتورة", "Send for verification": "إرسال للتحقق",
    "Send invoice": "إرسال الفاتورة", "Send invoice for this PO": "إرسال فاتورة لهذا الأمر", "Send response": "إرسال الرد",
    "Sent through the supplier portal": "مرسل عبر بوابة الموردين", "Sent to us": "المرسل إلينا", "Still to pay": "المتبقي للدفع",
    "Submit quotation": "تقديم العرض", "Tax invoice (PDF)": "الفاتورة الضريبية (PDF)", "Tell us you will not quote?": "إبلاغنا بأنك لن تقدم عرضاً؟",
    "Thank you for your quotation. This request was awarded to another supplier.": "شكراً لعرضك. تمت ترسية هذا الطلب على مورد آخر.",
    "Thank you, your response was recorded.": "شكراً، تم تسجيل ردك.", "These are the current bank details.": "هذه هي البيانات البنكية الحالية.",
    "This invoice number was already sent.": "رقم الفاتورة هذا أرسل من قبل.",
    "This request is closed; quotations can no longer be changed.": "هذا الطلب مغلق ولا يمكن تعديل العروض.",
    "This request was awarded to you. The purchase order will follow.": "تمت ترسية هذا الطلب عليك، وسيصلك أمر الشراء.",
    "To change these details, write to our procurement team.": "لتغيير هذه البيانات راسل فريق المشتريات.", "To confirm": "للتأكيد",
    "To process": "للمعالجة", "To quote": "للتسعير", "Unit price excl. VAT": "سعر الوحدة بدون الضريبة", "Unknown RFQ.": "طلب عروض غير معروف.",
    "Update quotation": "تحديث العرض", "Vendor declined": "اعتذر المورد", "Vendor invoice": "فاتورة مورد", "Vendor invoice received": "استلمت فاتورة مورد",
    "Waiting for your quotation": "بانتظار عرضك", "We have recorded that you will not quote.": "سجلنا أنك لن تقدم عرضاً.",
    "You can reply on the supplier portal": "يمكنك الرد عبر بوابة الموردين", "Your invoice no.": "رقم فاتورتك", "Your invoices with us": "فواتيرك لدينا",
    "Your new bank account ending": "حسابك البنكي الجديد المنتهي بـ", "Your order confirmation no.": "رقم تأكيد الطلب لديكم",
    "Your quotation": "عرضك", "Your quotation no.": "رقم عرضك",
    "Your quotation was submitted. You can change it until the closing time.": "تم تقديم عرضك، ويمكنك تعديله حتى موعد الإغلاق.",
    "Your response": "ردك", "accept or reject": "قبول أو رفض", "approved invoices not yet paid": "فواتير معتمدة لم تدفع بعد",
    "are being verified. We keep paying to the current account until they are approved.": "قيد التحقق، ونستمر بالدفع للحساب الحالي حتى الاعتماد.",
    "by the vendor on the portal": "من المورد عبر البوابة", "changed": "تغير", "differs": "يختلف",
    "e.g. The VAT number is missing on the invoice.": "مثل: الرقم الضريبي غير موجود في الفاتورة.",
    "has been approved for payments.": "تم اعتماده للمدفوعات.", "last sent": "آخر إرسال", "waiting for your quotation": "بانتظار عرضك",
    "within 30 days or expired": "خلال 30 يوماً أو منتهية",
})

# invoice types: advance, final, proforma, debit note, simplified
AR.update({
    "A debit note refers to a posted invoice of the same customer.": "يشير الإشعار المدين إلى فاتورة مرحلة لنفس العميل.",
    "A proforma has no accounting effect. Issue it to the customer, then convert it to a tax invoice when the sale is confirmed.":
        "الفاتورة المبدئية ليس لها أثر محاسبي. أصدرها للعميل ثم حولها إلى فاتورة ضريبية عند تأكيد البيع.",
    "A proforma invoice is not posted. Convert it to a tax invoice.": "الفاتورة المبدئية لا ترحل. حولها إلى فاتورة ضريبية.",
    "Additional amount for invoice": "مبلغ إضافي على الفاتورة", "Advance": "الدفعة المقدمة",
    "Advance (down-payment) invoices are booked here until they are deducted on the final invoice.":
        "تقيد فواتير الدفعات المقدمة هنا حتى تخصم في الفاتورة النهائية.",
    "Advance Payment Tax Invoice": "فاتورة ضريبية لدفعة مقدمة", "Advance deducted on": "خصمت الدفعة المقدمة في",
    "Advance invoice": "فاتورة دفعة مقدمة", "Advances are deducted on a draft tax invoice.": "تخصم الدفعات المقدمة في مسودة فاتورة ضريبية.",
    "Advances from customers account": "حساب الدفعات المقدمة من العملاء", "Advances to deduct": "دفعات مقدمة للخصم",
    "Amounts before VAT": "المبالغ قبل الضريبة", "An advance invoice has positive amounts only.": "فاتورة الدفعة المقدمة بمبالغ موجبة فقط.",
    "An advance invoice is booked to the advances account with positive amounts only.": "تقيد فاتورة الدفعة المقدمة على حساب الدفعات المقدمة وبمبالغ موجبة فقط.",
    "Convert to tax invoice": "تحويل إلى فاتورة ضريبية", "Customer Advances": "دفعات العملاء المقدمة", "Debit Note": "إشعار مدين",
    "Deduct advance": "خصم دفعة مقدمة", "Deduct advances with “Deduct advance” so they are tracked.": "اخصم الدفعات المقدمة من زر «خصم دفعة مقدمة» لتتم متابعتها.",
    "Deducted": "المخصوم",
    "Deducting an advance reverses its VAT on this invoice: Dr Advances from Customers, the customer pays the balance.":
        "خصم الدفعة المقدمة يعكس ضريبتها في هذه الفاتورة: مدين الدفعات المقدمة من العملاء، ويدفع العميل الباقي.",
    "Down payment invoiced before delivery: VAT is charged now and the amount is booked to Advances from Customers. Deduct it later on the final invoice.":
        "دفعة مقدمة تفوتر قبل التسليم: تحتسب الضريبة الآن ويقيد المبلغ في الدفعات المقدمة من العملاء، وتخصم لاحقاً في الفاتورة النهائية.",
    "Down payments invoiced to customers (Advances from Customers) and how much has been deducted on final invoices. Amounts before VAT.":
        "الدفعات المقدمة المفوترة للعملاء وما خصم منها في الفواتير النهائية. المبالغ قبل الضريبة.",
    "Draft debit note created. Enter the additional amount, then post it.": "أنشئت مسودة إشعار مدين. أدخل المبلغ الإضافي ثم رحّلها.",
    "Draft tax invoice created from the proforma. Check it and post it.": "أنشئت مسودة فاتورة ضريبية من الفاتورة المبدئية. راجعها ثم رحّلها.",
    "For retail customers; the buyer’s VAT number is not needed.": "لعملاء التجزئة؛ لا يلزم الرقم الضريبي للمشتري.",
    "Give the reason for the debit note.": "اذكر سبب الإشعار المدين.", "Invoice type": "نوع الفاتورة", "Issue proforma": "إصدار الفاتورة المبدئية",
    "Left to deduct": "المتبقي للخصم", "Less: advance invoice": "يخصم: فاتورة الدفعة المقدمة", "Not deducted yet.": "لم تخصم بعد.",
    "Not yet paid": "غير مدفوع بعد", "Original invoice": "الفاتورة الأصلية", "Proforma": "مبدئية", "Proforma Invoice": "فاتورة مبدئية",
    "Proforma Invoices": "الفواتير المبدئية", "Progress Tax Invoice": "فاتورة ضريبية لمرحلة إنجاز", "Reason for the debit note": "سبب الإشعار المدين",
    "Retention Release Invoice": "فاتورة الإفراج عن المحتجزات",
    "Set the advances from customers account in Company settings.": "حدد حساب الدفعات المقدمة من العملاء في إعدادات الشركة.",
    "Simplified Tax Invoice": "فاتورة ضريبية مبسطة", "Tax Invoice (Final)": "فاتورة ضريبية (نهائية)", "Tax invoice": "فاتورة ضريبية",
    "The advances deducted cannot be more than the invoice.": "لا يمكن أن تزيد الدفعات المخصومة عن الفاتورة.",
    "The amount is more than what is left of the advance.": "المبلغ أكبر من المتبقي من الدفعة المقدمة.",
    "This advance is deducted on a posted invoice; reset that invoice first.": "هذه الدفعة مخصومة في فاتورة مرحلة؛ أعد تلك الفاتورة لمسودة أولاً.",
    "This advance is not available for this invoice.": "هذه الدفعة المقدمة غير متاحة لهذه الفاتورة.",
    "This is not a tax invoice.": "هذه ليست فاتورة ضريبية.", "This proforma is already converted.": "هذه الفاتورة المبدئية حولت بالفعل.",
    "e.g. Price correction, additional freight": "مثل تصحيح سعر، شحن إضافي", "left": "المتبقي",
    "Advances from Customers": "دفعات مقدمة من العملاء", "Issued": "صادرة", "Converted": "محولة", "All types": "كل الأنواع",
    "The account on the lines is replaced by Advances from Customers when you save.": "يستبدل الحساب في الأسطر بحساب الدفعات المقدمة من العملاء عند الحفظ.",
})

# security and backups
AR.update({
    "Automatic daily backups: run this on the server every night (cron or Windows Task Scheduler)": "النسخ الاحتياطي اليومي التلقائي: شغّل هذا على الخادم كل ليلة (cron أو جدولة مهام ويندوز)",
    "Back to sign in": "العودة لتسجيل الدخول", "Back up now": "نسخ احتياطي الآن", "Backup created.": "تم إنشاء النسخة الاحتياطية.",
    "Backups": "النسخ الاحتياطية",
    "Copy them to another disk or cloud storage too — a backup on the same server does not protect against losing the server.":
        "انسخها أيضاً إلى قرص آخر أو تخزين سحابي — النسخة على نفس الخادم لا تحمي من فقدان الخادم.",
    "Each backup is one file with the whole database and every uploaded document.": "كل نسخة ملف واحد يضم قاعدة البيانات كاملة وكل المستندات المرفوعة.",
    "Enter the email address of your portal account. We will email you a link to choose a new password.":
        "أدخل بريد حساب البوابة، وسنرسل لك رابطاً لاختيار كلمة مرور جديدة.",
    "Forgot your password?": "نسيت كلمة المرور؟",
    "If this address has a portal account, we have emailed a link to choose a new password.": "إذا كان لهذا البريد حساب في البوابة فقد أرسلنا رابطاً لاختيار كلمة مرور جديدة.",
    "It also creates the recurring documents that are due and sends approval reminders.": "وينشئ أيضاً المستندات الدورية المستحقة ويرسل تذكيرات الاعتماد.",
    "Made": "أنشئت", "No backups yet.": "لا توجد نسخ احتياطية بعد.",
    "Put vertex.db and the uploads folder back in the instance folder (keep the old ones aside).": "أعد ملف vertex.db ومجلد uploads إلى مجلد instance (واحتفظ بالقديمة جانباً).",
    "Restoring a backup": "استعادة نسخة احتياطية", "Send link": "إرسال الرابط", "Size": "الحجم", "Start the application.": "شغّل التطبيق.",
    "Stop the application.": "أوقف التطبيق.", "The backup failed": "فشل النسخ الاحتياطي", "The newest": "يحتفظ بأحدث",
    "The password must be at least 8 characters.": "يجب ألا تقل كلمة المرور عن 8 أحرف.",
    "This password is published with the demo; choose another one.": "كلمة المرور هذه منشورة مع النسخة التجريبية؛ اختر غيرها.",
    "Unzip the backup.": "فك ضغط النسخة.", "Use letters and numbers in the password.": "استخدم حروفاً وأرقاماً في كلمة المرور.",
    "You signed in with a demo password that is published. Change it now.": "دخلت بكلمة مرور تجريبية منشورة. غيّرها الآن.",
    "backups are kept in": "نسخة في",
    "expires on": "تنتهي في", "Please send the renewed document": "يرجى إرسال المستند المجدد", "on the supplier portal": "عبر بوابة الموردين",
    "Document expiring": "مستند قارب على الانتهاء",
})

# partner ledger, delivery notes, cost centre scope
AR.update({
    "Partner Ledger": "دفتر أستاذ الشركاء", "Customer Ledger": "دفتر أستاذ العملاء", "Vendor Ledger": "دفتر أستاذ الموردين",
    "Receivable and payable movements per partner, from posted entries.": "حركات الذمم المدينة والدائنة لكل شريك من القيود المرحلة.",
    "Customers and vendors": "العملاء والموردون", "Customers": "العملاء", "Vendors": "الموردون",
    "Debit balance = the partner owes us; credit balance = we owe the partner. Click a partner for every entry.":
        "الرصيد المدين = مستحق لنا على الشريك؛ الرصيد الدائن = مستحق للشريك. اضغط على الشريك لعرض كل القيود.",
    "Delivery Note": "مذكرة تسليم", "Goods Receipt Note": "سند استلام بضاعة", "Customer Return Note": "سند مرتجع عميل",
    "Return to Vendor Note": "سند إرجاع لمورد", "Transfer Note": "سند تحويل", "Transfer Receipt": "سند استلام تحويل",
    "Stock Document": "مستند مخزني", "Received in good condition. Any shortage or damage must be written on this note.":
        "استلمت بحالة جيدة. يجب تدوين أي نقص أو تلف على هذا السند.",
    "Cost centres are used on": "تستخدم مراكز التكلفة في", "Income and expense lines": "أسطر الإيرادات والمصروفات",
    "Expense lines only": "أسطر المصروفات فقط",
    "With “Expense lines only”, revenue is not split by cost centre and is never asked for one.":
        "مع خيار «أسطر المصروفات فقط» لا توزع الإيرادات على مراكز التكلفة ولا يطلب لها مركز.",
})

AR.update({
    "Customer and vendor accounts": "حسابات العملاء والموردين",
    "One shared receivable and payable account": "حساب ذمم مدينة وحساب ذمم دائنة مشتركان",
    "A separate account for each customer and vendor": "حساب مستقل لكل عميل ومورد",
    "With a separate account, every customer gets its own receivable account (e.g. 1100-0001) and every vendor its own payable account (e.g. 2100-0001) under the default accounts above. Balances already on the shared accounts are moved across with a transfer entry dated today.":
        "مع الحساب المستقل يحصل كل عميل على حساب ذمم مدينة خاص به (مثل 1100-0001) وكل مورد على حساب ذمم دائنة خاص به (مثل 2100-0001) تحت الحسابات الافتراضية أعلاه. تنقل الأرصدة الموجودة في الحسابات المشتركة بقيد تحويل بتاريخ اليوم.",
    "partner accounts opened": "حساب شريك تم فتحه",
    "transfer entries posted for balances already on the shared accounts.": "قيد تحويل رُحّل للأرصدة الموجودة في الحسابات المشتركة.",
    "Transfer to own account": "تحويل إلى الحساب الخاص",
    "Partner account opening": "فتح حساب الشريك",
})
AR.update({
    "The sale could not be saved. Check the connection and try again.": "تعذر حفظ البيع. تحقق من الاتصال وحاول مرة أخرى.",
    "The page expired. Reload it and try again.": "انتهت صلاحية الصفحة. أعد تحميلها وحاول مرة أخرى.",
})
AR.update({
    "Cash Flow Statement": "قائمة التدفقات النقدية",
    "Cash flows from operating activities": "التدفقات النقدية من الأنشطة التشغيلية",
    "Adjustments for non-cash items": "تسويات البنود غير النقدية",
    "Employee provisions (end of service, leave)": "مخصصات الموظفين (نهاية الخدمة، الإجازات)",
    "(Gain) / loss on disposal of fixed assets": "(ربح) / خسارة استبعاد الأصول الثابتة",
    "Changes in working capital": "التغيرات في رأس المال العامل",
    "(Increase) / decrease in receivables": "(الزيادة) / النقص في الذمم المدينة",
    "(Increase) / decrease in inventory and other current assets": "(الزيادة) / النقص في المخزون والأصول المتداولة الأخرى",
    "(Increase) / decrease in prepayments": "(الزيادة) / النقص في المصروفات المدفوعة مقدماً",
    "Increase / (decrease) in payables": "الزيادة / (النقص) في الذمم الدائنة",
    "Increase / (decrease) in other current liabilities (incl. VAT)": "الزيادة / (النقص) في الخصوم المتداولة الأخرى (شاملة الضريبة)",
    "Net cash from operating activities": "صافي النقد من الأنشطة التشغيلية",
    "Cash flows from investing activities": "التدفقات النقدية من الأنشطة الاستثمارية",
    "Purchase of fixed assets, net of disposal proceeds": "شراء الأصول الثابتة بالصافي بعد متحصلات الاستبعاد",
    "Other non-current assets": "أصول غير متداولة أخرى",
    "Net cash from investing activities": "صافي النقد من الأنشطة الاستثمارية",
    "Cash flows from financing activities": "التدفقات النقدية من الأنشطة التمويلية",
    "Loans and other non-current liabilities": "القروض والخصوم غير المتداولة الأخرى",
    "Capital, drawings and other equity movements": "رأس المال والمسحوبات وحركات حقوق الملكية الأخرى",
    "Net cash from financing activities": "صافي النقد من الأنشطة التمويلية",
    "Net increase / (decrease) in cash": "صافي الزيادة / (النقص) في النقد",
    "Cash and bank at the beginning of the period": "النقد والبنوك في بداية الفترة",
    "Effect of exchange rate changes on cash": "أثر تغير أسعار الصرف على النقد",
    "Cash and bank at the end of the period": "النقد والبنوك في نهاية الفترة",
    "non-cash entries (no cash and no profit or loss, e.g. opening balances or assets bought on credit) are left out, as IAS 7 requires.":
        "قيود غير نقدية (بلا نقد ولا أرباح أو خسائر، مثل الأرصدة الافتتاحية أو أصول مشتراة بالآجل) مستبعدة وفقاً لمعيار IAS 7.",
    "Code Editor": "محرر الأكواد", "Code History": "سجل تعديلات الأكواد", "Find in files": "بحث في الملفات",
    "Find in all files": "بحث في كل الملفات", "Check everything": "فحص الكل", "Apply & restart": "تطبيق وإعادة التشغيل",
    "Save": "حفظ", "Discard changes": "تجاهل التغييرات", "History": "السجل",
    "Fix the application from here. Every save is checked first and the previous version is kept, so any change can be undone.":
        "أصلح النظام من هنا. يُفحص كل حفظ أولاً وتُحفظ النسخة السابقة، لذا يمكن التراجع عن أي تعديل.",
    "Not saved — the file has an error.": "لم يُحفظ — في الملف خطأ.",
    "Saved. Python changes take effect after “Apply & restart”.": "تم الحفظ. تعديلات بايثون تسري بعد «تطبيق وإعادة التشغيل».",
    "Saved. The change is live.": "تم الحفظ. التعديل يعمل الآن.",
    "No changes to save.": "لا توجد تغييرات للحفظ.",
    "Restored.": "تمت الاستعادة.",
    "Restore the version before this change": "استعادة النسخة قبل هذا التعديل",
    "Restarting with the new code…": "إعادة التشغيل بالكود الجديد…",
    "Restart cancelled — the application does not start with the current code. Fix or restore the last change first. The running system was not touched.":
        "أُلغيت إعادة التشغيل — النظام لا يعمل بالكود الحالي. أصلح آخر تعديل أو استعده أولاً. النظام العامل لم يتأثر.",
    "Choose a file on the left": "اختر ملفاً من القائمة",
    "What did you change? (optional)": "ما الذي عدّلته؟ (اختياري)",
    "Recent changes": "آخر التعديلات", "Line": "سطر", "Nothing found.": "لا نتائج.", "Code check": "فحص الكود",
})
AR.update({
    "Previous record": "السجل السابق", "Next record": "السجل التالي", "Save the form": "حفظ النموذج",
    "Find a menu": "البحث في القوائم", "or": "أو", "Next field; on the last line adds a new line": "الحقل التالي؛ في آخر سطر يضيف سطراً جديداً",
    "Close": "إغلاق", "Keyboard shortcuts": "اختصارات لوحة المفاتيح", "Duplicate": "نسخ",
    "New draft with the same lines": "مسودة جديدة بنفس الأسطر", "Copy of": "نسخة من", "Check it and save.": "راجعها ثم احفظ.",
    "This entry is generated from a document; duplicate the document instead.": "هذا القيد صادر من مستند؛ انسخ المستند بدلاً منه.",
})
AR.update({
    "Vendor invoice no.": "رقم فاتورة المورد", "Vendor credit note no.": "رقم إشعار الدائن من المورد",
    "Customer reference": "مرجع العميل", "Customer PO / reference": "أمر شراء العميل / المرجع",
    "Number printed on the vendor’s document": "الرقم المطبوع على مستند المورد",
    "The same vendor number cannot be booked twice for this vendor.": "لا يمكن تسجيل نفس رقم المورد مرتين لنفس المورد.",
    "is already booked for this vendor": "مسجل مسبقاً لهذا المورد",
    "The same vendor invoice cannot be entered twice.": "لا يمكن إدخال نفس فاتورة المورد مرتين.",
    "Enter the": "أدخل",
    "Vendor invoice number required on vendor bills and refunds": "رقم فاتورة المورد إلزامي في فواتير ومرتجعات الموردين",
    "A bill cannot be posted without the number printed on the vendor’s invoice. The same number is never accepted twice for one vendor, with or without this option.":
        "لا يمكن ترحيل فاتورة مورد بدون الرقم المطبوع على فاتورته. ولا يُقبل نفس الرقم مرتين لنفس المورد في كل الأحوال.",
    "Cheque number": "رقم الشيك", "is already registered": "مسجل مسبقاً",
    "Receipt number": "رقم الإيصال", "appears twice in this voucher.": "مكرر في هذا السند.",
    "from this payee is already paid in": "من هذا المستفيد مدفوع مسبقاً في",
    "Any field": "كل الحقول", "Search": "بحث", "search for": "عن", "Remove": "إزالة",
    "Notes": "ملاحظات", "Amount": "المبلغ", "Department": "القسم", "Purchase requisition": "طلب الشراء",
    "Invoice / bill": "الفاتورة", "Line label": "وصف السطر", "Source document": "المستند المصدر",
})
AR.update({
    "was already issued in": "صدر مسبقاً في",
    "An issued number cannot move to another branch, journal or year. Keep the branch, journal and year, or cancel this document and use Duplicate to create it in the right branch.":
        "لا يمكن نقل رقم صادر إلى فرع أو دفتر أو سنة أخرى. أبقِ الفرع والدفتر والسنة، أو ألغِ المستند واستخدم «نسخ» لإنشائه في الفرع الصحيح.",
    "Notes & history": "الملاحظات والسجل", "Log note": "تسجيل ملاحظة",
    "Write an internal note (not sent to the customer or vendor)…": "اكتب ملاحظة داخلية (لا تُرسل للعميل أو المورد)…",
    "System": "النظام", "Created": "أُنشئ", "Saved": "حُفظ", "Posted": "مرحّل", "Reset to draft": "أُعيد إلى مسودة",
    "File attached": "أُرفق ملف", "File removed": "حُذف ملف", 
    "Submitted for approval": "أُرسل للاعتماد", "Confirmed": "مؤكد", "Emailed": "أُرسل بالبريد", "Renumbered": "أُعيد ترقيمه",
    "Validated": "تم التحقق", "Approved (override)": "اعتُمد (تجاوز)",
    "Group by": "تجميع حسب", "month": "الشهر", "Favorites": "المفضلة", "No saved searches yet.": "لا توجد عمليات بحث محفوظة.",
    "Name this search": "سمِّ هذا البحث", "Save current search": "حفظ البحث الحالي", "Search saved in Favorites.": "حُفظ البحث في المفضلة.",
    "Give the search a name.": "أعطِ البحث اسماً.", "Export to Excel": "تصدير إلى إكسل", "Export selected": "تصدير المحدد",
    "Select all": "تحديد الكل", "Select": "تحديد", "selected": "محدد", "Clear": "مسح",
    "Post the selected documents?": "ترحيل المستندات المحددة؟", "The export failed.": "فشل التصدير.",
    "Download PDFs": "تنزيل ملفات PDF", "Email to partners": "إرسال للعملاء/الموردين بالبريد",
    "Tick at least one row.": "حدد صفاً واحداً على الأقل.", "Only posted documents have a PDF.": "ملفات PDF للمستندات المرحّلة فقط.",
    "The partner has no email address.": "لا يوجد بريد إلكتروني للطرف.", "documents": "مستندات", 
    "emailed": "أُرسلت", "more": "أخرى", "entries posted.": "قيود رُحّلت.", "Tick at least one draft entry.": "حدد قيد مسودة واحداً على الأقل.",
    "Exported": "صُدّر في",
})
AR.update({"is ready in": "جاهز في", "Validate it when the goods move.": "اعتمده عند حركة البضاعة فعلياً."})
AR.update({
    "Only the software provider can do this.": "هذا الإجراء لمزوّد البرنامج فقط.",
    "Only the system administrator (IT) can manage users.": "إدارة المستخدمين لمسؤول النظام (تقنية المعلومات) فقط.",
    "Only the software provider can do this. Ask them to give you access.": "هذا الإجراء لمزوّد البرنامج فقط. اطلب منه منحك الصلاحية.",
    "This needs the system administrator.": "يتطلب هذا مسؤول النظام.",
    "Change modules and type of business": "تغيير الوحدات ونوع النشاط", "Add branches": "إضافة فروع", "Backups": "النسخ الاحتياطية",
    "Provider Access": "صلاحيات المزوّد",
    "Only you, the software provider, see this page. Your login is hidden from the customer and does not count as a licensed user.":
        "هذه الصفحة لك فقط كمزوّد للبرنامج. حسابك مخفي عن العميل ولا يُحتسب ضمن المستخدمين المرخّصين.",
    "What the customer’s system administrator (IT) may do": "ما يُسمح لمسؤول النظام لدى العميل (تقنية المعلومات)",
    "They always manage users (admin, accountant, viewer). They can never make another system administrator, see your login, or use the Code Editor.":
        "يدير المستخدمين دائماً (مدير، محاسب، مشاهد). ولا يمكنه إنشاء مسؤول نظام آخر أو رؤية حسابك أو استخدام محرر الأكواد.",
    "Level": "المستوى", "Software provider (prime)": "مزوّد البرنامج (رئيسي)", "System administrator (IT)": "مسؤول النظام (تقنية المعلومات)",
    "Normal user (by role)": "مستخدم عادي (حسب الدور)",
    "A system administrator manages users and gets the extra rights you allow in Provider Access.":
        "يدير مسؤول النظام المستخدمين ويحصل على الصلاحيات الإضافية التي تسمح بها في صلاحيات المزوّد.",
    "A system administrator is made from Users → open the user → Level. A provider login is made only on the server":
        "يُعيَّن مسؤول النظام من المستخدمين ← فتح المستخدم ← المستوى. حساب المزوّد يُنشأ من الخادم فقط",
    "Only the software provider can change another system administrator.": "تعديل مسؤول نظام آخر لمزوّد البرنامج فقط.",
    "You cannot deactivate your own login.": "لا يمكنك إيقاف حسابك.",
    "Only the software provider can add branches. Ask them to give you access.": "إضافة الفروع لمزوّد البرنامج فقط. اطلب منه منحك الصلاحية.",
    "Modules and the type of business are managed by your software provider.": "الوحدات ونوع النشاط يديرها مزوّد البرنامج.",
})
AR.update({
    # trading tools: overviews, gross margin, reorder, batches, write-offs, labels, cash forecast, supplier performance
    "Overview": "نظرة عامة", "Sales Overview": "نظرة عامة على المبيعات", "Purchases Overview": "نظرة عامة على المشتريات",
    "Inventory Overview": "نظرة عامة على المخزون", "Sales this month": "مبيعات هذا الشهر", "Sales (YTD)": "المبيعات (منذ بداية السنة)",
    "Gross Margin (YTD)": "مجمل الربح (منذ بداية السنة)", "Purchases this month": "مشتريات هذا الشهر",
    "Purchases (YTD)": "المشتريات (منذ بداية السنة)", "Vendor bills less refunds": "فواتير الموردين ناقص المرتجعات",
    "Due in the next 7 days": "مستحق خلال 7 أيام", "This month": "هذا الشهر", "vs last month": "مقارنة بالشهر السابق",
    "Excluding VAT": "بدون ضريبة القيمة المضافة", "of sales": "من المبيعات", "overdue": "متأخر", "bills": "فواتير",
    "Open quotations": "عروض أسعار مفتوحة", "Orders to invoice": "أوامر بانتظار الفوترة",
    "By product, customer, month": "حسب الصنف والعميل والشهر", "Sales and gross margin": "المبيعات ومجمل الربح",
    "Top customers (YTD)": "أهم العملاء (منذ بداية السنة)", "Top products (YTD)": "أهم الأصناف (منذ بداية السنة)",
    "Top vendors (YTD)": "أهم الموردين (منذ بداية السنة)", "Purchases by month": "المشتريات حسب الشهر",
    "Sales": "المبيعات", "Purchases": "المشتريات", "Can we pay on time?": "هل نستطيع السداد في الموعد؟",
    "last 12 months": "آخر 12 شهراً", "Stock value": "قيمة المخزون", "stock products": "أصناف مخزنية",
    "To reorder": "لإعادة الطلب", "products below their reorder point": "أصناف وصلت حد إعادة الطلب",
    "Expiring within 30 days": "تنتهي خلال 30 يوماً", "Expiring within 90 days": "تنتهي خلال 90 يوماً",
    "already expired": "منتهية الصلاحية", "batches": "دفعات", "Write-offs (YTD)": "الشطب (منذ بداية السنة)",
    "Damaged, expired and lost": "التالف ومنتهي الصلاحية والمفقود", "Slow-moving stock": "مخزون بطيء الحركة",
    "products not sold in 90 days": "أصناف لم تُبع خلال 90 يوماً", "Stock value by category": "قيمة المخزون حسب الفئة",
    "Highest stock value": "الأعلى قيمة في المخزون", "at average cost": "بالتكلفة المتوسطة", "Without category": "بدون فئة",
    "Gross Margin": "مجمل الربح", "Margin %": "نسبة الربح %", "Cost of Goods Sold": "تكلفة البضاعة المباعة",
    "By category": "حسب الفئة", "Category": "الفئة",
    "Sales less the cost of the goods sold, at average cost when the goods left the warehouse":
        "المبيعات ناقص تكلفة البضاعة المباعة بالتكلفة المتوسطة وقت خروجها من المستودع",
    "Revenue: invoice lines on revenue accounts, less credit notes, plus closed POS sessions, without VAT. Cost: goods delivered or sold at POS less goods returned by customers. Services carry no cost of goods. Price differences on vendor bills and landed costs booked later to COGS are not included here; see the Profit & Loss for the full cost of sales.":
        "الإيراد: بنود الفواتير على حسابات الإيرادات ناقص الإشعارات الدائنة، مضافاً إليها جلسات نقاط البيع المغلقة، بدون ضريبة. التكلفة: البضاعة المسلّمة أو المباعة في نقاط البيع ناقص مرتجعات العملاء. الخدمات بلا تكلفة بضاعة. فروقات أسعار فواتير الموردين وتكاليف الشحن المحمّلة لاحقاً على التكلفة غير مشمولة هنا؛ راجع قائمة الدخل لتكلفة المبيعات الكاملة.",
    "13-Week Cash Forecast": "توقعات النقدية لـ 13 أسبوعاً",
    "Bank and cash today, plus what is already known to come in and go out, week by week":
        "رصيد البنك والصندوق اليوم، مع ما هو معروف من مقبوضات ومدفوعات أسبوعاً بأسبوع",
    "Include confirmed orders not yet invoiced": "تضمين الأوامر المؤكدة غير المفوترة", "Bank and Cash today": "البنك والصندوق اليوم",
    "Cash in, 13 weeks": "المقبوضات خلال 13 أسبوعاً", "Cash out, 13 weeks": "المدفوعات خلال 13 أسبوعاً",
    "of it is overdue (shown in week 1)": "منها متأخر (يظهر في الأسبوع الأول)", "Lowest balance": "أدنى رصيد",
    "Cash runs short — arrange funding or delay payments.": "ستنقص النقدية — رتّب تمويلاً أو أجّل مدفوعات.",
    "Cash stays positive.": "تبقى النقدية موجبة.", "Closing cash by week": "رصيد النقدية الختامي أسبوعياً",
    "Week of": "أسبوع", "Opening cash": "النقدية الافتتاحية", "Cash in": "المقبوضات", "Cash out": "المدفوعات",
    "Total cash in": "إجمالي المقبوضات", "Total cash out": "إجمالي المدفوعات", "Net cash flow": "صافي التدفق النقدي",
    "Closing cash": "النقدية الختامية", "Customer invoices": "فواتير العملاء", "Post-dated cheques received": "شيكات آجلة مستلمة",
    "Recurring invoices": "فواتير متكررة", "Sales orders not yet invoiced": "أوامر بيع غير مفوترة", "Vendor refunds": "مرتجعات الموردين",
    "Vendor bills": "فواتير الموردين", "Post-dated cheques issued": "شيكات آجلة صادرة", "Recurring bills": "فواتير موردين متكررة",
    "Purchase orders not yet billed": "أوامر شراء لم تصل فواتيرها", "Salaries (last payroll repeated)": "الرواتب (تكرار آخر مسير)",
    "Credit notes to refund": "إشعارات دائنة واجبة الرد",
    "Overdue invoices and bills are shown in the first week. Orders not yet invoiced are placed at their expected date plus the partner’s payment terms. Salaries repeat the last posted payroll at each month end. Nothing here is posted to the books.":
        "الفواتير المتأخرة تظهر في الأسبوع الأول. الأوامر غير المفوترة توضع في تاريخها المتوقع مضافاً إليه مدة السداد للطرف. الرواتب تكرر آخر مسير مرحّل في نهاية كل شهر. لا يُرحّل شيء من هذا إلى الدفاتر.",
    "Supplier Performance": "أداء الموردين", "On time": "في الموعد", "Fill rate": "نسبة التوريد", "Lead days": "أيام التوريد",
    "Returns": "المرتجعات", "Price vs PO": "السعر مقابل أمر الشراء", "Score": "التقييم",
    "No confirmed purchase orders in this period.": "لا توجد أوامر شراء مؤكدة في هذه الفترة.",
    "Confirmed purchase orders dated in the period, with their receipts, bills and returns":
        "أوامر الشراء المؤكدة في الفترة مع استلاماتها وفواتيرها ومرتجعاتها",
    "receipts done on or before the expected date of the order.": "الاستلامات المنجزة في التاريخ المتوقع للأمر أو قبله.",
    "quantity received against quantity ordered, for orders already due.": "الكمية المستلمة مقابل المطلوبة للأوامر المستحقة.",
    "average days from order to receipt.": "متوسط الأيام من الطلب حتى الاستلام.",
    "value returned to the vendor against value received.": "قيمة المرتجع للمورد مقابل قيمة المستلم.",
    "billed price against ordered price; a plus means the vendor billed more than agreed.":
        "سعر الفاتورة مقابل سعر الأمر؛ الموجب يعني أن المورد فوتر أكثر من المتفق عليه.",
    "40% on time, 30% fill rate, 15% returns, 15% price, out of 100.": "40% الالتزام بالموعد، 30% نسبة التوريد، 15% المرتجعات، 15% السعر، من 100.",
    "Reorder Suggestions": "اقتراحات إعادة الطلب", "Reorder point": "حد إعادة الطلب", "Per day": "يومياً",
    "Days of cover": "أيام التغطية", "On draft POs": "في أوامر شراء مسودة", "Order": "اطلب", "Last price": "آخر سعر",
    "Lead": "مدة التوريد", "Show all stock products": "عرض كل الأصناف المخزنية",
    "Average units out per day over the last": "متوسط الوحدات المنصرفة يومياً خلال آخر",
    "Create Draft Purchase Orders": "إنشاء أوامر شراء مسودة", "Draft purchase orders created": "أوامر شراء مسودة أُنشئت",
    "From reorder suggestions": "من اقتراحات إعادة الطلب", "Choose a vendor for every line.": "اختر مورداً لكل بند.",
    "Nothing to order.": "لا يوجد ما يُطلب.",
    "Products whose forecast stock is at or below the reorder point. Tick the lines to order and create draft purchase orders, one per vendor.":
        "الأصناف التي وصل رصيدها المتوقع إلى حد إعادة الطلب أو أقل. حدد البنود وأنشئ أوامر شراء مسودة، أمراً لكل مورد.",
    "Nothing to reorder. Set a reorder level on products, or wait for sales history.":
        "لا يوجد ما يُعاد طلبه. حدد حد إعادة الطلب للأصناف أو انتظر وجود سجل مبيعات.",
    "Reorder point = the larger of the product’s reorder level and the units expected to go out during the lead time. The suggested quantity brings stock up to “Reorder up to” on the product, else to the reorder point plus":
        "حد إعادة الطلب = الأكبر بين حد الصنف والوحدات المتوقع صرفها خلال مدة التوريد. الكمية المقترحة ترفع الرصيد إلى «الحد الأعلى للطلب» في الصنف، وإلا إلى حد إعادة الطلب مضافاً إليه",
    "days of sales. Forecast already counts open receipts and deliveries; quantities on draft purchase orders are subtracted too.":
        "يوماً من المبيعات. الرصيد المتوقع يشمل الاستلامات والتسليمات المفتوحة، وتُخصم كميات أوامر الشراء المسودة أيضاً.",
    "Reorder Up To": "الحد الأعلى للطلب", "Lead Time (days)": "مدة التوريد (أيام)",
    "Reorder when forecast stock falls to this quantity.": "أعد الطلب عندما ينخفض الرصيد المتوقع إلى هذه الكمية.",
    "Reorder suggestions bring stock back up to this quantity. Empty = 30 days of sales.":
        "اقتراحات إعادة الطلب ترفع الرصيد إلى هذه الكمية. فارغ = مبيعات 30 يوماً.",
    "Days from ordering to receiving. Empty = the vendor's average, else 7.": "الأيام من الطلب حتى الاستلام. فارغ = متوسط المورد، وإلا 7.",
    "Batch / Expiry Tracking": "تتبع الدفعة / الصلاحية", "No batch tracking": "بدون تتبع دفعات",
    "Batch number and expiry date": "رقم الدفعة وتاريخ الانتهاء", "Shelf Life (days)": "مدة الصلاحية (أيام)",
    "Batch: every receipt records a batch number and expiry date; deliveries take the earliest-expiring batch first.":
        "الدفعة: كل استلام يسجل رقم دفعة وتاريخ انتهاء؛ والتسليم يأخذ الأقرب انتهاءً أولاً.",
    "Fills in the expiry date on receipts (receipt date + shelf life).": "يملأ تاريخ الانتهاء في الاستلام (تاريخ الاستلام + مدة الصلاحية).",
    "Batch": "الدفعة", "Batch number": "رقم الدفعة", "Exp.": "تنتهي", "Batches & Expiry": "الدفعات والصلاحية",
    "Batches are chosen automatically, earliest expiry first.": "تُختار الدفعات تلقائياً، الأقرب انتهاءً أولاً.",
    "Batches in stock, earliest expiry first. Deliveries take the earliest-expiring batch automatically.":
        "الدفعات في المخزون، الأقرب انتهاءً أولاً. التسليم يأخذ الأقرب انتهاءً تلقائياً.",
    "Batch or product…": "الدفعة أو الصنف…", "All in stock": "كل ما في المخزون",
    "Batches expired or expiring within 30 days": "دفعات منتهية أو تنتهي خلال 30 يوماً",
    "No batches. Mark a product “Batch / expiry” and enter the batch on its receipts.":
        "لا توجد دفعات. فعّل «تتبع الدفعة / الصلاحية» للصنف وأدخل الدفعة عند الاستلام.",
    "days ago": "يوماً مضت", "days left": "يوماً متبقية", "Customers who received this batch": "العملاء الذين استلموا هذه الدفعة",
    "For a product recall": "لاستدعاء المنتج", "Movements": "الحركات", "Enter the batch number for": "أدخل رقم الدفعة للصنف",
    "Enter the batch number.": "أدخل رقم الدفعة.", "already exists with expiry": "موجودة مسبقاً بتاريخ انتهاء",
    "The batch does not belong to this product.": "الدفعة لا تخص هذا الصنف.",
    "Write Off Stock": "شطب مخزون", "Write Off": "شطب", "Write-offs": "عمليات الشطب", "Write-off": "شطب",
    "Damaged": "تالف", "Lost / missing": "مفقود", "Free sample": "عينة مجانية", "Other": "أخرى",
    "Damaged, expired or lost goods leave stock at average cost: Dr Inventory Write-offs, Cr Inventory.":
        "البضاعة التالفة أو المنتهية أو المفقودة تخرج بالتكلفة المتوسطة: مدين شطب المخزون، دائن المخزون.",
    "Earliest expiry first": "الأقرب انتهاءً أولاً", "e.g. Carton crushed in unloading": "مثال: كرتون تالف أثناء التفريغ",
    "Stock written off.": "تم شطب المخزون.", "Choose a reason.": "اختر السبب.",
    "Only stock products can be written off.": "يمكن شطب الأصناف المخزنية فقط.",
    "The quantity must be greater than zero.": "يجب أن تكون الكمية أكبر من صفر.",
    "Inventory write-off account": "حساب شطب المخزون",
    "Debited when damaged, expired or lost goods are written off.": "يُحمّل عند شطب البضاعة التالفة أو المنتهية أو المفقودة.",
    "Set the inventory write-off account in Company settings.": "حدد حساب شطب المخزون في إعدادات الشركة.",
    "Print Labels": "طباعة الملصقات", "Labels": "الملصقات", "Preview": "معاينة", "Show price": "إظهار السعر",
    "Barcode labels for shelves and goods. Scan them at the POS or when counting stock.":
        "ملصقات باركود للأرفف والبضاعة. امسحها في نقاط البيع أو عند جرد المخزون.",
    "Create missing barcodes": "إنشاء الباركود الناقص",
    "Gives every product without a barcode an in-store number starting with 2": "يعطي كل صنف بلا باركود رقماً داخلياً يبدأ بـ 2",
    "Barcodes created": "باركودات أُنشئت", "One label for each unit received.": "ملصق لكل وحدة مستلمة.",
    "Choose products instead": "اختيار أصناف بدلاً من ذلك", "A4 sheet, 3 × 8 labels": "ورقة A4، ‏3 × 8 ملصقات",
    "Label printer, 50 × 30 mm": "طابعة ملصقات، 50 × 30 مم", "no barcode": "بلا باركود",
    "Saved. Menus and forms now show only the modules in use.": "تم الحفظ. القوائم والنماذج تعرض الآن الوحدات المستخدمة فقط.",
})
AR.update({
    "Revenue in the ledger not on invoice lines or POS": "إيرادات في الدفاتر ليست على بنود فواتير أو نقاط بيع",
    "Cost of revenue in the ledger not from goods movements": "تكلفة إيرادات في الدفاتر ليست من حركات البضاعة",
    "Gross profit as in the Profit & Loss": "مجمل الربح كما في قائمة الدخل",
    "Reconciliation to the Profit & Loss": "المطابقة مع قائمة الدخل",
    "Margin on goods and services sold (above)": "ربح البضاعة والخدمات المباعة (أعلاه)",
    "Vendor bills booked straight to cost of sales, price differences, landed costs, stock adjustments and write-offs": "فواتير موردين مسجلة مباشرة على تكلفة المبيعات، فروقات الأسعار، تكاليف الشحن، تسويات المخزون والشطب",
    "Gross Profit (YTD)": "مجمل الربح (منذ بداية السنة)",
    "as in the Profit & Loss": "كما في قائمة الدخل",
    "Revenue and gross profit": "الإيرادات ومجمل الربح",
    "Revenue this month": "إيرادات هذا الشهر",
    "Cost of revenue": "تكلفة الإيرادات",
})
AR.update({
    "Archived": "مؤرشف",
    "Archive": "أرشفة",
    "Restore": "استعادة",
    "Restored": "تمت الاستعادة",
    "Columns": "الأعمدة",
    "Show all": "إظهار الكل",
    "Recently viewed": "شوهد مؤخراً",
    "Records you open will appear here.": "السجلات التي تفتحها ستظهر هنا.",
    "Archive this record? It is hidden from lists and choices but keeps its history.": "أرشفة هذا السجل؟ سيُخفى من القوائم والاختيارات مع الاحتفاظ بسجله.",
    "This product still has stock. Move or write off the stock before archiving it.": "لا يزال لهذا الصنف رصيد. انقل الرصيد أو اشطبه قبل الأرشفة.",
    "This warehouse still holds stock. Transfer it out before archiving.": "لا يزال في هذا المستودع مخزون. انقله قبل الأرشفة.",
})
