Files
TREK/shared/src/i18n/ar/budget.ts
T
Maurice cfdbfb49c0 fix(costs): expenses and payments saved offline wait in the queue and sync once the connection is back
Every Costs write went straight to the API, so offline an expense failed with
"Unknown error" and was lost. Expenses (add, edit, delete, split, paid tick,
reorder) now go through budgetRepo and the mutation queue like places and
packing items: a temporary row offline, held behind an older queued write
online. The replay reads the expense from `item` only, so the split answer
({ members, item }) keeps the local payers and the paid answer ({ member })
never lands in the expense table. An expense linked to a place or booking
created offline is sent with the real id once that one has synced.

Payments are queued without a local row and a hint says they show once
sent; the ledger reads the balances again when the queue is through, and
offline it shows the last balances it read (new Dexie table, v10). Receipts
need an upload, so an offline save with new ones is stopped with a hint.

Refs #2601
2026-10-12 18:14:30 +02:00

253 lines
14 KiB
TypeScript

import type { TranslationStrings } from '../types';
const budget: TranslationStrings = {
'costs.confirm.deleteTitle': 'حذف المصروف؟',
'costs.confirm.deleteBody': 'سيتم حذف "{name}" نهائيًا.',
'budget.title': 'الميزانية',
'budget.exportCsv': 'تصدير CSV',
'budget.emptyTitle': 'لم يتم إنشاء ميزانية بعد',
'budget.emptyText': 'أنشئ فئات وإدخالات لتخطيط ميزانية سفرك',
'budget.emptyPlaceholder': 'أدخل اسم الفئة...',
'budget.createCategory': 'إنشاء فئة',
'budget.category': 'الفئة',
'budget.categoryName': 'اسم الفئة',
'budget.addCategory': 'إضافة فئة',
'budget.table.name': 'الاسم',
'budget.table.total': 'الإجمالي',
'budget.table.persons': 'الأشخاص',
'budget.table.days': 'الأيام',
'budget.table.perPerson': 'لكل شخص',
'budget.table.perDay': 'لكل يوم',
'budget.table.perPersonDay': 'لكل شخص / يوم',
'budget.table.note': 'ملاحظة',
'budget.table.date': 'التاريخ',
'budget.newEntry': 'إدخال جديد',
'budget.defaultEntry': 'إدخال جديد',
'budget.defaultCategory': 'فئة جديدة',
'budget.total': 'الإجمالي',
'budget.totalBudget': 'إجمالي الميزانية',
'budget.byCategory': 'حسب الفئة',
'budget.editTooltip': 'انقر للتعديل',
'budget.linkedToReservation': 'مرتبط بحجز — عدّل الاسم هناك',
'budget.confirm.deleteCategory': 'هل تريد حذف الفئة "{name}" مع {count} إدخال؟',
'budget.confirm.deleteCategory.zero': 'هل تريد حذف الفئة "{name}" الفارغة؟',
'budget.confirm.deleteCategory.one': 'هل تريد حذف الفئة "{name}" مع إدخال واحد؟',
'budget.confirm.deleteCategory.two': 'هل تريد حذف الفئة "{name}" مع إدخالين؟',
'budget.confirm.deleteCategory.few': 'هل تريد حذف الفئة "{name}" مع {count} إدخالات؟',
'budget.confirm.deleteCategory.many': 'هل تريد حذف الفئة "{name}" مع {count} إدخالًا؟',
'budget.deleteCategory': 'حذف الفئة',
'budget.perPerson': 'لكل شخص',
'budget.paid': 'مدفوع',
'budget.open': 'مفتوح',
'budget.noMembers': 'لا أعضاء معينون',
'budget.settlement': 'التسوية',
'budget.settlementInfo':
'انقر على صورة العضو في بند الميزانية لتحديده باللون الأخضر — وهذا يعني أنه دفع. ثم تُظهر التسوية من يدين لمن وبكم.',
'budget.netBalances': 'الأرصدة الصافية',
'budget.categoriesLabel': 'فئات',
'costs.you': 'أنت',
'costs.youShort': 'أنت',
'costs.youLower': 'أنت',
'costs.youOwe': 'عليك',
'costs.youOweSub': 'عليك أن تدفع للآخرين',
'costs.youreOwed': 'لك',
'costs.youreOwedSub': 'على الآخرين أن يدفعوا لك',
'costs.totalSpend': 'إجمالي إنفاق الرحلة',
'costs.totalSpendSub': 'عبر جميع المسافرين',
'costs.to': 'إلى',
'costs.from': 'من',
'costs.allSettled': 'لقد سوّيت كل حساباتك',
'costs.nothingOwed': 'لا شيء مستحق لك',
'costs.yourShare': 'حصتك',
'costs.youPaid': 'أنت دفعت',
'costs.outstanding': 'مبلغ غير مسدَّد',
'costs.outstandingSub': 'مصاريف بلا دافع بعد',
'costs.outstandingItems': 'مصاريف بحاجة إلى دافع',
'costs.outstandingItems.zero': 'مصاريف بحاجة إلى دافع',
'costs.outstandingItems.one': 'مصروف بحاجة إلى دافع',
'costs.outstandingItems.two': 'مصروفان بحاجة إلى دافع',
'costs.outstandingItems.few': 'مصروفات بحاجة إلى دافع',
'costs.outstandingItems.many': 'مصروفًا بحاجة إلى دافع',
'costs.expenses': 'المصروفات',
'costs.entries': '{count} إدخال',
'costs.entries.zero': 'لا توجد إدخالات',
'costs.entries.one': 'إدخال واحد',
'costs.entries.two': 'إدخالان',
'costs.entries.few': '{count} إدخالات',
'costs.entries.many': '{count} إدخالًا',
'costs.searchPlaceholder': 'ابحث في المصروفات…',
'costs.filter.all': 'الكل',
'costs.filter.mine': 'دفعتها أنا',
'costs.filter.owed': 'مستحق لي',
'costs.addExpense': 'إضافة مصروف',
'costs.view.label': 'العرض',
'costs.view.list': 'قائمة',
'costs.view.table': 'جدول',
'costs.table.lockedPayer': 'دفعها أحدهم: غيّر المبلغ في المصروف حتى تبقى الأرصدة صحيحة.',
'costs.table.lockedCurrency': 'أُدخلت بعملة {currency}: غيّر المبلغ في المصروف.',
'costs.table.summary': 'ملخص',
'costs.table.byCategory': 'الفئة',
'costs.table.byDate': 'اليوم',
'costs.table.byPayer': 'الدافع',
'costs.table.byStatus': 'الحالة',
'costs.table.noPayer': 'لا يوجد دافع بعد',
'costs.table.paid': 'مدفوع',
'costs.table.open': 'مفتوح',
'costs.editExpense': 'تعديل المصروف',
'costs.noMatch': 'لا توجد مصروفات تطابق بحثك.',
'costs.emptyText': 'لا توجد مصروفات بعد. أضف أول مصروف لك.',
'costs.spent': 'تم إنفاق {amount}',
'costs.noDate': 'بدون تاريخ',
'costs.noOnePaid': 'لم يدفع أحد بعد',
'costs.youLent': 'أقرضت {amount}',
'costs.youBorrowed': 'اقترضت {amount}',
'costs.settleUp': 'تسوية الحساب',
'costs.history': 'السجل',
'costs.everyoneSquare': 'الجميع متعادلون',
'costs.nothingOutstanding': 'لا توجد مدفوعات معلّقة الآن.',
'costs.pay': 'ادفع',
'costs.pays': 'يدفع',
'costs.settle': 'تسوية',
'costs.balances': 'الأرصدة',
'costs.finalBudget': 'الميزانية النهائية',
'costs.finalExpenses': 'المصاريف المدفوعة',
'costs.finalReimbursed': 'صافي المبالغ المستردة',
'costs.finalPending': 'المبالغ المستردة المعلقة',
'costs.byCategory': 'حسب الفئة',
'costs.noCategories': 'لا توجد مصروفات بعد.',
'costs.settleHistory': 'سجل التسويات',
'costs.noSettlements': 'لا توجد مدفوعات مسوّاة بعد.',
'costs.paymentsSettled': 'تمت تسوية {count} دفعة',
'costs.paymentsSettled.zero': 'لم تتم تسوية أي دفعة',
'costs.paymentsSettled.one': 'تمت تسوية دفعة واحدة',
'costs.paymentsSettled.two': 'تمت تسوية دفعتين',
'costs.paymentsSettled.few': 'تمت تسوية {count} دفعات',
'costs.paymentsSettled.many': 'تمت تسوية {count} دفعة',
'costs.paid': 'مدفوع',
'costs.undo': 'تراجع',
'costs.whatFor': 'لأجل ماذا كان؟',
'costs.namePlaceholder': 'مثل: عشاء، هدايا تذكارية، وقود…',
'costs.note': 'ملاحظة',
'costs.notePlaceholder': 'ما الذي شملته، ومن يدين بماذا…',
'costs.paymentNotePlaceholder': 'دُفع نقدًا، بتحويل بنكي…',
'costs.addNote': 'إضافة ملاحظة',
'costs.showNote': 'عرض الملاحظة',
'costs.hideNote': 'إخفاء الملاحظة',
'costs.totalAmount': 'المبلغ الإجمالي',
'costs.currency': 'العملة',
'costs.day': 'اليوم',
'costs.rateLabel': '1 {from} بـ {to}',
'costs.category': 'الفئة',
'costs.whoPaid': 'من دفع؟',
'costs.multiplePayers': 'دفع عدة أشخاص',
'costs.singlePayer': 'دفع شخص واحد',
'costs.payersUnbalanced': 'يجب أن يكون مجموع مبالغ الدافعين {amount}',
'costs.splitBetween': 'تقسيم بالتساوي بين',
'costs.pickSomeone': 'اختر شخصًا واحدًا على الأقل للتقسيم معه.',
'costs.splitSummary': 'تقسيم على {count} شخص · {amount} لكل منهم',
'costs.splitSummary.zero': 'تقسيم على {count} أشخاص · {amount} لكل منهم',
'costs.splitSummary.one': 'شخص واحد · {amount}',
'costs.splitSummary.two': 'تقسيم على شخصين · {amount} لكل منهما',
'costs.splitSummary.few': 'تقسيم على {count} أشخاص · {amount} لكل منهم',
'costs.splitSummary.many': 'تقسيم على {count} شخصًا · {amount} لكل منهم',
'costs.cat.accommodation': 'الإقامة',
'costs.cat.food': 'الطعام والشراب',
'costs.cat.groceries': 'البقالة',
'costs.cat.transport': 'النقل',
'costs.cat.flights': 'الرحلات الجوية',
'costs.cat.activities': 'الأنشطة',
'costs.cat.sightseeing': 'معالم سياحية',
'costs.cat.shopping': 'التسوق',
'costs.cat.fees': 'الرسوم والتذاكر',
'costs.cat.health': 'الصحة',
'costs.cat.tips': 'البقشيش',
'costs.cat.fuel': 'وقود',
'costs.cat.parking': 'موقف سيارات',
'costs.cat.other': 'أخرى',
'costs.daysCount': '{count} يوم',
'costs.daysCount.zero': 'لا توجد أيام',
'costs.daysCount.one': 'يوم واحد',
'costs.daysCount.two': 'يومان',
'costs.daysCount.few': '{count} أيام',
'costs.daysCount.many': '{count} يومًا',
'costs.travelers': '{count} مسافر',
'costs.travelers.zero': 'لا يوجد مسافرون',
'costs.travelers.one': 'مسافر واحد',
'costs.travelers.two': 'مسافران',
'costs.travelers.few': '{count} مسافرين',
'costs.travelers.many': '{count} مسافرًا',
'costs.liveRate': 'سعر مباشر',
'costs.settleAll': 'تسوية الكل',
'costs.payment': 'دفعة',
'costs.editPayment': 'تعديل الدفعة',
'costs.addPayment': 'إضافة دفعة',
'costs.unfinished': 'غير مكتمل',
'costs.unfinishedHint': 'في الإجمالي فقط: لم تتم التسوية بعد',
'costs.tapToInclude': 'اضغط للتضمين',
'costs.amount': 'المبلغ',
'costs.split': 'التقسيم',
'costs.splitChipLabel': '{name}: {amount}',
'costs.splitEqually': 'بالتساوي',
'costs.splitCustom': 'مخصص',
'costs.splitTicket': 'الإيصال',
'costs.perPerson': '{amount} لكل شخص',
'costs.payersHint': 'حدّد من دفع واكتب المبلغ الذي دفعه كل منهم.',
'costs.splitHint.equally': 'يدفع كل من حُدّد الحصة نفسها.',
'costs.splitHint.custom': 'اكتب حصة كل شخص؛ ويجب أن يساوي مجموع الحصص المبلغ الإجمالي.',
'costs.splitHint.percent': 'أدخل حصة كل شخص بالنسبة المئوية؛ يجب أن يكون مجموعها 100 %.',
'costs.splitUnit': 'إدخال الحصص كـ',
'costs.splitPercentOff': 'تم توزيع {sum} % من 100 %',
'costs.splitHint.ticket': 'اكتب ما ورد في الإيصال وحدّد من أخذ كل عنصر.',
'costs.filter.allCategories': 'كل الفئات',
'costs.filter.allDays': 'كل الأيام',
'costs.expensesCount': '{count} مصروف',
'costs.expensesCount.zero': 'لا توجد مصروفات',
'costs.expensesCount.one': 'مصروف واحد',
'costs.expensesCount.two': 'مصروفان',
'costs.expensesCount.few': '{count} مصروفات',
'costs.expensesCount.many': '{count} مصروفًا',
'costs.ticketItemName': 'اسم العنصر',
'costs.ticketSplitting': 'التقسيم:',
'costs.ticketAddItem': 'إضافة عنصر',
'costs.ticketShares': 'حصة كل شخص',
'costs.excluded': 'مستبعد',
'costs.splitBalanced': 'التقسيم يطابق الإجمالي',
'costs.splitSumUnder': 'مجموع الحصص: {sum} من {total} (ناقص {diff})',
'costs.splitSumOver': 'مجموع الحصص: {sum} من {total} (زائد {diff})',
'costs.toggleSign': 'التبديل بين المصروف والاسترداد',
'costs.receipts': 'الإيصالات',
'costs.receipts.zero': 'إيصالات',
'costs.receipts.one': 'إيصال',
'costs.receipts.two': 'إيصالان',
'costs.receipts.few': 'إيصالات',
'costs.receipts.many': 'إيصالات',
'costs.receiptsTitle': 'الإيصالات والفواتير',
'costs.attachReceipt': 'إرفاق إيصال / فاتورة',
'costs.attach': 'إرفاق',
'costs.scan.button': 'مسح إيصال',
'costs.scan.reading': 'جارٍ قراءة الإيصال…',
'costs.scan.review': 'مراجعة المصروف',
'costs.scan.nothingRead': 'تعذّرت قراءة أي إيصال من هذه الصورة.',
'costs.scan.failed': 'تعذّر بدء قراءة الإيصال.',
'costs.scan.title': 'مسح إيصال',
'costs.scan.accepted':
'صورة لإيصال واحد (JPG أو PNG أو WEBP، حتى 10 ميغابايت). يقرأها نموذج الذكاء الاصطناعي في الخلفية، ثم تراجع المصروف قبل حفظه.',
'costs.scan.dropHere': 'أفلت صورة الإيصال هنا، أو انقر لاختيار صورة أو التقاطها',
'costs.scan.dropActive': 'أفلت الصورة لمسحها',
'costs.scan.start': 'مسح',
'costs.scan.unsupported': 'يمكن مسح الصور فقط: JPG أو PNG أو WEBP.',
'costs.noReceipts': 'لا توجد إيصالات مرفقة',
'costs.deleteReceipt': 'حذف الإيصال',
'costs.viewReceipt': 'عرض الإيصال',
'costs.receiptLeftBehind': 'فشل الحفظ، وما زال هناك {count} إيصال مرفوع. احذفها من تبويب الملفات.',
'costs.receiptLeftBehind.zero': 'فشل الحفظ، ولم يبقَ أي إيصال مرفوع.',
'costs.receiptLeftBehind.one': 'فشل الحفظ، وما زال هناك إيصال مرفوع واحد. احذفه من تبويب الملفات.',
'costs.receiptLeftBehind.two': 'فشل الحفظ، وما زال هناك إيصالان مرفوعان. احذفهما من تبويب الملفات.',
'costs.receiptLeftBehind.few': 'فشل الحفظ، وما زال هناك {count} إيصالات مرفوعة. احذفها من تبويب الملفات.',
'costs.receiptLeftBehind.many': 'فشل الحفظ، وما زال هناك {count} إيصالًا مرفوعًا. احذفها من تبويب الملفات.',
'costs.receiptsNeedConnection':
'يحتاج رفع الإيصالات إلى اتصال. أزل الإيصالات الجديدة لحفظ المصروف دون اتصال، أو احفظ عندما تعود متصلاً.',
'costs.paymentQueued': 'أنت غير متصل. تم حفظ الدفعة وستظهر عندما يعود TREK للاتصال.',
};
export default budget;