mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-02 17:26:24 +00:00
97c725ea14
PDF, ICS and GPX each had their own button in the day-plan toolbar, and two of them carried a hover menu of their own. That is five controls' worth of width in a pane the user can drag narrower, so the exports were the first thing pushed off the edge, and a hover menu is not reachable at all once its button is gone. One button opens a dialog instead: the day plan as a PDF, the bookings as a calendar (a one-off .ics or a live subscription) and the map data as GPX in the three scopes a device wants. Every row reports that it is working, which the PDF export needed most: it fetches a 226 kB builder before it renders anything, and until now the toolbar button simply sat there. Two strings the old ICS menu had hardcoded in English, the download and the subscription, come from the locale files the phone export sheet already used. The toolbar no longer needs the icsHover flag it only held to keep its menu open, so that comes out of the sidebar's state as well.
92 lines
5.1 KiB
TypeScript
92 lines
5.1 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const dayplan: TranslationStrings = {
|
|
'dayplan.icsTooltip': 'تصدير التقويم (ICS)',
|
|
'dayplan.emptyDay': 'لا توجد أماكن مخططة لهذا اليوم',
|
|
'dayplan.cannotReorderTransport': 'لا يمكن إعادة ترتيب الحجوزات ذات الوقت الثابت',
|
|
'dayplan.confirmRemoveTimeTitle': 'إزالة الوقت؟',
|
|
'dayplan.confirmRemoveTimeBody': 'هذا المكان له وقت ثابت ({time}). نقله سيزيل الوقت ويسمح بالترتيب الحر.',
|
|
'dayplan.confirmRemoveTimeAction': 'إزالة الوقت ونقل',
|
|
'dayplan.confirmDeleteNoteTitle': 'حذف الملاحظة؟',
|
|
'dayplan.confirmDeleteNoteBody': 'سيتم حذف هذه الملاحظة نهائيًا.',
|
|
'dayplan.cannotDropOnTimed': 'لا يمكن وضع العناصر بين الإدخالات المرتبطة بوقت',
|
|
'dayplan.cannotBreakChronology': 'سيؤدي هذا إلى كسر الترتيب الزمني للعناصر والحجوزات المجدولة',
|
|
'dayplan.addNote': 'إضافة ملاحظة',
|
|
'dayplan.editNote': 'تعديل الملاحظة',
|
|
'dayplan.noteAdd': 'إضافة ملاحظة',
|
|
'dayplan.noteEdit': 'تعديل الملاحظة',
|
|
'dayplan.noteDelete': 'حذف الملاحظة',
|
|
'dayplan.noteTitle': 'ملاحظة',
|
|
'dayplan.noteSubtitle': 'ملاحظة يومية',
|
|
'dayplan.noteIcon': 'أيقونة',
|
|
'notes.appearance': 'المظهر',
|
|
'notes.preview': 'معاينة',
|
|
'notes.bodyPlaceholder': 'تفاصيل وروابط وتذكيرات…',
|
|
'notes.markdownHint': 'يدعم Markdown',
|
|
'notes.format.toolbar': 'التنسيق',
|
|
'notes.format.bold': 'غامق',
|
|
'notes.format.italic': 'مائل',
|
|
'notes.format.strike': 'يتوسطه خط',
|
|
'notes.format.code': 'كود',
|
|
'notes.format.link': 'رابط',
|
|
'notes.format.list': 'قائمة نقطية',
|
|
'notes.format.orderedList': 'قائمة مرقمة',
|
|
'notes.format.quote': 'اقتباس',
|
|
'notes.color.label': 'اللون',
|
|
'notes.color.none': 'بلا لون',
|
|
'notes.color.red': 'أحمر',
|
|
'notes.color.orange': 'برتقالي',
|
|
'notes.color.amber': 'كهرماني',
|
|
'notes.color.green': 'أخضر',
|
|
'notes.color.cyan': 'سماوي',
|
|
'notes.color.blue': 'أزرق',
|
|
'notes.color.purple': 'بنفسجي',
|
|
'dayplan.totalCost': 'إجمالي التكلفة',
|
|
'dayplan.days': 'الأيام',
|
|
'dayplan.dayN': 'اليوم {n}',
|
|
'dayplan.calculating': 'جارٍ الحساب...',
|
|
'dayplan.route': 'المسار',
|
|
'dayplan.optimize': 'تحسين',
|
|
'dayplan.transportMode.change': 'تغيير وسيلة النقل',
|
|
'dayplan.transportMode.useDefault': 'استخدام إعداد اليوم الافتراضي',
|
|
'dayplan.optimized': 'تم تحسين المسار',
|
|
'dayplan.routeError': 'فشل حساب المسار',
|
|
'dayplan.toast.needTwoPlaces': 'يلزم مكانان على الأقل لتحسين المسار',
|
|
'dayplan.toast.routeOptimized': 'تم تحسين المسار',
|
|
'dayplan.toast.routeOptimizedFromHotel': 'تم تحسين المسار انطلاقًا من مكان إقامتك',
|
|
'dayplan.toast.noGeoPlaces': 'لم يتم العثور على أماكن بإحداثيات لحساب المسار',
|
|
'dayplan.confirmed': 'مؤكد',
|
|
'dayplan.pendingRes': 'قيد الانتظار',
|
|
'dayplan.pdfTooltip': 'تصدير خطة اليوم بصيغة PDF',
|
|
'dayplan.gpxTooltip': 'تصدير كملف GPX للخرائط دون اتصال وأجهزة GPS',
|
|
'dayplan.gpxAll': 'الرحلة كاملة',
|
|
'dayplan.gpxPlaces': 'الأماكن فقط',
|
|
'dayplan.gpxDays': 'الأيام كمسارات',
|
|
'dayplan.gpxEmpty': 'لا يوجد شيء للتصدير بعد',
|
|
'dayplan.gpxFailed': 'فشل تصدير GPX',
|
|
'dayplan.pdfError': 'فشل تصدير PDF',
|
|
'dayplan.expandAll': 'Expand all days', // en-fallback
|
|
'dayplan.collapseAll': 'Collapse all days', // en-fallback
|
|
'dayplan.export': 'تصدير',
|
|
'dayplan.exportIntro': 'خذ خطتك معك: كمستند أو في تقويمك أو على جهاز GPS.',
|
|
'dayplan.exportDocument': 'مستند',
|
|
'dayplan.exportCalendar': 'التقويم',
|
|
'dayplan.exportMaps': 'الخرائط وGPS',
|
|
'dayplan.pdf': 'PDF', // en-fallback
|
|
'dayplan.mobile.addPlace': 'Add Place', // en-fallback
|
|
'dayplan.mobile.searchPlaces': 'Search places...', // en-fallback
|
|
'dayplan.mobile.allAssigned': 'All places assigned', // en-fallback
|
|
'dayplan.mobile.noMatch': 'No match', // en-fallback
|
|
'dayplan.mobile.createNew': 'Create new place', // en-fallback
|
|
'dayplan.reorderDays': 'إعادة ترتيب الأيام',
|
|
'dayplan.reorderTitle': 'إعادة ترتيب الأيام',
|
|
'dayplan.reorderHint': 'تنتقل أماكن اليوم وملاحظاته وحجوزاته معه.',
|
|
'dayplan.addDay': 'إضافة يوم',
|
|
'dayplan.moveUp': 'تحريك لأعلى',
|
|
'dayplan.moveDown': 'تحريك لأسفل',
|
|
'dayplan.reorderUndo': 'إعادة ترتيب الأيام',
|
|
'dayplan.reorderError': 'تعذّر إعادة ترتيب الأيام',
|
|
'dayplan.addDayError': 'تعذّر إضافة يوم',
|
|
};
|
|
export default dayplan;
|