mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 09:38:54 +00:00
a7adef5353
- Admin settings (desktop and phone, self-hosted only): the instance switch,
how mail arrives (IMAP or a signed webhook) with its fields, the address
template, the AI allowance per person and day, a connection test and the
status in counts. Changed fields only are saved; secrets stay masked.
- The review mark of an imported booking takes its mark off: the pill in the
desktop dialog and a row in the phone's transport sheet ('Looks right'),
through the ordinary booking update. Its hint no longer speaks of airports.
- The inbox follows mailInbox:changed and mailInbox:settings, and
?inbox=mail (the 'bookings waiting' notification) opens it.
- mailIngestRepo: the online-only path the views take, answers parsed
against the shared contracts.
- Dropped 'read with AI' and the unused mail-review contract: the server
reads a passing AI failure again on its own.
- mailInbox, mailAdmin and the new reservation, settings and notification
strings in all 28 locales; the pending notice is a plural group.
- The live flight line on the booking cards is one of the card's fields,
full width on the phone; the phone's live card keeps its map to the middle.
- Admin flight and mail cards sit in the left column.
86 lines
6.0 KiB
TypeScript
86 lines
6.0 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.mail_booking_added.title': 'تمت إضافة حجز من بريد',
|
|
'notif.mail_booking_added.text': 'تمت إضافة {booking} إلى {trip}',
|
|
'notif.mail_booking_added.shared': 'أضاف {actor} الحجز {booking} إلى {trip} من بريد مُعاد توجيهه',
|
|
'notif.mail_booking_pending.title': 'حجوزات مُعاد توجيهها للمراجعة',
|
|
'notif.mail_booking_pending.text': '{count} حجز مُعاد توجيهه بانتظارك',
|
|
'notif.mail_booking_pending.text.zero': '{count} حجز مُعاد توجيهه بانتظارك',
|
|
'notif.mail_booking_pending.text.one': '{count} حجز مُعاد توجيهه بانتظارك',
|
|
'notif.mail_booking_pending.text.two': '{count} حجزان مُعاد توجيههما بانتظارك',
|
|
'notif.mail_booking_pending.text.few': '{count} حجوزات مُعاد توجيهها بانتظارك',
|
|
'notif.mail_booking_pending.text.many': '{count} حجزاً مُعاد توجيهه بانتظارك',
|
|
'notif.mail_ingest_paused.title': 'تم إيقاف استيراد البريد مؤقتًا',
|
|
'notif.mail_ingest_paused.text':
|
|
'لا تُقبل رسائل الحجز المُعاد توجيهها في الوقت الحالي. تبقى عناوينك وستعمل مجددًا عند عودة الاستيراد.',
|
|
'notif.action.undo': 'تراجع',
|
|
'notif.action.keep': 'إبقاء',
|
|
'notif.action.review': 'مراجعة',
|
|
'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;
|