mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 02:34:21 +00:00
154563f34d
A new flight-live domain polls the open feeds adsb.lol and adsb.fi (no key, no cost; adsb.fi only on self-hosted installs, its terms are non-commercial) for every booked flight leg in its watch window, derives phase, take-off, landing, delay and an arrival estimate, and pushes changes as flight:live. GET /api/trips/:tripId/flights/live, the MCP tool get_trip_flight_status, notifications for take-off, landing and delays, and the admin switch flight_live_enabled (FLIGHT_LIVE_ENABLED wins) come with it.
70 lines
4.6 KiB
TypeScript
70 lines
4.6 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const notif: TranslationStrings = {
|
|
'notif.test.title': '[اختبار] إشعار',
|
|
'notif.test.simple.text': 'هذا إشعار اختبار بسيط.',
|
|
'notif.test.boolean.text': 'هل تقبل هذا الإشعار الاختباري؟',
|
|
'notif.test.navigate.text': 'انقر أدناه للانتقال إلى لوحة التحكم.',
|
|
'notif.trip_invite.title': 'دعوة للرحلة',
|
|
'notif.trip_invite.text': '{actor} دعاك إلى {trip}',
|
|
'notif.booking_change.title': 'تم تحديث الحجز',
|
|
'notif.booking_change.text': '{actor} حدّث حجزاً في {trip}',
|
|
'notif.flight_departed.title': 'أقلعت الرحلة',
|
|
'notif.flight_departed.text': 'الرحلة {flight} من {from} إلى {to} في الجو',
|
|
'notif.flight_delayed.title': 'الرحلة متأخرة',
|
|
'notif.flight_delayed.text': 'الرحلة {flight} من {from} إلى {to} متأخرة نحو {delay} دقيقة',
|
|
'notif.flight_landed.title': 'هبطت الرحلة',
|
|
'notif.flight_landed.text': 'هبطت الرحلة {flight} القادمة من {from} في {to}',
|
|
'notif.trip_reminder.title': 'تذكير بالرحلة',
|
|
'notif.trip_reminder.text': 'رحلتك {trip} تقترب!',
|
|
'notif.todo_due.title': 'مهمة مستحقة',
|
|
'notif.todo_due.text': '{todo} في {trip} مستحقة في {due}',
|
|
'notif.vacay_invite.title': 'دعوة دمج الإجازة',
|
|
'notif.vacay_invite.text': '{actor} يدعوك لدمج خطط الإجازة',
|
|
'notif.vacay_share.title': 'تمت مشاركة تقويم Vacay',
|
|
'notif.vacay_share.text': '{actor} شارك تقويم إجازاته معك',
|
|
'notif.collection_invite.title': 'دعوة إلى مجموعة',
|
|
'notif.collection_invite.text': '{actor} يدعوك لمشاركة مجموعة',
|
|
'notif.photos_shared.title': 'تمت مشاركة الصور',
|
|
'notif.photos_shared.text': '{actor} شارك {count} صورة في {trip}',
|
|
'notif.photos_shared.text.zero': '{actor} لم يشارك أي صورة في {trip}',
|
|
'notif.photos_shared.text.one': '{actor} شارك صورة واحدة في {trip}',
|
|
'notif.photos_shared.text.two': '{actor} شارك صورتين في {trip}',
|
|
'notif.photos_shared.text.few': '{actor} شارك {count} صور في {trip}',
|
|
'notif.photos_shared.text.many': '{actor} شارك {count} صورة في {trip}',
|
|
'notif.collab_message.title': 'رسالة جديدة',
|
|
'notif.collab_message.text': '{actor} أرسل رسالة في {trip}',
|
|
'notif.packing_tagged.title': 'مهمة التعبئة',
|
|
'notif.packing_tagged.text': '{actor} عيّنك في {category} في {trip}',
|
|
'notif.version_available.title': 'إصدار جديد متاح',
|
|
'notif.version_available.text': 'TREK {version} متاح الآن',
|
|
'notif.replica_failure.title': 'فشل النسخة المتماثلة للتخزين',
|
|
'notif.replica_failure.text': "فشلت الكتابة على النسخة المتماثلة '{backend}': {op} لـ {key} — {error}",
|
|
'notif.replica_failure.textSuppressed':
|
|
"فشلت الكتابة على النسخة المتماثلة '{backend}': {op} لـ {key} — {error}. تم تجاهل {suppressed} فشل إضافي منذ آخر إشعار.",
|
|
'notif.paddle_region_requested.title': 'طلب منطقة تجديف',
|
|
'notif.paddle_region_requested.text': '{actor} يخطط لرحلة تجديف في {region}',
|
|
'notif.action.view_trip': 'عرض الرحلة',
|
|
'notif.action.view_collab': 'عرض الرسائل',
|
|
'notif.action.view_packing': 'عرض التعبئة',
|
|
'notif.action.view_photos': 'عرض الصور',
|
|
'notif.action.view_vacay': 'عرض Vacay',
|
|
'notif.action.view_collection': 'عرض المجموعة',
|
|
'notif.action.view_admin': 'الذهاب للإدارة',
|
|
'notif.wanderer_source_hint.title': 'درب wanderer',
|
|
'notif.wanderer_source_hint.possible_change': 'ربما تغيّر «{tour}» في {trip} على wanderer',
|
|
'notif.wanderer_source_hint.changed': 'تغيّر «{tour}» في {trip} على wanderer',
|
|
'notif.wanderer_source_hint.unverifiable': 'لم يعد بالإمكان التحقق من «{tour}» في {trip} على wanderer',
|
|
'notif.action.view_tour': 'عرض الجولة',
|
|
'notif.action.view': 'عرض',
|
|
'notif.action.accept': 'قبول',
|
|
'notif.action.decline': 'رفض',
|
|
'notif.plugin.title': '{title}',
|
|
'notif.plugin.text': '{body}',
|
|
'notif.generic.title': 'إشعار',
|
|
'notif.generic.text': 'لديك إشعار جديد',
|
|
'notif.dev.unknown_event.title': '[DEV] حدث غير معروف',
|
|
'notif.dev.unknown_event.text': 'نوع الحدث "{event}" غير مسجل في EVENT_NOTIFICATION_CONFIG',
|
|
};
|
|
export default notif;
|