mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 08:00:06 +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 hu: NotificationLocale = {
|
||||
title: 'Ellenőrizendő továbbított foglalások',
|
||||
body: `Rád váró továbbított foglalások a TREK-ben: ${p.count}. Mindegyiknél ott áll, miért nem került be magától.`,
|
||||
}),
|
||||
mail_ingest_paused: () => ({
|
||||
title: 'E-mail-importálás szüneteltetve',
|
||||
body: 'A TREK egyelőre nem fogad továbbított foglalási e-maileket, ezért most ne továbbíts ilyet. A címeid megmaradnak, és újra működnek, amint az importálás visszatér, a már hozzáadott foglalások pedig az utazásaidban maradnak.',
|
||||
}),
|
||||
plugin_notification: (p) => ({ title: p.title ?? '', body: p.body ?? '' }),
|
||||
},
|
||||
passwordReset: {
|
||||
|
||||
@@ -60,6 +60,8 @@ const notif: TranslationStrings = {
|
||||
'notif.mail_booking_added.shared': '{actor} hozzáadta: {booking}, ehhez: {trip}, egy továbbított levélből',
|
||||
'notif.mail_booking_pending.title': 'Ellenőrizendő továbbított foglalások',
|
||||
'notif.mail_booking_pending.text': 'Rád váró továbbított foglalások: {count}',
|
||||
'notif.mail_ingest_paused.title': 'E-mail-importálás szüneteltetve',
|
||||
'notif.mail_ingest_paused.text': 'A továbbított foglalási e-maileket egyelőre nem fogadjuk. A címeid megmaradnak, és újra működnek, amint az importálás visszatér.',
|
||||
'notif.action.undo': 'Visszavonás',
|
||||
'notif.action.keep': 'Megtartás',
|
||||
'notif.action.review': 'Ellenőrzés',
|
||||
|
||||
Reference in New Issue
Block a user