mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 00:20:07 +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:
@@ -107,6 +107,10 @@ const es: NotificationLocale = {
|
||||
title: 'Reservas reenviadas por revisar',
|
||||
body: `Reservas reenviadas pendientes en TREK: ${p.count}. Cada una indica por qué no se añadió sola.`,
|
||||
}),
|
||||
mail_ingest_paused: () => ({
|
||||
title: 'Importación de correos en pausa',
|
||||
body: 'Por ahora TREK no acepta correos de reserva reenviados, así que espera antes de reenviarlos. Tus direcciones se mantienen y volverán a funcionar cuando vuelva la importación, y las reservas ya añadidas siguen en tus viajes.',
|
||||
}),
|
||||
plugin_notification: (p) => ({ title: p.title ?? '', body: p.body ?? '' }),
|
||||
},
|
||||
passwordReset: {
|
||||
|
||||
@@ -60,6 +60,8 @@ const notif: TranslationStrings = {
|
||||
'notif.mail_booking_added.shared': '{actor} añadió {booking} a {trip} desde un correo reenviado',
|
||||
'notif.mail_booking_pending.title': 'Reservas reenviadas por revisar',
|
||||
'notif.mail_booking_pending.text': 'Reservas reenviadas pendientes: {count}',
|
||||
'notif.mail_ingest_paused.title': 'Importación de correos en pausa',
|
||||
'notif.mail_ingest_paused.text': 'Por ahora no se aceptan los correos de reserva reenviados. Tus direcciones se mantienen y volverán a funcionar cuando vuelva la importación.',
|
||||
'notif.action.undo': 'Deshacer',
|
||||
'notif.action.keep': 'Mantener',
|
||||
'notif.action.review': 'Revisar',
|
||||
|
||||
Reference in New Issue
Block a user