mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-01 08:53:13 +00:00
60cbd20327
Port the three main-only fixes onto dev's (post-rewrite) architecture:
- fix(backups): prevent recursion when the backup path sits inside the backed-up dir
- fix(share): convert budget items to the viewer's base currency instead of a flat EUR
- fix(files): surface the descriptive server error for unsupported upload types (#1363)
Cherry-picked from 819aa793 on main; the SharedTripPage and useTripPlanner
conflicts were resolved to keep dev's font-scaling and full import set while
taking the fixes' currency conversion and translateApiError wiring.
61 lines
3.0 KiB
TypeScript
61 lines
3.0 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const files: TranslationStrings = {
|
|
'files.title': 'الملفات',
|
|
'files.pageTitle': 'الملفات والمستندات',
|
|
'files.subtitle': '{count} ملف لـ {trip}',
|
|
'files.download': 'تنزيل',
|
|
'files.openError': 'تعذر فتح الملف',
|
|
'files.downloadPdf': 'تنزيل PDF',
|
|
'files.count': '{count} ملفات',
|
|
'files.countSingular': 'ملف واحد',
|
|
'files.uploaded': 'تم رفع {count}',
|
|
'files.uploadError': 'فشل الرفع',
|
|
'files.uploadErrorType': 'نوع الملف هذا غير مدعوم',
|
|
'files.dropzone': 'أسقط الملفات هنا',
|
|
'files.dropzoneHint': 'أو انقر للتصفح',
|
|
'files.allowedTypes': 'صور، PDF، DOC، DOCX، XLS، XLSX، TXT، CSV · حد أقصى 50 ميغابايت',
|
|
'files.uploading': 'جارٍ الرفع...',
|
|
'files.filterAll': 'الكل',
|
|
'files.filterPdf': 'ملفات PDF',
|
|
'files.filterImages': 'الصور',
|
|
'files.filterDocs': 'المستندات',
|
|
'files.filterCollab': 'ملاحظات Collab',
|
|
'files.sourceCollab': 'من ملاحظات Collab',
|
|
'files.empty': 'لا توجد ملفات بعد',
|
|
'files.emptyHint': 'ارفع ملفات لإرفاقها برحلتك',
|
|
'files.openTab': 'فتح في تبويب جديد',
|
|
'files.confirm.delete': 'هل تريد حذف هذا الملف؟',
|
|
'files.toast.deleted': 'تم حذف الملف',
|
|
'files.toast.deleteError': 'فشل حذف الملف',
|
|
'files.sourcePlan': 'خطة اليوم',
|
|
'files.sourceBooking': 'الحجز',
|
|
'files.sourceTransport': 'النقل',
|
|
'files.attach': 'إرفاق',
|
|
'files.pasteHint': 'يمكنك أيضًا لصق الصور من الحافظة (Ctrl+V)',
|
|
'files.trash': 'سلة المهملات',
|
|
'files.trashEmpty': 'سلة المهملات فارغة',
|
|
'files.emptyTrash': 'إفراغ السلة',
|
|
'files.restore': 'استعادة',
|
|
'files.star': 'تمييز',
|
|
'files.unstar': 'إلغاء التمييز',
|
|
'files.assign': 'إسناد',
|
|
'files.assignTitle': 'إسناد ملف',
|
|
'files.assignPlace': 'المكان',
|
|
'files.assignBooking': 'الحجز',
|
|
'files.assignTransport': 'النقل',
|
|
'files.unassigned': 'غير مسند',
|
|
'files.unlink': 'إزالة الرابط',
|
|
'files.toast.trashed': 'تم النقل إلى سلة المهملات',
|
|
'files.toast.restored': 'تمت استعادة الملف',
|
|
'files.toast.trashEmptied': 'تم إفراغ سلة المهملات',
|
|
'files.toast.assigned': 'تم إسناد الملف',
|
|
'files.toast.assignError': 'فشل الإسناد',
|
|
'files.toast.restoreError': 'فشلت الاستعادة',
|
|
'files.confirm.permanentDelete': 'حذف هذا الملف نهائيًا؟ لا يمكن التراجع عن ذلك.',
|
|
'files.confirm.emptyTrash': 'حذف جميع ملفات سلة المهملات نهائيًا؟ لا يمكن التراجع عن ذلك.',
|
|
'files.noteLabel': 'ملاحظة',
|
|
'files.notePlaceholder': 'أضف ملاحظة...',
|
|
};
|
|
export default files;
|