mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 01:28:55 +00:00
feat(mail-ingest): tell every address holder once when the import stops
A plan without the import switches it off from outside the server, and an admin can switch it off too; the plan promises a "mail import paused" note. An hourly job sends mail_ingest_paused to each holder of a live address with their own import on, notes the pause first, and forgets it once it is back.
This commit is contained in:
@@ -122,6 +122,10 @@ const ar: NotificationLocale = {
|
||||
title: 'حجوزات مُعاد توجيهها للمراجعة',
|
||||
body: `حجوزات مُعاد توجيهها بانتظارك في TREK: ${p.count}. يذكر كل منها سبب عدم إضافته تلقائيًا.`,
|
||||
}),
|
||||
mail_ingest_paused: () => ({
|
||||
title: 'تم إيقاف استيراد البريد مؤقتًا',
|
||||
body: 'لا يقبل TREK رسائل الحجز المُعاد توجيهها في الوقت الحالي، لذا انتظر قبل إعادة توجيهها. تبقى عناوينك وستعمل مجددًا عند عودة الاستيراد، وتبقى الحجوزات المضافة بالفعل في رحلاتك.',
|
||||
}),
|
||||
plugin_notification: (p) => ({ title: p.title ?? '', body: p.body ?? '' }),
|
||||
},
|
||||
passwordReset: {
|
||||
|
||||
@@ -64,6 +64,8 @@ const notif: TranslationStrings = {
|
||||
'notif.mail_booking_added.shared': 'أضاف {actor} الحجز {booking} إلى {trip} من بريد مُعاد توجيهه',
|
||||
'notif.mail_booking_pending.title': 'حجوزات مُعاد توجيهها للمراجعة',
|
||||
'notif.mail_booking_pending.text': 'حجوزات مُعاد توجيهها بانتظارك: {count}',
|
||||
'notif.mail_ingest_paused.title': 'تم إيقاف استيراد البريد مؤقتًا',
|
||||
'notif.mail_ingest_paused.text': 'لا تُقبل رسائل الحجز المُعاد توجيهها في الوقت الحالي. تبقى عناوينك وستعمل مجددًا عند عودة الاستيراد.',
|
||||
'notif.action.undo': 'تراجع',
|
||||
'notif.action.keep': 'إبقاء',
|
||||
'notif.action.review': 'مراجعة',
|
||||
|
||||
Reference in New Issue
Block a user